├── LICENSE ├── README.md ├── android ├── .gitignore ├── app │ ├── Readme.txt │ ├── build.gradle │ ├── libs │ │ ├── lib.5plus.base-release.aar │ │ ├── uniapp-release.aar │ │ └── uniplugin_richalert.aar │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ ├── apps │ │ │ └── __UNI__54FA04A │ │ │ │ └── www │ │ │ │ ├── __uniappchooselocation.html │ │ │ │ ├── __uniappcoverview.html │ │ │ │ ├── __uniappmap.html │ │ │ │ ├── __uniappmarker@3x.png │ │ │ │ ├── __uniappopenlocation.html │ │ │ │ ├── __uniappscan.html │ │ │ │ ├── __uniappservice.html │ │ │ │ ├── __uniappsuccess.png │ │ │ │ ├── __uniappview.html │ │ │ │ ├── app-service.js │ │ │ │ ├── app-view.js │ │ │ │ ├── manifest.json │ │ │ │ └── pages │ │ │ │ ├── index │ │ │ │ └── index.js │ │ │ │ └── vue │ │ │ │ └── index2.js │ │ ├── data │ │ │ ├── dcloud1.dat │ │ │ ├── dcloud2.dat │ │ │ ├── dcloud_control.xml │ │ │ ├── dcloud_error.html │ │ │ └── dcloud_properties.xml │ │ └── dcloud_uniplugins.json │ │ └── res │ │ ├── drawable-xxhdpi │ │ ├── icon.png │ │ ├── push.png │ │ └── splash.png │ │ └── values │ │ └── strings.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle └── ios └── HBuilder-UniPluginPackage ├── DCloud-RichAlert ├── android │ └── uniplugin_richalert.aar ├── ios │ └── libUniPluginRichAlert.a └── package.json ├── HBuilder-Integrate.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ ├── chen4Ndf.xcuserdatad │ │ └── UserInterfaceState.xcuserstate │ │ └── xhy.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ ├── chen4Ndf.xcuserdatad │ ├── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ │ ├── HBuilder.xcscheme │ │ └── xcschememanagement.plist │ └── xhy.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist └── HBuilder-Integrate ├── AppDelegate.h ├── AppDelegate.m ├── Base.lproj ├── Main_iPad.storyboard └── Main_iPhone.storyboard ├── HBuilder-Integrate-Info.plist ├── HBuilder-Integrate-Prefix.pch ├── Pandora └── apps │ └── __UNI__54FA04A │ └── www │ ├── __uniappchooselocation.html │ ├── __uniappcoverview.html │ ├── __uniappmap.html │ ├── __uniappmarker@3x.png │ ├── __uniappopenlocation.html │ ├── __uniappscan.html │ ├── __uniappservice.html │ ├── __uniappsuccess.png │ ├── __uniappview.html │ ├── app-service.js │ ├── app-view.js │ ├── manifest.json │ └── pages │ ├── index │ └── index.js │ └── vue │ └── index2.js ├── ViewController.h ├── ViewController.m ├── WebAppController.h ├── WebAppController.m ├── WebViewController.h ├── WebViewController.m ├── control.xml ├── en.lproj └── InfoPlist.strings ├── icon ├── icon100.png ├── icon114.png ├── icon120.png ├── icon144.png ├── icon152.png ├── icon180.png ├── icon29.png ├── icon40.png ├── icon50.png ├── icon57.png ├── icon58.png ├── icon72.png ├── icon76.png ├── icon80.png └── icon87.png ├── main.m └── splash ├── Default-568h@2x.png ├── Default-667h@2x.png ├── Default-736h@3x.png ├── Default-812h@3x.png ├── Default-896h@2x.png ├── Default-896h@3x.png ├── Default-Landscape-1112h@2x~ipad.png ├── Default-Landscape-1194h@2x~ipad.png ├── Default-Landscape-1366h@2x~ipad.png ├── Default-Landscape-568h@2x.png ├── Default-Landscape-667h@2x.png ├── Default-Landscape-736h@3x.png ├── Default-Landscape-812h@3x.png ├── Default-Landscape-896h@2x.png ├── Default-Landscape-896h@3x.png ├── Default-Landscape7@2x~ipad.png ├── Default-Landscape7~ipad.png ├── Default-Landscape@2x~ipad.png ├── Default-Landscape~ipad.png ├── Default-Portrait7-1112h@2x~ipad.png ├── Default-Portrait7-1194h@2x~ipad.png ├── Default-Portrait7-1366h@2x~ipad.png ├── Default-Portrait7@2x~ipad.png ├── Default-Portrait7~ipad.png ├── Default-Portrait@2x~ipad.png ├── Default-Portrait~ipad.png ├── Default.png └── Default@2x.png /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 DCloud 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UniPluginPackage 2 | uni原生插件离线打包示例 3 | 4 | ## iOS运行方式 5 | 6 | 将项目 clone 到本地,将iOS目录中的 `HBuilder-UniPluginPackage` 工程拷贝到 iOS 5+ 离线SDK 的根目录中即可运行; 7 | 8 | ## License 9 | 10 | [MIT](https://opensource.org/licenses/MIT) 11 | 12 | Copyright (c) 2019 DCloud -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches/build_file_checksums.ser 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | .DS_Store 9 | /build 10 | /captures 11 | .externalNativeBuild 12 | -------------------------------------------------------------------------------- /android/app/Readme.txt: -------------------------------------------------------------------------------- 1 | 该module是引用lib.5plus.base-release.aar+第三方开放平台jar的方式集成5+离线SDK的示例demo 2 | lib.5plus.base-release.aar包含了5+SDK的基础模块, 3 | 4 | 一: 5 | 6 | 若需要支持广告业务,须配置示例demo的入口activity为io.dcloud.PandoraEntry.java。 7 | 另外开发者须在AndroidManifest.xml中自行配置DCLOUD_STREAMAPP_CHANNEL该字段对应value值, 8 | 替换appid和adid为自己应用的appid和广告联盟会员id,5+APP的应用资源manifest.json中添加 9 | 10 | ads广告配置信息 11 | 12 | "plus": { 13 | "ads": { 14 | "push":"true|false", // push推送广告 15 | "splash":"true|false", // 开屏广告 16 | "rp":"true|false", // 悬浮红包广告 17 | "spot":"true|false", // 插屏广告 18 | } 19 | // ... 20 | } 21 | adid广告联盟会员id 22 | "plus": { 23 | "adid": "广告联盟会员id " // 开发者向后台申请后填写 24 | // ... 25 | } 26 | 27 | 参考http://ask.dcloud.net.cn/article/13141文档配置 28 | 29 | 30 | 31 | 二: 32 | 33 | SDK_WebApp为以WebApp方式集成5+ sdk的示例,参考http://ask.dcloud.net.cn/article/81文档配置 34 | SDK_WebView为以webview控件方式集成5+ sdk的示例,参考http://ask.dcloud.net.cn/article/80文档配置 35 | 这两种方式不支持广告业务。 -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 28 5 | buildToolsVersion '28.0.3' 6 | defaultConfig { 7 | applicationId "com.HBuilder.integrate" 8 | minSdkVersion 16 9 | targetSdkVersion 28 //建议此属性值设为21 io.dcloud.PandoraEntry 作为apk入口时 必须设置 targetSDKVersion>=21 沉浸式才生效 10 | 11 | versionCode 1 12 | versionName "1.0" 13 | multiDexEnabled true 14 | ndk { 15 | abiFilters 'x86','armeabi' //使用uniapp时必须同时选择二者或选其一 16 | } 17 | } 18 | buildTypes { 19 | release { 20 | minifyEnabled false 21 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 22 | } 23 | } 24 | //使用uniapp时,需复制下面代码 25 | /*代码开始*/ 26 | aaptOptions { 27 | additionalParameters '--auto-add-overlay' 28 | //noCompress 'foo', 'bar' 29 | ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~" 30 | } 31 | /*代码结束*/ 32 | } 33 | repositories { 34 | flatDir { 35 | dirs 'libs' 36 | } 37 | } 38 | dependencies { 39 | implementation fileTree(dir: 'libs', include: ['*.jar']) 40 | implementation fileTree(dir: 'libs', include: ['*.aar']) 41 | 42 | implementation "com.android.support:recyclerview-v7:28.0.0" 43 | implementation "com.android.support:support-v4:28.0.0" 44 | implementation "com.android.support:appcompat-v7:28.0.0" 45 | 46 | implementation 'com.alibaba.android:bindingx-core:1.0.3' 47 | implementation 'com.alibaba.android:bindingx_weex_plugin:1.0.3' 48 | implementation 'com.squareup.okhttp:okhttp:2.3.0' 49 | implementation 'com.squareup.okhttp:okhttp-ws:2.3.0' 50 | // 基座需要,必须添加 51 | implementation 'com.github.bumptech.glide:glide:4.9.0' 52 | } 53 | -------------------------------------------------------------------------------- /android/app/libs/lib.5plus.base-release.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/libs/lib.5plus.base-release.aar -------------------------------------------------------------------------------- /android/app/libs/uniapp-release.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/libs/uniapp-release.aar -------------------------------------------------------------------------------- /android/app/libs/uniplugin_richalert.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/libs/uniplugin_richalert.aar -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | -optimizationpasses 5 2 | -dontusemixedcaseclassnames 3 | -dontskipnonpubliclibraryclasses 4 | -dontpreverify 5 | -verbose 6 | 7 | #-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* 8 | -dontoptimize 9 | 10 | -keep public class * extends android.app.Activity 11 | -keep public class * extends android.app.Application 12 | -keep public class * extends android.app.Service 13 | -keep public class * extends android.content.BroadcastReceiver 14 | -keep public class * extends android.content.ContentProvider 15 | -keep public class * extends android.app.backup.BackupAgentHelper 16 | -keep public class * extends android.preference.Preference 17 | -keep public class * extends io.dcloud.common.DHInterface.IPlugin 18 | -keep public class * extends io.dcloud.common.DHInterface.IFeature 19 | -keep public class * extends io.dcloud.common.DHInterface.IBoot 20 | -keep public class * extends io.dcloud.common.DHInterface.IReflectAble 21 | 22 | -keep class io.dcloud.feature.speech.** {*;} 23 | -keep class io.dcloud.net.** {*;} 24 | -keep class io.dcloud.common.constant.** {*;} 25 | -keep class io.dcloud.common.sonic.** {*;} 26 | -keep class io.dcloud.common.DHInterface.** {*;} 27 | -keep class io.dcloud.common.util.** {*;} 28 | -keep class io.dcloud.common.adapter.** {*;} 29 | -keep class io.dcloud.feature.internal.reflect.** {*;} 30 | -keep class io.dcloud.feature.internal.sdk.** {*;} 31 | -keep class io.dcloud.feature.payment.** {*;} 32 | -keep class io.dcloud.sdk.** {*;} 33 | -keep class com.** {*;} 34 | -keep class io.dcloud.nineoldandroids.** {*;} 35 | -keep class vi.com.gdi.** {*;} 36 | -keep class android.support.v4.** {*;} 37 | -dontwarn pl.droidsonroids.gif.** 38 | 39 | -keepclasseswithmembers class * extends io.dcloud.js.geolocation.GeoManagerBase { 40 | ; 41 | } 42 | 43 | -keep class io.dcloud.share.AbsWebviewClient 44 | -keepclasseswithmembers class io.dcloud.share.AbsWebviewClient { 45 | ; 46 | } 47 | 48 | -keep class io.dcloud.share.ShareAuthorizeView 49 | -keepclasseswithmembers class io.dcloud.share.ShareAuthorizeView { 50 | ; 51 | } 52 | -keep class io.dcloud.share.IFShareApi 53 | -keep public class * extends io.dcloud.share.IFShareApi 54 | -keepclasseswithmembers class io.dcloud.share.IFShareApi { 55 | ; 56 | } 57 | 58 | 59 | 60 | 61 | -keepattributes Exceptions,InnerClasses,Signature,Deprecated, SourceFile,LineNumberTable,*Annotation*,EnclosingMethod 62 | -keep class io.dcloud.appstream.StreamAppManager 63 | -keepclasseswithmembers class io.dcloud.appstream.StreamAppManager { 64 | public protected ; 65 | } 66 | 67 | -keep class io.dcloud.common.DHInterface.IReflectAble 68 | -keep public class * extends io.dcloud.common.DHInterface.IReflectAble{ 69 | public protected ; 70 | public protected *; 71 | } 72 | -keep class **.R 73 | -keep class **.R$* { 74 | public static ; 75 | } 76 | -keep public class * extends io.dcloud.common.DHInterface.IJsInterface{ 77 | public protected ; 78 | public protected *; 79 | } 80 | 81 | -keepclasseswithmembers class io.dcloud.EntryProxy { 82 | ; 83 | } 84 | 85 | -keep class * implements android.os.IInterface { 86 | ; 87 | } 88 | 89 | -keepclasseswithmembers class *{ 90 | public static java.lang.String getJsContent(); 91 | } 92 | -keepclasseswithmembers class io.dcloud.appstream.StreamAppScriptEntry { 93 | ; 94 | } 95 | -keepclasseswithmembers class *{ 96 | public static void onReceiver1(android.content.Intent, android.content.Context); 97 | } 98 | 99 | -keepclasseswithmembers class *{ 100 | public static io.dcloud.share.AbsWebviewClient getWebviewClient(io.dcloud.share.ShareAuthorizeView); 101 | } 102 | -keepclasseswithmembers class *{ 103 | public java.lang.String exec(java.lang.String,java.lang.String,java.lang.String[]); 104 | } 105 | -keepattributes Exceptions,InnerClasses,Signature,Deprecated, SourceFile,LineNumberTable,*Annotation*,EnclosingMethod 106 | 107 | -keepclasseswithmembers class * { 108 | public (android.content.Context, android.util.AttributeSet); 109 | } 110 | 111 | -keepclasseswithmembers class * { 112 | public (android.content.Context, android.util.AttributeSet, int); 113 | } 114 | 115 | -keep public class * extends android.app.Application{ 116 | public static ; 117 | public *; 118 | } 119 | 120 | -keepclassmembers class * extends android.app.Activity { 121 | public void *(android.view.View); 122 | public static ; 123 | } 124 | 125 | -keepclassmembers enum * { 126 | public static **[] values(); 127 | public static ** valueOf(java.lang.String); 128 | } 129 | 130 | -keep class * implements android.os.Parcelable { 131 | public static final android.os.Parcelable$Creator *; 132 | } 133 | 134 | -keepattributes Signature 135 | -keep class io.dcloud.encryption.K {*;} 136 | -dontwarn com.igexin.** 137 | -keep class org.json.** { *; } 138 | -dontwarn com.amap.** 139 | -dontwarn org.apache.commons.** 140 | -dontwarn com.sina.weibo.sdk.** -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 32 | 33 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappchooselocation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 258 | 259 | 260 | 261 |
262 | 270 |
271 |
272 |
273 |
    274 | 275 |
276 |
277 |
278 |

对不起,没有搜索到相关数据!

279 |
280 |
281 |

亲,没有更多了~

282 |
283 |
284 |
285 |
286 |
287 | 288 |
289 |
290 |
    291 | 292 |
293 |
294 |

对不起,没有搜索到相关数据!

295 |
296 |
297 |
298 | 667 | 668 | 669 | 670 | -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappcoverview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 31 | 32 | 33 | 34 |
35 | 36 |
37 | 38 | 281 | 282 | 283 | 284 | -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappmap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 38 | 39 | 40 | 41 |
42 | 43 | 44 |
45 |
46 | 241 | 242 | 243 | 244 | -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappmarker@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappmarker@3x.png -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappopenlocation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 94 | 95 | 96 | 97 |
98 |
99 |
100 |
101 | 102 | 103 |
104 | 105 | 106 |
107 |
108 |
109 |
110 | 218 | 219 | 220 | 221 | -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappscan.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 扫码 8 | 22 | 23 | 24 | 25 |
26 |
27 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappservice.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | Service 11 | 17 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappsuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappsuccess.png -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/__uniappview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | View 11 | 22 | 26 | 36 | 37 | 38 | 39 | 40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/manifest.json: -------------------------------------------------------------------------------- 1 | {"@platforms":["android","iPhone","iPad"],"id":"__UNI__54FA04A","name":"were","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappservice.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app appservice","concatenate":true},"splashscreen":{"autoclose":false,"waiting":true},"popGesture":"close","statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"allowsInlineMediaPlayback":true}} -------------------------------------------------------------------------------- /android/app/src/main/assets/apps/__UNI__54FA04A/www/pages/vue/index2.js: -------------------------------------------------------------------------------- 1 | 2 | !(function(){ 3 | var uniAppViewReadyCallback = function(){ 4 | setCssToHead([".",[1],"_button{margin-top:",[0,30],";margin-bottom:",[0,30],"}\n.",[1],"button-sp-area{margin:0 auto;width:60%}\n.",[1],"content{text-align:center;height:",[0,400],"}\n.",[1],"wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}\n.",[1],"button{width:200px;margin-top:30px;margin-left:20px;padding-top:20px;padding-bottom:20px;border:2px solid #458b00;background-color:#458b00}\n.",[1],"text{font-size:30px;color:#666;text-align:center}\n",])(); 5 | document.dispatchEvent(new CustomEvent("generateFuncReady", { detail: { generateFunc: $gwx('./pages/vue/index2.wxml') } })); 6 | } 7 | if(window.__uniAppViewReady__){ 8 | uniAppViewReadyCallback() 9 | }else{ 10 | document.addEventListener('uniAppViewReady',uniAppViewReadyCallback) 11 | } 12 | })(); 13 | -------------------------------------------------------------------------------- /android/app/src/main/assets/data/dcloud1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/src/main/assets/data/dcloud1.dat -------------------------------------------------------------------------------- /android/app/src/main/assets/data/dcloud2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/src/main/assets/data/dcloud2.dat -------------------------------------------------------------------------------- /android/app/src/main/assets/data/dcloud_control.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /android/app/src/main/assets/data/dcloud_error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Error 9 | 44 | 76 | 77 | 78 |
79 | 80 | 81 | 82 | 83 | 84 | 85 |

We're sorry ...

86 |

87 | 88 |
Back
89 |
Close
90 |
Restart
91 | 92 | -------------------------------------------------------------------------------- /android/app/src/main/assets/data/dcloud_properties.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /android/app/src/main/assets/dcloud_uniplugins.json: -------------------------------------------------------------------------------- 1 | { 2 | "nativePlugins": [ 3 | { 4 | "hooksClass": "", 5 | "plugins": [ 6 | { 7 | "type": "module", 8 | "name": "DCloud-RichAlert", 9 | "class": "uni.dcloud.io.uniplugin_richalert.RichAlertWXModule" 10 | } 11 | ] 12 | } 13 | ] 14 | } -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/src/main/res/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/push.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/src/main/res/drawable-xxhdpi/push.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/app/src/main/res/drawable-xxhdpi/splash.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | HBuilder-Integrate-AS 3 | 4 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | 5 | repositories { 6 | google() 7 | jcenter() 8 | } 9 | dependencies { 10 | classpath 'com.android.tools.build:gradle:3.3.2' 11 | 12 | 13 | // NOTE: Do not place your application dependencies here; they belong 14 | // in the individual module build.gradle files 15 | } 16 | } 17 | 18 | allprojects { 19 | repositories { 20 | google() 21 | jcenter() 22 | } 23 | } 24 | 25 | task clean(type: Delete) { 26 | delete rootProject.buildDir 27 | } 28 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | 15 | 16 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 03 18:28:19 GMT+08:00 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip 7 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Attempt to set APP_HOME 10 | # Resolve links: $0 may be a link 11 | PRG="$0" 12 | # Need this for relative symlinks. 13 | while [ -h "$PRG" ] ; do 14 | ls=`ls -ld "$PRG"` 15 | link=`expr "$ls" : '.*-> \(.*\)$'` 16 | if expr "$link" : '/.*' > /dev/null; then 17 | PRG="$link" 18 | else 19 | PRG=`dirname "$PRG"`"/$link" 20 | fi 21 | done 22 | SAVED="`pwd`" 23 | cd "`dirname \"$PRG\"`/" >/dev/null 24 | APP_HOME="`pwd -P`" 25 | cd "$SAVED" >/dev/null 26 | 27 | APP_NAME="Gradle" 28 | APP_BASE_NAME=`basename "$0"` 29 | 30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 31 | DEFAULT_JVM_OPTS="" 32 | 33 | # Use the maximum available, or set MAX_FD != -1 to use that value. 34 | MAX_FD="maximum" 35 | 36 | warn () { 37 | echo "$*" 38 | } 39 | 40 | die () { 41 | echo 42 | echo "$*" 43 | echo 44 | exit 1 45 | } 46 | 47 | # OS specific support (must be 'true' or 'false'). 48 | cygwin=false 49 | msys=false 50 | darwin=false 51 | nonstop=false 52 | case "`uname`" in 53 | CYGWIN* ) 54 | cygwin=true 55 | ;; 56 | Darwin* ) 57 | darwin=true 58 | ;; 59 | MINGW* ) 60 | msys=true 61 | ;; 62 | NONSTOP* ) 63 | nonstop=true 64 | ;; 65 | esac 66 | 67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 68 | 69 | # Determine the Java command to use to start the JVM. 70 | if [ -n "$JAVA_HOME" ] ; then 71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 72 | # IBM's JDK on AIX uses strange locations for the executables 73 | JAVACMD="$JAVA_HOME/jre/sh/java" 74 | else 75 | JAVACMD="$JAVA_HOME/bin/java" 76 | fi 77 | if [ ! -x "$JAVACMD" ] ; then 78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 79 | 80 | Please set the JAVA_HOME variable in your environment to match the 81 | location of your Java installation." 82 | fi 83 | else 84 | JAVACMD="java" 85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 86 | 87 | Please set the JAVA_HOME variable in your environment to match the 88 | location of your Java installation." 89 | fi 90 | 91 | # Increase the maximum file descriptors if we can. 92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 93 | MAX_FD_LIMIT=`ulimit -H -n` 94 | if [ $? -eq 0 ] ; then 95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 96 | MAX_FD="$MAX_FD_LIMIT" 97 | fi 98 | ulimit -n $MAX_FD 99 | if [ $? -ne 0 ] ; then 100 | warn "Could not set maximum file descriptor limit: $MAX_FD" 101 | fi 102 | else 103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 104 | fi 105 | fi 106 | 107 | # For Darwin, add options to specify how the application appears in the dock 108 | if $darwin; then 109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 110 | fi 111 | 112 | # For Cygwin, switch paths to Windows format before running java 113 | if $cygwin ; then 114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 116 | JAVACMD=`cygpath --unix "$JAVACMD"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Escape application args 158 | save () { 159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 160 | echo " " 161 | } 162 | APP_ARGS=$(save "$@") 163 | 164 | # Collect all arguments for the java command, following the shell quoting and substitution rules 165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 166 | 167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 169 | cd "$(dirname "$0")" 170 | fi 171 | 172 | exec "$JAVACMD" "$@" 173 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/DCloud-RichAlert/android/uniplugin_richalert.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/DCloud-RichAlert/android/uniplugin_richalert.aar -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/DCloud-RichAlert/ios/libUniPluginRichAlert.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/DCloud-RichAlert/ios/libUniPluginRichAlert.a -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/DCloud-RichAlert/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "RichAlert", 3 | "id": "DCloud-RichAlert", 4 | "version": "0.1.3", 5 | "description": "示例插件", 6 | "_dp_type":"nativeplugin", 7 | "_dp_nativeplugin":{ 8 | "ios": { 9 | "plugins": [ 10 | { 11 | "type": "module", 12 | "name": "DCloud-RichAlert", 13 | "class": "DCRichAlertModule" 14 | } 15 | ], 16 | "integrateType": "library", 17 | "deploymentTarget": "8.0" 18 | }, 19 | "android": { 20 | "plugins": [ 21 | { 22 | "type": "module", 23 | "name": "DCloud-RichAlert", 24 | "class": "uni.dcloud.io.uniplugin_richalert.RichAlertWXModule" 25 | } 26 | ], 27 | "integrateType": "aar", 28 | "minSdkVersion" : 16 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/project.xcworkspace/xcuserdata/chen4Ndf.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/project.xcworkspace/xcuserdata/chen4Ndf.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/project.xcworkspace/xcuserdata/xhy.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/project.xcworkspace/xcuserdata/xhy.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/xcuserdata/chen4Ndf.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 14 | 15 | 16 | 18 | 30 | 31 | 32 | 34 | 46 | 47 | 48 | 50 | 62 | 63 | 64 | 66 | 78 | 79 | 80 | 82 | 94 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/xcuserdata/chen4Ndf.xcuserdatad/xcschemes/HBuilder.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/xcuserdata/chen4Ndf.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | HBuilder.xcscheme 8 | 9 | orderHint 10 | 1 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 8EED6297198A1D13000A4449 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate.xcodeproj/xcuserdata/xhy.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | HBuilder.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // Pandora 4 | // 5 | // Created by Mac Pro_C on 12-12-26. 6 | // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | @property (strong, nonatomic) UIWindow *window; 13 | @end 14 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // Pandora 4 | // 5 | // Created by Mac Pro_C on 12-12-26. 6 | // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | #import "PDRCore.h" 11 | #import "PDRCommonString.h" 12 | 13 | @implementation AppDelegate 14 | 15 | @synthesize window = _window; 16 | 17 | #pragma mark - 18 | #pragma mark app lifecycle 19 | /* 20 | * @Summary:程序启动时收到push消息 21 | */ 22 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 23 | { 24 | UINavigationController* pNavCon = [[UINavigationController alloc] 25 | initWithRootViewController:_window.rootViewController]; 26 | _window.rootViewController = pNavCon; 27 | 28 | [pNavCon release]; 29 | [self UniCoreEventWithApplication:application withMethod:@"application:didFinishLaunchingWithOptions:" :launchOptions :nil]; 30 | // 设置当前SDK运行模式 31 | // 使用WebApp集成是使用的启动参数 32 | return [PDRCore initEngineWihtOptions:launchOptions withRunMode:PDRCoreRunModeAppClient]; 33 | 34 | // 使用WebView集成时使用的启动参数 35 | return [PDRCore initEngineWihtOptions:launchOptions withRunMode:PDRCoreRunModeWebviewClient]; 36 | } 37 | 38 | // IOS 9 以下这句会报错,请升级xcode到最新或者删除此代码 39 | - (void)application:(UIApplication *)application performActionForShortcutItem:(UIApplicationShortcutItem *)shortcutItem 40 | completionHandler:(void(^)(BOOL succeeded))completionHandler{ 41 | [PDRCore handleSysEvent:PDRCoreSysEventPeekQuickAction withObject:shortcutItem]; 42 | completionHandler(true); 43 | } 44 | 45 | - (void)applicationDidBecomeActive:(UIApplication *)application 46 | { 47 | [PDRCore handleSysEvent:PDRCoreSysEventBecomeActive withObject:nil]; 48 | } 49 | 50 | - (void)applicationWillResignActive:(UIApplication *)application 51 | { 52 | [PDRCore handleSysEvent:PDRCoreSysEventResignActive withObject:nil]; 53 | } 54 | 55 | - (void)applicationDidEnterBackground:(UIApplication *)application 56 | { 57 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventEnterBackground withObject:nil]; 58 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 59 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 60 | } 61 | 62 | - (void)applicationWillEnterForeground:(UIApplication *)application 63 | { 64 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventEnterForeGround withObject:nil]; 65 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 66 | } 67 | 68 | 69 | - (void)applicationWillTerminate:(UIApplication *)application 70 | { 71 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 72 | [[PDRCore Instance] unLoad]; 73 | } 74 | 75 | #pragma mark - 76 | #pragma mark URL 77 | 78 | - (BOOL)application:(UIApplication *)application 79 | openURL:(NSURL *)url 80 | sourceApplication:(NSString *)sourceApplication 81 | annotation:(id)annotation { 82 | [self application:application handleOpenURL:url]; 83 | return YES; 84 | } 85 | 86 | /* 87 | * @Summary:程序被第三方调用,传入参数启动 88 | * 89 | */ 90 | - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url 91 | { 92 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventOpenURL withObject:url]; 93 | [self UniCoreEventWithApplication:application withMethod:@"application:handleOpenURL:" :url :nil]; 94 | return YES; 95 | } 96 | 97 | 98 | #pragma mark - 99 | #pragma mark APNS 100 | /* 101 | * @Summary:远程push注册成功收到DeviceToken回调 102 | * 103 | */ 104 | - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken 105 | { 106 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventRevDeviceToken withObject:deviceToken]; 107 | [self UniCoreEventWithApplication:application withMethod:@"application:didRegisterForRemoteNotificationsWithDeviceToken:" :deviceToken :nil]; 108 | } 109 | 110 | /* 111 | * @Summary: 远程push注册失败 112 | */ 113 | - (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error 114 | { 115 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventRegRemoteNotificationsError withObject:error]; 116 | [self UniCoreEventWithApplication:application withMethod:@"application:didFailToRegisterForRemoteNotificationsWithError:" :error :nil]; 117 | } 118 | 119 | - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo { 120 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventRevRemoteNotification withObject:userInfo]; 121 | [self UniCoreEventWithApplication:application withMethod:@"application:didReceiveRemoteNotification:" :userInfo :nil]; 122 | } 123 | - (void)application:(UIApplication *)application 124 | didReceiveRemoteNotification:(NSDictionary *)userInfo 125 | fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler { 126 | [self application:application didReceiveRemoteNotification:userInfo]; 127 | [self UniCoreEventWithApplication:application withMethod:@"application:didReceiveRemoteNotification:fetchCompletionHandler:" :userInfo :completionHandler]; 128 | completionHandler(UIBackgroundFetchResultNewData); 129 | } 130 | /* 131 | * @Summary:程序收到本地消息 132 | */ 133 | - (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification 134 | { 135 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventRevLocalNotification withObject:notification]; 136 | [self UniCoreEventWithApplication:application withMethod:@"application:didReceiveLocalNotification:" :notification :nil]; 137 | } 138 | /* 139 | * @Summary:通用链接 140 | */ 141 | -(BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray> * _Nullable))restorationHandler{ 142 | [self UniCoreEventWithApplication:application withMethod:@"application:continueUserActivity:restorationHandler:" :userActivity :restorationHandler]; 143 | return YES; 144 | } 145 | 146 | -(void)UniCoreEventWithApplication:(UIApplication*)app withMethod:(NSString*)method :(id)parameter1 :(id)parameter2{ 147 | Class uniwxCore = NSClassFromString(@"UniWXCore"); 148 | SEL sharedInstance = NSSelectorFromString(@"sharedInstance"); 149 | if([uniwxCore respondsToSelector:sharedInstance]){ 150 | #pragma clang diagnostic push 151 | #pragma clang diagnostic ignored "-Warc-performSelector-leaks" 152 | Class UniCore = [uniwxCore performSelector:sharedInstance]; 153 | #pragma clang diagnostic pop 154 | SEL selector = NSSelectorFromString(method); 155 | if([UniCore respondsToSelector:selector]){ 156 | NSMethodSignature* methodSig = [UniCore methodSignatureForSelector:selector]; 157 | if(methodSig == nil) return ; 158 | NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:methodSig]; 159 | [invocation setTarget:UniCore]; 160 | [invocation setSelector:selector]; 161 | [invocation setArgument:&app atIndex:2]; 162 | if(parameter1 != nil)[invocation setArgument:¶meter1 atIndex:3]; 163 | if(parameter2 !=nil)[invocation setArgument:¶meter2 atIndex:4]; 164 | [invocation invoke]; 165 | } 166 | } 167 | } 168 | - (void)dealloc 169 | { 170 | [super dealloc]; 171 | } 172 | 173 | @end 174 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Base.lproj/Main_iPad.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Base.lproj/Main_iPhone.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 34 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/HBuilder-Integrate-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | zh_CN 7 | CFBundleDisplayName 8 | HBuilder Integrate 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIcons 12 | 13 | CFBundlePrimaryIcon 14 | 15 | CFBundleIconFiles 16 | 17 | icon80 18 | icon58 19 | icon29 20 | icon120 21 | icon114 22 | icon57 23 | icon87 24 | icon180 25 | 26 | 27 | 28 | CFBundleIdentifier 29 | $(PRODUCT_BUNDLE_IDENTIFIER) 30 | CFBundleInfoDictionaryVersion 31 | 6.0 32 | CFBundleName 33 | ${PRODUCT_NAME} 34 | CFBundlePackageType 35 | APPL 36 | CFBundleShortVersionString 37 | 1.6 38 | CFBundleSignature 39 | ???? 40 | CFBundleURLTypes 41 | 42 | 43 | CFBundleURLName 44 | tencentopenapi 45 | CFBundleURLSchemes 46 | 47 | tencent1101318457 48 | 49 | 50 | 51 | CFBundleTypeRole 52 | Editor 53 | CFBundleURLName 54 | com.tencent 55 | CFBundleURLSchemes 56 | 57 | wb801494298 58 | 59 | 60 | 61 | CFBundleURLName 62 | alixpay 63 | CFBundleURLSchemes 64 | 65 | alixpayhbilderhello 66 | 67 | 68 | 69 | CFBundleURLName 70 | weixin 71 | CFBundleURLSchemes 72 | 73 | wxbe7f03382358338d 74 | 75 | 76 | 77 | CFBundleTypeRole 78 | Editor 79 | CFBundleURLName 80 | com.weibo 81 | CFBundleURLSchemes 82 | 83 | wb3721101999 84 | 85 | 86 | 87 | CFBundleVersion 88 | 10600 89 | ITSAppUsesNonExemptEncryption 90 | 91 | LSApplicationQueriesSchemes 92 | 93 | tencentweiboSdkv2 94 | weibosdk2.5 95 | sinaweibo 96 | sinaweibohd 97 | alipay 98 | safepay 99 | cydia 100 | weixin 101 | wechat 102 | weibosdk 103 | mqq 104 | mqqapi 105 | mqzone 106 | wtloginmqq2 107 | mqqopensdkapiV3 108 | mqqwpa 109 | mqqopensdkapiV2 110 | mqqOpensdkSSoLogin 111 | hbuilder 112 | streamapp 113 | 114 | LSRequiresIPhoneOS 115 | 116 | MiSDKAppID 117 | 2882303761517526143 118 | MiSDKAppKey 119 | 5211752656143 120 | MiSDKRun 121 | online 122 | NSAppTransportSecurity 123 | 124 | NSAllowsArbitraryLoads 125 | 126 | 127 | NSCameraUsageDescription 128 | 需要访问照相机 129 | NSContactsUsageDescription 130 | 需要访问通讯录 131 | NSLocationWhenInUseDescription 132 | 需要访问您的位置信息 133 | NSLocationWhenInUseUsageDescription 134 | 135 | NSLocationWhenInUseUsageDescription - 2 136 | 用户使用时期定位 137 | NSMicrophoneUsageDescription 138 | 访问麦克风 139 | NSPhotoLibraryUsageDescription 140 | 相册 141 | StatusBarBackground 142 | #FFFFFF 143 | UIApplicationShortcutItems 144 | 145 | 146 | UIApplicationShortcutItemIconType 147 | UIApplicationShortcutIconTypeShare 148 | UIApplicationShortcutItemSubtitle 149 | 分享到微信、微博、QQ 150 | UIApplicationShortcutItemTitle 151 | 分 享 152 | UIApplicationShortcutItemType 153 | share 154 | 155 | 156 | UIApplicationShortcutItemIconFile 157 | Pandora/apps/HelloH5/www/sa.png 158 | UIApplicationShortcutItemSubtitle 159 | www.dcloud.io 160 | UIApplicationShortcutItemTitle 161 | 关 于 162 | UIApplicationShortcutItemType 163 | about 164 | UIApplicationShortcutItemUserInfo 165 | 166 | key3 167 | value3 168 | 169 | 170 | 171 | UILaunchImages 172 | 173 | 174 | UILaunchImageMinimumOSVersion 175 | 12.0 176 | UILaunchImageName 177 | Default-896h 178 | UILaunchImageOrientation 179 | Portrait 180 | UILaunchImageSize 181 | {414, 896} 182 | 183 | 184 | UILaunchImageMinimumOSVersion 185 | 12.0 186 | UILaunchImageName 187 | Default-896h 188 | UILaunchImageOrientation 189 | Portrait 190 | UILaunchImageSize 191 | {414, 896} 192 | 193 | 194 | UILaunchImageMinimumOSVersion 195 | 12.0 196 | UILaunchImageName 197 | Default-Landscape-896h 198 | UILaunchImageOrientation 199 | Landscape 200 | UILaunchImageSize 201 | {414, 896} 202 | 203 | 204 | UILaunchImageMinimumOSVersion 205 | 12.0 206 | UILaunchImageName 207 | Default-Landscape-896h 208 | UILaunchImageOrientation 209 | Landscape 210 | UILaunchImageSize 211 | {414, 896} 212 | 213 | 214 | UILaunchImageMinimumOSVersion 215 | 8.0 216 | UILaunchImageName 217 | Default-Landscape-736h 218 | UILaunchImageOrientation 219 | Landscape 220 | UILaunchImageSize 221 | {414, 736} 222 | 223 | 224 | UILaunchImageMinimumOSVersion 225 | 8.0 226 | UILaunchImageName 227 | Default-736h 228 | UILaunchImageOrientation 229 | Portrait 230 | UILaunchImageSize 231 | {414, 736} 232 | 233 | 234 | UILaunchImageMinimumOSVersion 235 | 11.0 236 | UILaunchImageName 237 | Default-812h 238 | UILaunchImageOrientation 239 | Portrait 240 | UILaunchImageSize 241 | {375, 812} 242 | 243 | 244 | UILaunchImageMinimumOSVersion 245 | 11.0 246 | UILaunchImageName 247 | Default-Landscape-812h 248 | UILaunchImageOrientation 249 | Landscape 250 | UILaunchImageSize 251 | {375, 812} 252 | 253 | 254 | UILaunchImageMinimumOSVersion 255 | 8.0 256 | UILaunchImageName 257 | Default-667h 258 | UILaunchImageOrientation 259 | Portrait 260 | UILaunchImageSize 261 | {375, 667} 262 | 263 | 264 | UILaunchImageMinimumOSVersion 265 | 8.0 266 | UILaunchImageName 267 | Default-Landscape-667h 268 | UILaunchImageOrientation 269 | Landscape 270 | UILaunchImageSize 271 | {320, 667} 272 | 273 | 274 | UILaunchImageMinimumOSVersion 275 | 7.0 276 | UILaunchImageName 277 | Default 278 | UILaunchImageOrientation 279 | Portrait 280 | UILaunchImageSize 281 | {320, 480} 282 | 283 | 284 | UILaunchImageMinimumOSVersion 285 | 7.0 286 | UILaunchImageName 287 | Default-568h 288 | UILaunchImageOrientation 289 | Portrait 290 | UILaunchImageSize 291 | {320, 568} 292 | 293 | 294 | UILaunchImageMinimumOSVersion 295 | 7.0 296 | UILaunchImageName 297 | Default-Landscape-568h 298 | UILaunchImageOrientation 299 | Landscape 300 | UILaunchImageSize 301 | {320, 568} 302 | 303 | 304 | UILaunchImages~ipad 305 | 306 | 307 | UILaunchImageMinimumOSVersion 308 | 7.0 309 | UILaunchImageName 310 | Default-Landscape7 311 | UILaunchImageOrientation 312 | Landscape 313 | UILaunchImageSize 314 | {768, 1024} 315 | 316 | 317 | UILaunchImageMinimumOSVersion 318 | 7.0 319 | UILaunchImageName 320 | Default-Portrait7 321 | UILaunchImageOrientation 322 | Portrait 323 | UILaunchImageSize 324 | {768, 1024} 325 | 326 | 327 | UILaunchImageMinimumOSVersion 328 | 10.0 329 | UILaunchImageName 330 | Default-Portrait7-1366h 331 | UILaunchImageOrientation 332 | Portrait 333 | UILaunchImageSize 334 | {1024, 1366} 335 | 336 | 337 | UILaunchImageMinimumOSVersion 338 | 10.0 339 | UILaunchImageName 340 | Default-Landscape-1366h 341 | UILaunchImageOrientation 342 | Landscape 343 | UILaunchImageSize 344 | {1024, 1366} 345 | 346 | 347 | UILaunchImageMinimumOSVersion 348 | 10.0 349 | UILaunchImageName 350 | Default-Portrait7-1194h 351 | UILaunchImageOrientation 352 | Portrait 353 | UILaunchImageSize 354 | {834, 1194} 355 | 356 | 357 | UILaunchImageMinimumOSVersion 358 | 10.0 359 | UILaunchImageName 360 | Default-Landscape-1194h 361 | UILaunchImageOrientation 362 | Landscape 363 | UILaunchImageSize 364 | {834, 1194} 365 | 366 | 367 | UILaunchImageMinimumOSVersion 368 | 8.0 369 | UILaunchImageName 370 | Default-Portrait7-1112h 371 | UILaunchImageOrientation 372 | Portrait 373 | UILaunchImageSize 374 | {834, 1112} 375 | 376 | 377 | UILaunchImageMinimumOSVersion 378 | 8.0 379 | UILaunchImageName 380 | Default-Landscape-1112h 381 | UILaunchImageOrientation 382 | Landscape 383 | UILaunchImageSize 384 | {834, 1112} 385 | 386 | 387 | UIMainStoryboardFile 388 | Main_iPhone 389 | UIMainStoryboardFile~ipad 390 | Main_iPad 391 | UIStatusBarHidden 392 | 393 | UIStatusBarStyle 394 | UIStatusBarStyleDefault 395 | UIStatusBarTintParameters 396 | 397 | UINavigationBar 398 | 399 | Style 400 | UIBarStyleDefault 401 | Translucent 402 | 403 | 404 | 405 | UISupportedInterfaceOrientations 406 | 407 | UIInterfaceOrientationPortrait 408 | UIInterfaceOrientationLandscapeLeft 409 | UIInterfaceOrientationLandscapeRight 410 | UIInterfaceOrientationPortraitUpsideDown 411 | 412 | UISupportedInterfaceOrientations~ipad 413 | 414 | UIInterfaceOrientationPortrait 415 | UIInterfaceOrientationPortraitUpsideDown 416 | UIInterfaceOrientationLandscapeLeft 417 | UIInterfaceOrientationLandscapeRight 418 | 419 | baidu 420 | 421 | appkey 422 | 33sQNaF1czbLgyIgHGw9cpc1 423 | 424 | getui 425 | 426 | appid 427 | bBPiGM1VQ66mhMI3d9tG0A 428 | 429 | iFly 430 | 431 | appid 432 | 535a0afe 433 | 434 | sinaweibo 435 | 436 | appSecret 437 | 9105360610c5e4fd9a57d2a2bf7c28df 438 | appkey 439 | 3721101999 440 | redirectURI 441 | http://d.m3w.cn/helloh5p/ 442 | 443 | tencentweibo 444 | 445 | appSecret 446 | 0b3ac9d885c09a1f45c0c08304291546 447 | appkey 448 | 801494298 449 | redirectURI 450 | http://d.m3w.cn/helloh5p/ 451 | 452 | umeng 453 | 454 | appkey 455 | 51d6a5a856240b66f0005651 456 | 457 | weixinoauth 458 | 459 | appSecret 460 | 3e4eaaefe9ab84cd9d2c1a14a5a2cc9d 461 | appid 462 | wxbe7f03382358338d 463 | 464 | xiaomioauth 465 | 466 | appid 467 | 2882303761517526143 468 | appsecret 469 | RHYzhpJEut+Ijt9tGBhL3g== 470 | redirectURI 471 | http://www.dcloud.io/ 472 | 473 | dcloud_uniplugins 474 | 475 | 476 | hooksClass 477 | 478 | plugins 479 | 480 | 481 | type 482 | module 483 | name 484 | DCloud-RichAlert 485 | class 486 | DCRichAlertModule 487 | 488 | 489 | 490 | 491 | dcloud_uninview_background 492 | 493 | 494 | 495 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/HBuilder-Integrate-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappcoverview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 31 | 32 | 33 | 34 |
35 | 36 |
37 | 38 | 281 | 282 | 283 | 284 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappmap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 38 | 39 | 40 | 41 |
42 | 43 | 44 |
45 |
46 | 241 | 242 | 243 | 244 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappmarker@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappmarker@3x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappopenlocation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 94 | 95 | 96 | 97 |
98 |
99 |
100 |
101 | 102 | 103 |
104 | 105 | 106 |
107 |
108 |
109 |
110 | 218 | 219 | 220 | 221 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappscan.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 扫码 8 | 22 | 23 | 24 | 25 |
26 |
27 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappservice.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | Service 11 | 17 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappsuccess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappsuccess.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/__uniappview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | View 11 | 22 | 26 | 36 | 37 | 38 | 39 | 40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/manifest.json: -------------------------------------------------------------------------------- 1 | {"@platforms":["android","iPhone","iPad"],"id":"__UNI__54FA04A","name":"were","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappservice.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app appservice","concatenate":true},"splashscreen":{"autoclose":false,"waiting":true},"popGesture":"close","statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"allowsInlineMediaPlayback":true}} -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/Pandora/apps/__UNI__54FA04A/www/pages/vue/index2.js: -------------------------------------------------------------------------------- 1 | 2 | !(function(){ 3 | var uniAppViewReadyCallback = function(){ 4 | setCssToHead([".",[1],"_button{margin-top:",[0,30],";margin-bottom:",[0,30],"}\n.",[1],"button-sp-area{margin:0 auto;width:60%}\n.",[1],"content{text-align:center;height:",[0,400],"}\n.",[1],"wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}\n.",[1],"button{width:200px;margin-top:30px;margin-left:20px;padding-top:20px;padding-bottom:20px;border:2px solid #458b00;background-color:#458b00}\n.",[1],"text{font-size:30px;color:#666;text-align:center}\n",],undefined,{path:"./pages/vue/index2.wxss"})(); 5 | document.dispatchEvent(new CustomEvent("generateFuncReady", { detail: { generateFunc: $gwx('./pages/vue/index2.wxml') } })); 6 | } 7 | if(window.__uniAppViewReady__){ 8 | uniAppViewReadyCallback() 9 | }else{ 10 | document.addEventListener('uniAppViewReady',uniAppViewReadyCallback) 11 | } 12 | })(); 13 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // Pandora 4 | // 5 | // Created by Mac Pro_C on 12-12-26. 6 | // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "PDRCore.h" 11 | #import "PDRCoreAppWindow.h" 12 | 13 | @interface ViewController : UIViewController 14 | { 15 | IBOutlet UIButton *btnShowLocalPage; 16 | IBOutlet UIButton *btnShowLocalPage2; 17 | } 18 | 19 | -(IBAction)ShowWebViewPageOne:(id)sender; 20 | -(IBAction)ShowWebViewPageTwo:(id)sender; 21 | @end 22 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // Pandora 4 | // 5 | // Created by Mac Pro_C on 12-12-26. 6 | // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. 7 | // 8 | #import "ViewController.h" 9 | #import "WebViewController.h" 10 | #import "WebAppController.h" 11 | #import "PDRCore.h" 12 | 13 | @interface ViewController () 14 | { 15 | WebViewController* pWebViewController; 16 | WebAppController* pWebAppController; 17 | } 18 | 19 | @end 20 | 21 | 22 | @implementation ViewController 23 | 24 | 25 | #pragma mark 应用集成 26 | 27 | 28 | -(IBAction)ShowWebViewPageOne:(id)sender 29 | { 30 | if ( PDRCoreRunModeWebviewClient != [PDRCore Instance].runMode ) { 31 | UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"" 32 | message:@"请在appdelegate切换启动模式为PDRCoreRunModeWebviewClient" 33 | delegate:nil 34 | cancelButtonTitle:@"确定" 35 | otherButtonTitles:nil]; 36 | [alertView show]; 37 | return; 38 | } 39 | pWebViewController = [[WebViewController alloc] init]; 40 | if (pWebViewController) 41 | { 42 | [self.navigationController pushViewController:pWebViewController animated:YES]; 43 | [pWebViewController release]; 44 | } 45 | 46 | // 添加一个原生层的消息监听,可以监听页面中通过NJS发送的消息,并获取附带的数据 47 | // NJS 发送消息请参考Pandora/apps/HelloH5/plugin.html 文件的PostNotification方法 48 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(NotiFunction:) name:@"SendDataToNative" object:nil]; 49 | } 50 | 51 | 52 | - (void)NotiFunction:(NSNotification*)pNoti 53 | { 54 | if (pNoti) { 55 | NSString* pRecData = pNoti.object; 56 | if (pRecData) { 57 | NSLog(@"Native Receive Data:%@", pRecData); 58 | UIAlertView* pAlertView = [[UIAlertView alloc] initWithTitle:@"原生层收到消息" message:pRecData delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil]; 59 | if (pAlertView) { 60 | [pAlertView show]; 61 | [pAlertView release]; 62 | } 63 | } 64 | } 65 | } 66 | 67 | 68 | 69 | -(IBAction)ShowWebViewPageTwo:(id)sender 70 | { 71 | if ( PDRCoreRunModeAppClient != [PDRCore Instance].runMode ) { 72 | UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"" 73 | message:@"请在appdelegate切换启动模式为PDRCoreRunModeAppClient" 74 | delegate:nil 75 | cancelButtonTitle:@"确定" 76 | otherButtonTitles:nil]; 77 | [alertView show]; 78 | return; 79 | } 80 | // Webivew集成不能同时WebApp集成,需要修改AppDelegate文件的PDRCore的启动参数 81 | pWebAppController = [[WebAppController alloc] init]; 82 | if (pWebAppController) { 83 | self.navigationController.navigationBarHidden = YES; 84 | [self.navigationController pushViewController:pWebAppController animated:YES]; 85 | [pWebAppController release]; 86 | } 87 | } 88 | 89 | 90 | 91 | - (void)didReceiveMemoryWarning{ 92 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventReceiveMemoryWarning withObject:nil]; 93 | } 94 | 95 | - (void)dealloc { 96 | [super dealloc]; 97 | } 98 | 99 | 100 | @end 101 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/WebAppController.h: -------------------------------------------------------------------------------- 1 | // 2 | // WebAppController.h 3 | // HBuilder-Integrate 4 | // 5 | // Created by EICAPITAN on 16/5/12. 6 | // Copyright © 2016年 DCloud. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "PDRCore.h" 11 | #import "PDRCoreAppWindow.h" 12 | 13 | 14 | @interface WebAppController : UIViewController 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/WebAppController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // Pandora 4 | // 5 | // Created by Mac Pro_C on 12-12-26. 6 | // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. 7 | // 8 | #import "WebAppController.h" 9 | #import "PDRToolSystem.h" 10 | #import "PDRToolSystemEx.h" 11 | #import "PDRCoreAppManager.h" 12 | 13 | #define kStatusBarHeight 20.f 14 | 15 | @interface WebAppController() 16 | { 17 | PDRCoreApp* pAppHandle; 18 | BOOL _isFullScreen; 19 | UIStatusBarStyle _statusBarStyle; 20 | } 21 | @end 22 | 23 | static UIView* pContentVIew = nil; 24 | 25 | @implementation WebAppController 26 | 27 | - (void)loadView 28 | { 29 | [super loadView]; 30 | if(pContentVIew == nil) 31 | pContentVIew = [[UIView alloc] initWithFrame:self.view.bounds]; 32 | [self.view addSubview: pContentVIew]; 33 | 34 | PDRCore *h5Engine = [PDRCore Instance]; 35 | [self setStatusBarStyle:h5Engine.settings.statusBarStyle]; 36 | _isFullScreen = [UIApplication sharedApplication].statusBarHidden; 37 | if ( _isFullScreen != h5Engine.settings.fullScreen ) { 38 | _isFullScreen = h5Engine.settings.fullScreen; 39 | if ( [self respondsToSelector:@selector(setNeedsStatusBarAppearanceUpdate)] ) { 40 | [self setNeedsStatusBarAppearanceUpdate]; 41 | } else { 42 | [[UIApplication sharedApplication] setStatusBarHidden:_isFullScreen]; 43 | } 44 | } 45 | h5Engine.coreDeleagete = self; 46 | h5Engine.persentViewController = self; 47 | 48 | // 设置WebApp所在的目录,该目录下必须有mainfest.json 49 | NSString* pWWWPath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"Pandora/apps/__UNI__54FA04A/www"]; 50 | 51 | // 如果路径中包含中文,或Xcode工程的targets名为中文则需要对路径进行编码 52 | //NSString* pWWWPath2 = (NSString *)CFURLCreateStringByAddingPercentEscapes( kCFAllocatorDefault, (CFStringRef)pTempString, NULL, NULL, kCFStringEncodingUTF8 ); 53 | 54 | // 用户在集成5+SDK时,需要在5+内核初始化时设置当前的集成方式, 55 | // 请参考AppDelegate.m文件的- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions方法 56 | 57 | // 设置5+SDK运行的View 58 | [[PDRCore Instance] setContainerView:pContentVIew]; 59 | 60 | // 传入参数可以在页面中通过plus.runtime.arguments参数获取 61 | NSString* pArgus = @"id=plus.runtime.arguments"; 62 | // 启动该应用 63 | pAppHandle = [[[PDRCore Instance] appManager] openAppAtLocation:pWWWPath withIndexPath:@"index.html" withArgs:pArgus withDelegate:nil]; 64 | 65 | 66 | // 如果应用可能会重复打开的话建议使用restart方法 67 | //[[[PDRCore Instance] appManager] restart:pAppHandle]; 68 | } 69 | 70 | - (void)viewDidAppear:(BOOL)animated { 71 | [super viewDidAppear:animated]; 72 | } 73 | 74 | - (void)viewDidUnload 75 | { 76 | [super viewDidUnload]; 77 | // Release any retained subviews of the main view. 78 | } 79 | #pragma mark - 80 | - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation 81 | duration:(NSTimeInterval)duration 82 | { 83 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventInterfaceOrientation 84 | withObject:[NSNumber numberWithInt:toInterfaceOrientation]]; 85 | if ([PTDeviceOSInfo systemVersion] >= PTSystemVersion8Series) { 86 | [[UIApplication sharedApplication] setStatusBarHidden:_isFullScreen ]; 87 | } 88 | } 89 | 90 | - (BOOL)shouldAutorotate 91 | { 92 | return TRUE; 93 | } 94 | 95 | - (UIInterfaceOrientationMask)supportedInterfaceOrientations 96 | { 97 | return [[PDRCore Instance].settings supportedInterfaceOrientations]; 98 | } 99 | 100 | - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 101 | { 102 | if ( [PDRCore Instance].settings ) { 103 | return [[PDRCore Instance].settings supportsOrientation:interfaceOrientation]; 104 | } 105 | return UIInterfaceOrientationPortrait == interfaceOrientation; 106 | } 107 | 108 | - (BOOL)prefersStatusBarHidden 109 | { 110 | return _isFullScreen;/* 111 | NSString *model = [UIDevice currentDevice].model; 112 | if (UIUserInterfaceIdiomPhone == UI_USER_INTERFACE_IDIOM() 113 | && (NSOrderedSame == [@"iPad" caseInsensitiveCompare:model] 114 | || NSOrderedSame == [@"iPad Simulator" caseInsensitiveCompare:model])) { 115 | return YES; 116 | } 117 | return NO;*/ 118 | } 119 | 120 | - (UIStatusBarAnimation)preferredStatusBarUpdateAnimation { 121 | return UIStatusBarAnimationFade; 122 | } 123 | 124 | -(BOOL)getStatusBarHidden { 125 | if ( [PTDeviceOSInfo systemVersion] > PTSystemVersion6Series ) { 126 | return _isFullScreen; 127 | } 128 | return [UIApplication sharedApplication].statusBarHidden; 129 | } 130 | 131 | #pragma mark - StatusBarStyle 132 | -(UIStatusBarStyle)getStatusBarStyle { 133 | return [self preferredStatusBarStyle]; 134 | } 135 | -(void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle { 136 | if ( _statusBarStyle != statusBarStyle ) { 137 | _statusBarStyle = statusBarStyle; 138 | if ( [self respondsToSelector:@selector(setNeedsStatusBarAppearanceUpdate)] ) { 139 | [self setNeedsStatusBarAppearanceUpdate]; 140 | } else { 141 | [[UIApplication sharedApplication] setStatusBarStyle:_statusBarStyle]; 142 | } 143 | } 144 | } 145 | 146 | - (UIStatusBarStyle)preferredStatusBarStyle 147 | { 148 | return _statusBarStyle; 149 | } 150 | 151 | #pragma mark - 152 | -(void)wantsFullScreen:(BOOL)fullScreen 153 | { 154 | if ( _isFullScreen == fullScreen ) { 155 | return; 156 | } 157 | 158 | _isFullScreen = fullScreen; 159 | [[UIApplication sharedApplication] setStatusBarHidden:_isFullScreen withAnimation:_isFullScreen?NO:YES]; 160 | if ( [PTDeviceOSInfo systemVersion] > PTSystemVersion6Series ) { 161 | [self setNeedsStatusBarAppearanceUpdate]; 162 | }// else { 163 | // return; 164 | // } 165 | CGRect newRect = self.view.bounds; 166 | if ( [PTDeviceOSInfo systemVersion] <= PTSystemVersion6Series ) { 167 | newRect = [UIApplication sharedApplication].keyWindow.bounds; 168 | if ( _isFullScreen ) { 169 | [UIView beginAnimations:nil context:nil]; 170 | self.view.frame = newRect; 171 | [UIView commitAnimations]; 172 | } else { 173 | UIInterfaceOrientation interfaceOrientation = [UIApplication sharedApplication].statusBarOrientation; 174 | if ( UIDeviceOrientationLandscapeLeft == interfaceOrientation 175 | || interfaceOrientation == UIDeviceOrientationLandscapeRight ) { 176 | newRect.size.width -=kStatusBarHeight; 177 | } else { 178 | newRect.origin.y += kStatusBarHeight; 179 | newRect.size.height -=kStatusBarHeight; 180 | } 181 | [UIView beginAnimations:nil context:nil]; 182 | self.view.frame = newRect; 183 | [UIView commitAnimations]; 184 | } 185 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventInterfaceOrientation 186 | withObject:[NSNumber numberWithInt:0]]; 187 | 188 | } 189 | } 190 | 191 | - (void)didReceiveMemoryWarning{ 192 | [[PDRCore Instance] handleSysEvent:PDRCoreSysEventReceiveMemoryWarning withObject:nil]; 193 | } 194 | 195 | - (void)dealloc { 196 | [super dealloc]; 197 | } 198 | @end 199 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/WebViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // NewViewController.h 3 | // HBuilder-Integrate 4 | // 5 | // Created by EICAPITAN on 16/5/12. 6 | // Copyright © 2016年 DCloud. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "PDRCore.h" 11 | #import "PDRCoreAppWindow.h" 12 | @interface WebViewController : UIViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/WebViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // NewViewController.m 3 | // HBuilder-Integrate 4 | // 5 | // Created by EICAPITAN on 16/5/12. 6 | // Copyright © 2016年 DCloud. All rights reserved. 7 | // 8 | 9 | #import "WebViewController.h" 10 | #import "PDRToolSystem.h" 11 | #import "PDRToolSystemEx.h" 12 | #import "PDRCoreAppFrame.h" 13 | #import "PDRCoreAppManager.h" 14 | #import "PDRCoreAppWindow.h" 15 | #import "PDRCoreAppInfo.h" 16 | 17 | @interface WebViewController() 18 | { 19 | PDRCoreAppFrame* appFrame; 20 | } 21 | 22 | @end 23 | 24 | @implementation WebViewController 25 | 26 | - (void)viewDidLoad 27 | { 28 | PDRCore* pCoreHandle = [PDRCore Instance]; 29 | if (pCoreHandle != nil) 30 | { 31 | 32 | NSString* pFilePath = [NSString stringWithFormat:@"file://%@/%@", [NSBundle mainBundle].bundlePath, @"Pandora/apps/HelloH5/www/plugin.html"]; 33 | [pCoreHandle start]; 34 | // 如果路径中包含中文,或Xcode工程的targets名为中文则需要对路径进行编码 35 | //NSString* pFilePath = (NSString *)CFURLCreateStringByAddingPercentEscapes( kCFAllocatorDefault, (CFStringRef)pTempString, NULL, NULL, kCFStringEncodingUTF8 ); 36 | 37 | // 单页面集成时可以设置打开的页面是本地文件或者是网络路径 38 | // NSString* pFilePath = @"http://www.163.com"; 39 | 40 | 41 | // 用户在集成5+SDK时,需要在5+内核初始化时设置当前的集成方式, 42 | // 请参考AppDelegate.m文件的- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions方法 43 | 44 | CGRect StRect = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height); 45 | 46 | appFrame = [[PDRCoreAppFrame alloc] initWithName:@"WebViewID1" loadURL:pFilePath frame:StRect]; 47 | if (appFrame) { 48 | [pCoreHandle.appManager.activeApp.appWindow registerFrame:appFrame]; 49 | [self.view addSubview:appFrame]; 50 | [appFrame release]; 51 | } 52 | 53 | } 54 | } 55 | 56 | - (void)dealloc 57 | { 58 | [super dealloc]; 59 | [[PDRCore Instance] setContainerView:nil]; 60 | } 61 | 62 | @end 63 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/control.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon100.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon114.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon120.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon144.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon152.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon180.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon29.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon40.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon50.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon57.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon58.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon72.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon76.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon80.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/icon/icon87.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // HBuilder-Hello 4 | // 5 | // Created by DCloud on 7/31/14. 6 | // Copyright (c) 2014 DCloud. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-568h@2x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-667h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-667h@2x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-736h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-736h@3x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-812h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-812h@3x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-896h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-896h@2x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-896h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-896h@3x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-1112h@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-1112h@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-1194h@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-1194h@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-1366h@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-1366h@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-568h@2x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-667h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-667h@2x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-736h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-736h@3x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-812h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-812h@3x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-896h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-896h@2x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-896h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape-896h@3x.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape7@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape7@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape7~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape7~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Landscape~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7-1112h@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7-1112h@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7-1194h@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7-1194h@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7-1366h@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7-1366h@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait7~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait@2x~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default-Portrait~ipad.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default.png -------------------------------------------------------------------------------- /ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dcloudio/UniPluginPackage/6bb8526731256ea067cc9a32c1de52a96cdab0bc/ios/HBuilder-UniPluginPackage/HBuilder-Integrate/splash/Default@2x.png --------------------------------------------------------------------------------