Browse Source

Revert "safety"

This reverts commit 947dfb0e
ff_new
fmk 3 years ago
parent
commit
e18da9d85c
  1. 10
      android/app/build.gradle
  2. BIN
      android/app/libs/Bluetooth-release.aar
  3. BIN
      android/app/libs/android-gif-drawable-release@1.2.23.aar
  4. BIN
      android/app/libs/contacts-release.aar
  5. BIN
      android/app/libs/fingerprint-release.aar
  6. BIN
      android/app/libs/iBeacon-release.aar
  7. BIN
      android/app/libs/messaging-release.aar
  8. BIN
      android/app/libs/oaid_sdk_1.0.25.aar
  9. BIN
      android/app/libs/payment-weixin-release.aar
  10. BIN
      android/app/libs/sqlite-release.aar
  11. BIN
      android/app/libs/uniMPSDK-release.aar
  12. BIN
      android/app/libs/uniapp-release.aar
  13. 32
      android/app/src/main/AndroidManifest.xml
  14. 7
      android/app/src/main/assets/data/dcloud_control.xml
  15. 92
      android/app/src/main/assets/data/dcloud_error.html
  16. 73
      android/app/src/main/assets/data/dcloud_properties.xml
  17. 2
      android/app/src/main/assets/uni-jsframework.js
  18. 5
      android/app/src/main/kotlin/com/zsw/huixiang/MainActivity.kt
  19. 256
      android/app/src/main/kotlin/com/zsw/huixiang/MinPlugin.kt
  20. 2
      android/app/src/main/kotlin/com/zsw/huixiang/wxapi/WXEntryActivity.kt
  21. 76
      android/app/src/main/kotlin/com/zsw/huixiang/wxapi/WXPayEntryActivity.kt
  22. 372
      ios/Runner.xcodeproj/project.pbxproj
  23. 61
      ios/Runner/AppDelegate.mm
  24. 6
      lib/mine/recharge_page.dart
  25. 6
      lib/order/order_utils.dart
  26. 46
      lib/setting/setting_page.dart
  27. 6
      lib/settlement/settlement.dart
  28. 2
      lib/store/store_order.dart
  29. 96
      lib/union/union_details_page.dart
  30. 140
      lib/utils/min.dart

10
android/app/build.gradle

@ -184,11 +184,11 @@ dependencies {
implementation fileTree(include: ['*.aar'], dir: 'libs') implementation fileTree(include: ['*.aar'], dir: 'libs')
implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.appcompat:appcompat:1.2.0'
// implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.1.0'
// implementation 'com.facebook.fresco:fresco:1.13.0' implementation 'com.facebook.fresco:fresco:1.13.0'
// implementation "com.facebook.fresco:animated-gif:1.13.0" implementation "com.facebook.fresco:animated-gif:1.13.0"
// implementation 'com.github.bumptech.glide:glide:4.12.0' implementation 'com.github.bumptech.glide:glide:4.12.0'
// implementation 'com.alibaba:fastjson:1.2.54' implementation 'com.alibaba:fastjson:1.2.54'
implementation 'com.tencent.tpns:xiaomi:1.2.7.1-release' implementation 'com.tencent.tpns:xiaomi:1.2.7.1-release'

BIN
android/app/libs/Bluetooth-release.aar

Binary file not shown.

BIN
android/app/libs/android-gif-drawable-release@1.2.23.aar

Binary file not shown.

BIN
android/app/libs/contacts-release.aar

Binary file not shown.

BIN
android/app/libs/fingerprint-release.aar

Binary file not shown.

BIN
android/app/libs/iBeacon-release.aar

Binary file not shown.

BIN
android/app/libs/messaging-release.aar

Binary file not shown.

BIN
android/app/libs/oaid_sdk_1.0.25.aar

Binary file not shown.

BIN
android/app/libs/payment-weixin-release.aar

Binary file not shown.

BIN
android/app/libs/sqlite-release.aar

Binary file not shown.

BIN
android/app/libs/uniMPSDK-release.aar

Binary file not shown.

BIN
android/app/libs/uniapp-release.aar

Binary file not shown.

32
android/app/src/main/AndroidManifest.xml

@ -102,22 +102,22 @@
android:name="com.yalantis.ucrop.UCropActivity" android:name="com.yalantis.ucrop.UCropActivity"
android:screenOrientation="portrait"/> android:screenOrientation="portrait"/>
<!-- <activity--> <activity
<!-- android:name="io.dcloud.PandoraEntryActivity"--> android:name="io.dcloud.PandoraEntryActivity"
<!-- android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale|keyboard"--> android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale|keyboard"
<!-- android:hardwareAccelerated="true"--> android:hardwareAccelerated="true"
<!-- android:launchMode="singleTask"--> android:launchMode="singleTask"
<!-- android:permission="com.miui.securitycenter.permission.AppPermissionsEditor"--> android:permission="com.miui.securitycenter.permission.AppPermissionsEditor"
<!-- android:screenOrientation="user"--> android:screenOrientation="user"
<!-- android:theme="@style/DCloudTheme"--> android:theme="@style/DCloudTheme"
<!-- android:windowSoftInputMode="adjustResize">--> android:windowSoftInputMode="adjustResize">
<!-- <intent-filter>--> <intent-filter>
<!-- <category android:name="android.intent.category.DEFAULT" />--> <category android:name="android.intent.category.DEFAULT" />
<!-- <category android:name="android.intent.category.BROWSABLE" />--> <category android:name="android.intent.category.BROWSABLE" />
<!-- <action android:name="android.intent.action.VIEW" />--> <action android:name="android.intent.action.VIEW" />
<!-- <data android:scheme="h56131bcf" />--> <data android:scheme="h56131bcf" />
<!-- </intent-filter>--> </intent-filter>
<!-- </activity>--> </activity>
<service android:name="com.amap.api.location.APSService"/> <service android:name="com.amap.api.location.APSService"/>
<meta-data <meta-data

7
android/app/src/main/assets/data/dcloud_control.xml

@ -0,0 +1,7 @@
<hbuilder version="1.9.9.80110" debug="false" syncDebug="false">
<apps>
<app appid="__UNI__ACD00DA" appver="1.0"/>
<app appid="__UNI__E60E056" appver="1.0"/>
</apps>
</hbuilder>

92
android/app/src/main/assets/data/dcloud_error.html

@ -0,0 +1,92 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="HandheldFriendly" content="true"/>
<meta name="MobileOptimized" content="320"/>
<title>Error</title>
<script type="text/javascript">
// H5 plus事件处理
var ws=null;
function plusReady(){
// Android处理返回键
plus.key.addEventListener('backbutton',function(){
(history.length==1)&&ws.close();
var c=setTimeout(function(){
ws.close();
},1000);
window.onbeforeunload=function(){
clearTimeout(c);
}
history.go(-2);
},false);
ws=plus.webview.currentWebview();
}
if(window.plus){
plusReady();
}else{
document.addEventListener('plusready',plusReady,false);
}
document.addEventListener('touchstart',function(){
return false;
},true);
// 禁止选择
document.oncontextmenu=function(){
return false;
};
// 获取错误信息
document.addEventListener("error",function(e){
info.innerText="请求的页面("+e.url+")无法打开";
console.log("请求的页面无法打开:"+e.href);
},false);
</script>
<style>
*{
-webkit-user-select: none;
}
html,body{
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
text-align: center;
word-break: break-all;
-webkit-touch-callout:none;
-webkit-tap-highlight-color:rgba(0,0,0,0);
}
.button{
width: 50%;
font-size: 18px;
font-weight: normal;
text-decoration: none;
text-align: center;
padding: .5em 0em;
margin: .5em auto;
color: #333333;
background-color: #EEEEEE;
border: 1px solid #CCCCCC;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.button:active{
background-color: #CCCCCC;
}
</style>
</head>
<body>
<div style="width:100%;height:20%;"></div>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 512 512" style="height:20%;width:30%">
<g id="icomoon-ignore">
<line stroke-width="1" x1="" y1="" x2="" y2="" stroke="#449FDB" opacity=""></line>
</g>
<path d="M256 0c-141.385 0-256 114.615-256 256s114.615 256 256 256 256-114.615 256-256-114.615-256-256-256zM352 128c17.673 0 32 14.327 32 32s-14.327 32-32 32-32-14.327-32-32 14.327-32 32-32zM160 128c17.673 0 32 14.327 32 32s-14.327 32-32 32-32-14.327-32-32 14.327-32 32-32zM352.049 390.37c-19.587-32.574-55.272-54.37-96.049-54.37s-76.462 21.796-96.049 54.37l-41.164-24.698c27.98-46.535 78.958-77.672 137.213-77.672s109.232 31.137 137.213 77.672l-41.164 24.698z" fill="#666666"></path>
</svg>
<p style="font-size:18px;font-weight:bolder;">We're sorry ...</p>
<p id="info" style="font-size:12px;"></p>
<!--<div class="button" onclick="history.back()">Retry</div>-->
<div class="button" onclick="if(history.length == 1){ws.close();}else{ws.back();ws.back();}">Back</div>
<div class="button" onclick="ws.close()">Close</div>
<div class="button" onclick="plus.runtime.restart()">Restart</div>
</body>
</html>

73
android/app/src/main/assets/data/dcloud_properties.xml

@ -0,0 +1,73 @@
<properties>
<features>
<feature name="Barcode" value="io.dcloud.feature.barcode2.BarcodeFeatureImpl"/>
<feature name="Speech" value="io.dcloud.feature.speech.SpeechFeatureImpl">
<module name="iFly" value="io.dcloud.feature.speech.IflySpeechEngine"/>
<module name="baidu" value="io.dcloud.feature.speech.BaiduSpeechEngine"/>
</feature>
<feature name="Maps" value="io.dcloud.js.map.amap.JsMapPluginImpl"/>
<!--<feature name="Maps" value="io.dcloud.js.map.JsMapPluginImpl"/>-->
<feature name="Contacts" value="io.dcloud.feature.contacts.ContactsFeatureImpl"/>
<feature name="Messaging" value="io.dcloud.adapter.messaging.MessagingPluginImpl"/>
<feature name="Camera" value="io.dcloud.js.camera.CameraFeatureImpl"/>
<feature name="Console" value="io.dcloud.feature.pdr.LoggerFeatureImpl"/>
<feature name="Device" value="io.dcloud.feature.device.DeviceFeatureImpl"/>
<feature name="File" value="io.dcloud.js.file.FileFeatureImpl"/>
<feature name="Proximity" value="io.dcloud.feature.sensor.ProximityFeatureImpl"/>
<feature name="Storage" value="io.dcloud.feature.pdr.NStorageFeatureImpl"/>
<feature name="Cache" value="io.dcloud.feature.pdr.CoreCacheFeatureImpl"/>
<feature name="Invocation" value="io.dcloud.invocation.Invocation"/>
<feature name="Navigator" value="io.dcloud.feature.ui.navigator.NavigatorUIFeatureImpl"/>
<feature name="NativeUI" value="io.dcloud.feature.ui.nativeui.NativeUIFeatureImpl"/>
<feature name="UI" value="io.dcloud.feature.ui.UIFeatureImpl">
<module name="Navigator" value="io.dcloud.feature.ui.NavView"/>
</feature>
<feature name="Gallery" value="io.dcloud.js.gallery.GalleryFeatureImpl"/>
<feature name="Downloader" value="io.dcloud.net.DownloaderFeatureImpl"/>
<feature name="Uploader" value="io.dcloud.net.UploadFeature"/>
<feature name="Push" value="io.dcloud.feature.aps.APSFeatureImpl">
<module name="igexin" value="io.dcloud.feature.apsGt.GTPushService"/>
<!-- mkeypush -->
</feature>
<feature name="Zip" value="io.dcloud.feature.pdr.ZipFeature"/>
<feature name="Audio" value="io.dcloud.feature.audio.AudioFeatureImpl"/>
<feature name="Runtime" value="io.dcloud.feature.pdr.RuntimeFeatureImpl"/>
<feature name="VideoPlayer" value="io.dcloud.media.MediaFeatureImpl"/>
<feature name="LivePusher" value="io.dcloud.media.live.LiveMediaFeatureImpl"/>
<feature name="XMLHttpRequest" value="io.dcloud.net.XMLHttpRequestFeature"/>
<feature name="Statistic" value="io.dcloud.feature.statistics.StatisticsFeatureImpl"/>
<feature name="Accelerometer" value="io.dcloud.feature.sensor.AccelerometerFeatureImpl"/>
<feature name="Orientation" value="io.dcloud.feature.sensor.OrientationFeatureImpl"/>
<feature name="NativeObj" value="io.dcloud.feature.nativeObj.FeatureImpl"/>
<feature name="Geolocation" value="io.dcloud.js.geolocation.GeolocationFeatureImpl"/>
<feature name="Payment" value="io.dcloud.feature.payment.PaymentFeatureImpl">
<module name="AliPay" value="io.dcloud.feature.payment.alipay.AliPay"/>
<module name="Payment-Weixin" value="io.dcloud.feature.payment.weixin.WeiXinPay"/>
<module name="Payment-Qihoo" value="io.dcloud.feature.payment.qihoopay.QihooPay"/>
</feature>
<feature name="Share" value="io.dcloud.share.ShareFeatureImpl">
<module name="Sina" value="io.dcloud.share.sina.SinaWeiboApiManager"/>
<module name="Tencent" value="io.dcloud.share.tencent.TencentWeiboApiManager"/>
<module name="Weixin" value="io.dcloud.share.mm.WeiXinApiManager"/>
<module name="QQ" value="io.dcloud.share.qq.QQApiManager"/>
</feature>
<feature name="OAuth" value="io.dcloud.feature.oauth.OAuthFeatureImpl">
<module name="OAuth-Weixin" value="io.dcloud.feature.oauth.weixin.WeiXinOAuthService"/>
<module name="OAuth-QQ" value="io.dcloud.feature.oauth.qq.QQOAuthService"/>
<module name="OAuth-Sina" value="io.dcloud.feature.oauth.sina.SinaOAuthService"/>
<module name="OAuth-Qihoo" value="io.dcloud.oauth.qihoo.QihooOAuthService"/>
<module name="OAuth-MiUi" value="io.dcloud.feature.oauth.miui.MiUiOAuthService"/>
</feature>
<feature name="Stream" value="io.dcloud.appstream.js.StreamAppFeatureImpl"/>
<feature name="Fingerprint" value="io.dcloud.feature.fingerprint.FingerPrintsImpl"/>
<feature name="iBeacon" value="io.dcloud.feature.iBeacon.WxBluetoothFeatureImpl"/>
<feature name="Bluetooth" value="io.dcloud.feature.bluetooth.BluetoothFeature"/>
</features>
<services>
<service name="push" value="io.dcloud.feature.aps.APSFeatureImpl"/>
<service name="Statistic" value="io.dcloud.feature.statistics.StatisticsBootImpl"/>
<service name="Downloader" value="io.dcloud.net.DownloaderBootImpl"/>
<service name="Maps" value="io.dcloud.js.map.MapInitImpl"/>
</services>
</properties>

2
android/app/src/main/assets/uni-jsframework.js

File diff suppressed because one or more lines are too long

5
android/app/src/main/kotlin/com/zsw/huixiang/MainActivity.kt

@ -3,6 +3,7 @@ package com.zsw.huixiang
import android.content.Intent import android.content.Intent
import android.os.Bundle import android.os.Bundle
import android.util.Log import android.util.Log
import io.dcloud.feature.sdk.DCUniMPSDK
import io.flutter.embedding.android.FlutterActivity import io.flutter.embedding.android.FlutterActivity
@ -16,7 +17,7 @@ class MainActivity: FlutterActivity() {
Log.e("intentUrl:", "url: ${intent.data}" ) Log.e("intentUrl:", "url: ${intent.data}" )
// flutterEngine?.plugins?.add(MinPlugin()) flutterEngine?.plugins?.add(MinPlugin())
bridgePlugin = BridgePlugin() bridgePlugin = BridgePlugin()
if (intent.data != null) { if (intent.data != null) {
@ -35,7 +36,7 @@ class MainActivity: FlutterActivity() {
override fun onDestroy() { override fun onDestroy() {
super.onDestroy() super.onDestroy()
// DCUniMPSDK.getInstance().closeCurrentApp() DCUniMPSDK.getInstance().closeCurrentApp()
} }
} }

256
android/app/src/main/kotlin/com/zsw/huixiang/MinPlugin.kt

@ -1,127 +1,129 @@
//
//package com.zsw.huixiang
//
//import android.content.Context package com.zsw.huixiang
//import androidx.annotation.NonNull
//import io.dcloud.common.adapter.util.Logger import android.content.Context
//import io.dcloud.feature.sdk.DCSDKInitConfig import androidx.annotation.NonNull
//import io.dcloud.feature.sdk.DCUniMPSDK import io.dcloud.common.adapter.util.Logger
//import io.dcloud.feature.sdk.MenuActionSheetItem import io.dcloud.feature.sdk.DCSDKInitConfig
//import io.flutter.embedding.engine.plugins.FlutterPlugin import io.dcloud.feature.sdk.DCUniMPSDK
//import io.flutter.plugin.common.MethodCall import io.dcloud.feature.sdk.MenuActionSheetItem
//import io.flutter.plugin.common.MethodChannel import io.flutter.embedding.engine.plugins.FlutterPlugin
//import io.flutter.plugin.common.MethodChannel.MethodCallHandler import io.flutter.plugin.common.MethodCall
//import io.flutter.plugin.common.MethodChannel.Result import io.flutter.plugin.common.MethodChannel
//import org.json.JSONObject import io.flutter.plugin.common.MethodChannel.MethodCallHandler
// import io.flutter.plugin.common.MethodChannel.Result
// import org.json.JSONObject
///** MinPlugin */
//class MinPlugin: FlutterPlugin, MethodCallHandler {
// /// The MethodChannel that will the communication between Flutter and native Android /** MinPlugin */
// /// class MinPlugin: FlutterPlugin, MethodCallHandler {
// /// This local reference serves to register the plugin with the Flutter Engine and unregister it /// The MethodChannel that will the communication between Flutter and native Android
// /// when the Flutter Engine is detached from the Activity ///
// private lateinit var channel : MethodChannel /// This local reference serves to register the plugin with the Flutter Engine and unregister it
// private lateinit var context : Context /// when the Flutter Engine is detached from the Activity
// private lateinit var channel : MethodChannel
// override fun onAttachedToEngine(@NonNull flutterPluginBinding: FlutterPlugin.FlutterPluginBinding) { private lateinit var context : Context
// context = flutterPluginBinding.applicationContext;
// channel = MethodChannel(flutterPluginBinding.binaryMessenger, "min") override fun onAttachedToEngine(@NonNull flutterPluginBinding: FlutterPlugin.FlutterPluginBinding) {
// channel.setMethodCallHandler(this) context = flutterPluginBinding.applicationContext;
// } channel = MethodChannel(flutterPluginBinding.binaryMessenger, "min")
// channel.setMethodCallHandler(this)
// override fun onMethodCall(@NonNull call: MethodCall, @NonNull result: Result) { }
// if (call.method == "initialize") {
// if (!DCUniMPSDK.getInstance().isInitialize) { override fun onMethodCall(@NonNull call: MethodCall, @NonNull result: Result) {
// val item = MenuActionSheetItem("退出", "tc"); if (call.method == "initialize") {
// val sheetItems: MutableList<MenuActionSheetItem> = ArrayList() if (!DCUniMPSDK.getInstance().isInitialize) {
// sheetItems.add(item) val item = MenuActionSheetItem("退出", "tc");
// val config = DCSDKInitConfig.Builder() val sheetItems: MutableList<MenuActionSheetItem> = ArrayList()
// .setCapsule(true) sheetItems.add(item)
// .setMenuDefFontSize("16px") val config = DCSDKInitConfig.Builder()
// .setMenuDefFontColor("#000000") .setCapsule(true)
// .setMenuDefFontWeight("normal") .setMenuDefFontSize("16px")
// .setMenuActionSheetItems(sheetItems) .setMenuDefFontColor("#000000")
// .setEnableBackground(false) //后台运行 .setMenuDefFontWeight("normal")
// .build() .setMenuActionSheetItems(sheetItems)
// DCUniMPSDK.getInstance().initialize(context, config) { .setEnableBackground(false) //后台运行
// result.success(it) .build()
// } DCUniMPSDK.getInstance().initialize(context, config) {
// DCUniMPSDK.getInstance().setDefMenuButtonClickCallBack { p0, p1 -> result.success(it)
// Logger.e("p0: $p0 p1:$p1"); }
// when (p1) { DCUniMPSDK.getInstance().setDefMenuButtonClickCallBack { p0, p1 ->
// "tc" -> { Logger.e("p0: $p0 p1:$p1");
// Logger.e("用户点击了退出"); when (p1) {
// DCUniMPSDK.getInstance().closeCurrentApp() "tc" -> {
// } Logger.e("用户点击了退出");
// } DCUniMPSDK.getInstance().closeCurrentApp()
// } }
// DCUniMPSDK.getInstance().setUniMPOnCloseCallBack { }
// Logger.e("用户点击了退出 it: $it") }
// DCUniMPSDK.getInstance().closeCurrentApp() DCUniMPSDK.getInstance().setUniMPOnCloseCallBack {
// } Logger.e("用户点击了退出 it: $it")
// } DCUniMPSDK.getInstance().closeCurrentApp()
// } else if (call.method == "isInitialize") { }
// result.success(DCUniMPSDK.getInstance().isInitialize) }
// } else if (call.method == "isExistsApp") { } else if (call.method == "isInitialize") {
// var appid = call.argument<String>("appid"); result.success(DCUniMPSDK.getInstance().isInitialize)
// result.success(DCUniMPSDK.getInstance().isExistsApp(appid)) } else if (call.method == "isExistsApp") {
// } else if (call.method == "getAppVersionInfo") { var appid = call.argument<String>("appid");
// var appid = call.argument<String>("appid"); result.success(DCUniMPSDK.getInstance().isExistsApp(appid))
// result.success(DCUniMPSDK.getInstance().getAppVersionInfo(appid)["name"]) } else if (call.method == "getAppVersionInfo") {
// } else if (call.method == "closeCurrentApp") { var appid = call.argument<String>("appid");
// result.success(DCUniMPSDK.getInstance().closeCurrentApp()) result.success(DCUniMPSDK.getInstance().getAppVersionInfo(appid)["name"])
// } else if (call.method == "getAppBasePath") { } else if (call.method == "closeCurrentApp") {
// result.success(DCUniMPSDK.getInstance().getAppBasePath(context)) result.success(DCUniMPSDK.getInstance().closeCurrentApp())
// } else if (call.method == "runingAppid") { } else if (call.method == "getAppBasePath") {
// result.success(DCUniMPSDK.getInstance().runingAppid) result.success(DCUniMPSDK.getInstance().getAppBasePath(context))
// } else if (call.method == "currentPageUrl") { } else if (call.method == "runingAppid") {
// result.success(DCUniMPSDK.getInstance().currentPageUrl) result.success(DCUniMPSDK.getInstance().runingAppid)
// } else if (call.method == "startMin") { } else if (call.method == "currentPageUrl") {
// try { result.success(DCUniMPSDK.getInstance().currentPageUrl)
// var appid = call.argument<String>("appid") } else if (call.method == "startMin") {
// var hashMap = call.argument<HashMap<String, Object>>("json") try {
// Logger.e("startMin_json: ${JSONObject(hashMap as Map<*, *>)}") var appid = call.argument<String>("appid")
// DCUniMPSDK.getInstance().startApp(context, appid, JSONObject(hashMap as Map<*, *>)) var hashMap = call.argument<HashMap<String, Object>>("json")
// } catch (e: Exception) { Logger.e("startMin_json: ${JSONObject(hashMap as Map<*, *>)}")
// e.printStackTrace() DCUniMPSDK.getInstance().startApp(context, appid, JSONObject(hashMap as Map<*, *>))
// } } catch (e: Exception) {
// result.success("") e.printStackTrace()
// } else if (call.method == "clickListener") { }
// DCUniMPSDK.getInstance().setDefMenuButtonClickCallBack { p0, p1 -> result.success("")
// Logger.e("p0: $p0 p1:$p1"); } else if (call.method == "clickListener") {
// when (p1) { DCUniMPSDK.getInstance().setDefMenuButtonClickCallBack { p0, p1 ->
// "tc" -> { Logger.e("p0: $p0 p1:$p1");
// Logger.e("用户点击了退出"); when (p1) {
// DCUniMPSDK.getInstance().closeCurrentApp() "tc" -> {
// } Logger.e("用户点击了退出");
// } DCUniMPSDK.getInstance().closeCurrentApp()
// } }
// DCUniMPSDK.getInstance().setUniMPOnCloseCallBack { }
// Logger.e("用户点击了退出 it: $it") }
// } DCUniMPSDK.getInstance().setUniMPOnCloseCallBack {
// } else if (call.method == "reloadWgt") { Logger.e("用户点击了退出 it: $it")
// try { }
// var appid = call.argument<String>("appid"); } else if (call.method == "reloadWgt") {
// var wgtPath = call.argument<String>("wgtPath"); try {
// DCUniMPSDK.getInstance().releaseWgtToRunPathFromePath(appid, wgtPath) { code, pArgs -> var appid = call.argument<String>("appid");
// if (code == 1) { //释放wgt完成 var wgtPath = call.argument<String>("wgtPath");
// result.success(true) DCUniMPSDK.getInstance().releaseWgtToRunPathFromePath(appid, wgtPath) { code, pArgs ->
// } else { if (code == 1) { //释放wgt完成
// result.success(false) result.success(true)
// } } else {
// null result.success(false)
// } }
// } catch (e: Exception) { null
// e.printStackTrace() }
// } } catch (e: Exception) {
// } else { e.printStackTrace()
// result.notImplemented() }
// } } else {
// } result.notImplemented()
// }
// override fun onDetachedFromEngine(@NonNull binding: FlutterPlugin.FlutterPluginBinding) { }
// channel.setMethodCallHandler(null)
// } override fun onDetachedFromEngine(@NonNull binding: FlutterPlugin.FlutterPluginBinding) {
//} channel.setMethodCallHandler(null)
// }
}

2
android/app/src/main/kotlin/com/zsw/huixiang/wxapi/WXEntryActivity.kt

@ -1,7 +1,9 @@
package com.zsw.huixiang.wxapi package com.zsw.huixiang.wxapi
import android.content.Intent
import android.os.Bundle import android.os.Bundle
import cn.sharesdk.wechat.utils.WechatHandlerActivity import cn.sharesdk.wechat.utils.WechatHandlerActivity
import io.dcloud.feature.payment.weixin.AbsWXPayCallbackActivity
import io.flutter.Log import io.flutter.Log
class WXEntryActivity : WechatHandlerActivity() { class WXEntryActivity : WechatHandlerActivity() {

76
android/app/src/main/kotlin/com/zsw/huixiang/wxapi/WXPayEntryActivity.kt

@ -4,36 +4,36 @@ import android.content.Intent
import android.content.pm.PackageManager import android.content.pm.PackageManager
import android.os.Bundle import android.os.Bundle
import android.util.Log import android.util.Log
import cn.sharesdk.wechat.utils.WechatHandlerActivity
import com.jarvan.fluwx.handlers.FluwxRequestHandler import com.jarvan.fluwx.handlers.FluwxRequestHandler
import com.jarvan.fluwx.handlers.FluwxResponseHandler import com.jarvan.fluwx.handlers.FluwxResponseHandler
import com.jarvan.fluwx.handlers.WXAPiHandler import com.jarvan.fluwx.handlers.WXAPiHandler
import com.tencent.mm.opensdk.modelbase.BaseReq import com.tencent.mm.opensdk.modelbase.BaseReq
import com.tencent.mm.opensdk.modelbase.BaseResp import com.tencent.mm.opensdk.modelbase.BaseResp
import io.dcloud.feature.payment.weixin.AbsWXPayCallbackActivity
class WXPayEntryActivity : WechatHandlerActivity() { class WXPayEntryActivity : AbsWXPayCallbackActivity() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
// try { try {
// if (!wxApiRegistered) { if (!WXAPiHandler.wxApiRegistered) {
// var appInfo = packageManager.getApplicationInfo(packageName, PackageManager.GET_META_DATA) var appInfo = packageManager.getApplicationInfo(packageName, PackageManager.GET_META_DATA)
// val wechatAppId = appInfo.metaData.getString("weChatAppId") val wechatAppId = appInfo.metaData.getString("weChatAppId")
// if (wechatAppId != null ){ if (wechatAppId != null ){
// WXAPiHandler.setupWxApi(wechatAppId, this) WXAPiHandler.setupWxApi(wechatAppId, this)
// WXAPiHandler.setCoolBool(true) WXAPiHandler.setCoolBool(true)
// io.flutter.Log.d("fluwx", "weChatAppId:$wechatAppId") io.flutter.Log.d("fluwx", "weChatAppId:$wechatAppId")
// }else { }else {
// io.flutter.Log.e("fluwx", "can't load meta-data weChatAppId") io.flutter.Log.e("fluwx", "can't load meta-data weChatAppId")
// } }
// } }
// WXAPiHandler.wxApi?.handleIntent(intent, this) WXAPiHandler.wxApi?.handleIntent(intent, this)
// } catch (e: Exception) { } catch (e: Exception) {
// e.printStackTrace() e.printStackTrace()
// startSpecifiedActivity(defaultFlutterActivityAction()) startSpecifiedActivity(defaultFlutterActivityAction())
// finish() finish()
// } }
Log.e("WXPayEntryActivity", "onCreate") Log.e("WXPayEntryActivity", "onCreate")
} }
@ -42,29 +42,27 @@ class WXPayEntryActivity : WechatHandlerActivity() {
setIntent(intent) setIntent(intent)
// try { try {
// WXAPiHandler.wxApi?.handleIntent(intent, this) WXAPiHandler.wxApi?.handleIntent(intent, this)
// } catch (e: Exception) { } catch (e: Exception) {
// e.printStackTrace() e.printStackTrace()
// startSpecifiedActivity(defaultFlutterActivityAction()) startSpecifiedActivity(defaultFlutterActivityAction())
// finish() finish()
// } }
} }
override fun onReq(req: BaseReq) {
super.onReq(req)
FluwxRequestHandler.onReq(req, this)
Log.e("WXPayEntryActivity", "req: $req")
}
// override fun onReq(req: BaseReq) { override fun onResp(resp: BaseResp) {
// super.onReq(req) FluwxResponseHandler.handleResponse(resp)
// FluwxRequestHandler.onReq(req, this) super.onResp(resp)
// Log.e("WXPayEntryActivity", "req: $req") Log.e("WXPayEntryActivity", "resp: $resp")
// }
// }
// override fun onResp(resp: BaseResp) {
// FluwxResponseHandler.handleResponse(resp)
// super.onResp(resp)
// Log.e("WXPayEntryActivity", "resp: $resp")
// }

372
ios/Runner.xcodeproj/project.pbxproj

@ -8,11 +8,28 @@
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
0558860326BD10CA00FB1CFE /* test.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0558860226BD10CA00FB1CFE /* test.swift */; }; 0558860326BD10CA00FB1CFE /* test.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0558860226BD10CA00FB1CFE /* test.swift */; };
05C5426026BB9CEB00D26AC2 /* liblibIO.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33A2695816000237A5E /* liblibIO.a */; };
05C5426F26BBE8FE00D26AC2 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F373269581F600237A5E /* CoreLocation.framework */; }; 05C5426F26BBE8FE00D26AC2 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F373269581F600237A5E /* CoreLocation.framework */; };
05C5427126BBE93600D26AC2 /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05C5427026BBE93600D26AC2 /* AdSupport.framework */; }; 05C5427126BBE93600D26AC2 /* AdSupport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05C5427026BBE93600D26AC2 /* AdSupport.framework */; };
05C5427426BCE3AC00D26AC2 /* BMKLocationKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05C5427326BCE3AC00D26AC2 /* BMKLocationKit.framework */; }; 05C5427426BCE3AC00D26AC2 /* BMKLocationKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05C5427326BCE3AC00D26AC2 /* BMKLocationKit.framework */; };
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
6EE8F3452695816000237A5E /* __uniappes6.js in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2E62695815A00237A5E /* __uniappes6.js */; };
6EE8F3462695816000237A5E /* uni-jsframework.js in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2E72695815A00237A5E /* uni-jsframework.js */; };
6EE8F3472695816000237A5E /* PandoraApi.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2E82695815A00237A5E /* PandoraApi.bundle */; };
6EE8F3482695816000237A5E /* unincomponents.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2E92695815A00237A5E /* unincomponents.ttf */; };
6EE8F3492695816000237A5E /* weex-polyfill.js in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2EA2695815A00237A5E /* weex-polyfill.js */; };
6EE8F34A2695816000237A5E /* weexUniJs.js in Resources */ = {isa = PBXBuildFile; fileRef = 6EE8F2EB2695815A00237A5E /* weexUniJs.js */; };
6EE8F34B2695816000237A5E /* libSDWebImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3392695816000237A5E /* libSDWebImage.a */; };
6EE8F34D2695816000237A5E /* liblibWeex.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33B2695816000237A5E /* liblibWeex.a */; };
6EE8F34E2695816000237A5E /* liblibPDRCore.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33C2695816000237A5E /* liblibPDRCore.a */; };
6EE8F34F2695816000237A5E /* liblibNativeUI.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33D2695816000237A5E /* liblibNativeUI.a */; };
6EE8F3502695816000237A5E /* liblibUI.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F33E2695816000237A5E /* liblibUI.a */; };
6EE8F3522695816000237A5E /* liblibStorage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3402695816000237A5E /* liblibStorage.a */; };
6EE8F3532695816000237A5E /* liblibPGInvocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3412695816000237A5E /* liblibPGInvocation.a */; };
6EE8F3542695816000237A5E /* liblibNavigator.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3422695816000237A5E /* liblibNavigator.a */; };
6EE8F3552695816000237A5E /* storage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3432695816000237A5E /* storage.framework */; };
6EE8F3562695816000237A5E /* liblibNativeObj.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3442695816000237A5E /* liblibNativeObj.a */; };
6EE8F3582695818800237A5E /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3572695818800237A5E /* JavaScriptCore.framework */; }; 6EE8F3582695818800237A5E /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3572695818800237A5E /* JavaScriptCore.framework */; };
6EE8F35B2695819500237A5E /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3592695819500237A5E /* MediaPlayer.framework */; }; 6EE8F35B2695819500237A5E /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3592695819500237A5E /* MediaPlayer.framework */; };
6EE8F35C2695819500237A5E /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F35A2695819500237A5E /* CoreMedia.framework */; }; 6EE8F35C2695819500237A5E /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F35A2695819500237A5E /* CoreMedia.framework */; };
@ -29,10 +46,31 @@
6EE8F372269581F100237A5E /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F371269581F100237A5E /* AssetsLibrary.framework */; }; 6EE8F372269581F100237A5E /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F371269581F100237A5E /* AssetsLibrary.framework */; };
6EE8F376269581FB00237A5E /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F375269581FB00237A5E /* AddressBook.framework */; }; 6EE8F376269581FB00237A5E /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F375269581FB00237A5E /* AddressBook.framework */; };
6EE8F3782695820600237A5E /* libiconv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3772695820600237A5E /* libiconv.tbd */; }; 6EE8F3782695820600237A5E /* libiconv.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EE8F3772695820600237A5E /* libiconv.tbd */; };
6EE8F37F269582C200237A5E /* UniappPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 6EE8F37E269582C200237A5E /* UniappPlugin.m */; };
89319A6F26E237A5001EFBD7 /* __uniappes6.js in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6826E237A5001EFBD7 /* __uniappes6.js */; };
89319A7026E237A5001EFBD7 /* uni-jsframework.js in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6926E237A5001EFBD7 /* uni-jsframework.js */; };
89319A7126E237A5001EFBD7 /* PandoraApi.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6A26E237A5001EFBD7 /* PandoraApi.bundle */; };
89319A7226E237A5001EFBD7 /* unincomponents.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6B26E237A5001EFBD7 /* unincomponents.ttf */; };
89319A7326E237A5001EFBD7 /* userPosition@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6C26E237A5001EFBD7 /* userPosition@2x.png */; };
89319A7426E237A5001EFBD7 /* weex-polyfill.js in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6D26E237A5001EFBD7 /* weex-polyfill.js */; };
89319A7526E237A5001EFBD7 /* weexUniJs.js in Resources */ = {isa = PBXBuildFile; fileRef = 89319A6E26E237A5001EFBD7 /* weexUniJs.js */; };
899C4C3C26A5179900B44087 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 899C4C3E26A5179900B44087 /* InfoPlist.strings */; }; 899C4C3C26A5179900B44087 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 899C4C3E26A5179900B44087 /* InfoPlist.strings */; };
89A6269F26A7F6D30004A8F0 /* liblibPayment.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A6269E26A7F6D30004A8F0 /* liblibPayment.a */; };
89A626A126A7F6E30004A8F0 /* libwxpay.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626A026A7F6E30004A8F0 /* libwxpay.a */; };
89A626A526A7F71A0004A8F0 /* libsqlite3.0.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626A426A7F71A0004A8F0 /* libsqlite3.0.tbd */; }; 89A626A526A7F71A0004A8F0 /* libsqlite3.0.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626A426A7F71A0004A8F0 /* libsqlite3.0.tbd */; };
89A626A726A7FF910004A8F0 /* libWeChatSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626A626A7FF910004A8F0 /* libWeChatSDK.a */; };
89A626AC26A8002F0004A8F0 /* libWeChatSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626AB26A8002F0004A8F0 /* libWeChatSDK.a */; }; 89A626AC26A8002F0004A8F0 /* libWeChatSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89A626AB26A8002F0004A8F0 /* libWeChatSDK.a */; };
89A626B026A80E520004A8F0 /* AMapFoundationKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA4226A6800800DD2817 /* AMapFoundationKit.framework */; };
89A626B126A80E520004A8F0 /* AMapLocationKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA8C26A699A000DD2817 /* AMapLocationKit.framework */; };
89A626B226A80E520004A8F0 /* libAMapLocationPlugin.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA8826A6996300DD2817 /* libAMapLocationPlugin.a */; };
89A626B326A80E520004A8F0 /* liblibGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA8A26A6997E00DD2817 /* liblibGeolocation.a */; };
89AEFA3926A67F8400DD2817 /* libDCUniAmap.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA3826A67F8400DD2817 /* libDCUniAmap.a */; };
89AEFA3B26A67F9C00DD2817 /* libDCUniMap.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA3A26A67F9C00DD2817 /* libDCUniMap.a */; };
89AEFA3D26A67FB100DD2817 /* DCUniVideoPublic.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA3C26A67FB100DD2817 /* DCUniVideoPublic.framework */; };
89AEFA3F26A67FBD00DD2817 /* AMapSearchKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA3E26A67FBD00DD2817 /* AMapSearchKit.framework */; };
89AEFA4126A67FF100DD2817 /* MAMapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA4026A67FF100DD2817 /* MAMapKit.framework */; };
89AEFA4526A6802000DD2817 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA4426A6802000DD2817 /* MapKit.framework */; }; 89AEFA4526A6802000DD2817 /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA4426A6802000DD2817 /* MapKit.framework */; };
89AEFA8426A684D800DD2817 /* userPosition@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 89AEFA8226A684D700DD2817 /* userPosition@2x.png */; };
89AEFA8F26A699DE00DD2817 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA8E26A699DE00DD2817 /* libz.tbd */; }; 89AEFA8F26A699DE00DD2817 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA8E26A699DE00DD2817 /* libz.tbd */; };
89AEFA9126A69A2200DD2817 /* ExternalAccessory.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA9026A69A2200DD2817 /* ExternalAccessory.framework */; }; 89AEFA9126A69A2200DD2817 /* ExternalAccessory.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA9026A69A2200DD2817 /* ExternalAccessory.framework */; };
89AEFA9326A69A3600DD2817 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA9226A69A3600DD2817 /* Security.framework */; }; 89AEFA9326A69A3600DD2817 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89AEFA9226A69A3600DD2817 /* Security.framework */; };
@ -68,6 +106,98 @@
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
5EF160A708FC02BF05CE1076 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; }; 5EF160A708FC02BF05CE1076 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
6EE8F2E62695815A00237A5E /* __uniappes6.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = __uniappes6.js; sourceTree = "<group>"; };
6EE8F2E72695815A00237A5E /* uni-jsframework.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "uni-jsframework.js"; sourceTree = "<group>"; };
6EE8F2E82695815A00237A5E /* PandoraApi.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = PandoraApi.bundle; sourceTree = "<group>"; };
6EE8F2E92695815A00237A5E /* unincomponents.ttf */ = {isa = PBXFileReference; lastKnownFileType = text; path = unincomponents.ttf; sourceTree = "<group>"; };
6EE8F2EA2695815A00237A5E /* weex-polyfill.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "weex-polyfill.js"; sourceTree = "<group>"; };
6EE8F2EB2695815A00237A5E /* weexUniJs.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = weexUniJs.js; sourceTree = "<group>"; };
6EE8F2ED2695815C00237A5E /* DCUniMPSDKEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPSDKEngine.h; sourceTree = "<group>"; };
6EE8F2EE2695815C00237A5E /* DCUniMP.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMP.h; sourceTree = "<group>"; };
6EE8F2EF2695815C00237A5E /* DCUniMPConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPConfiguration.h; sourceTree = "<group>"; };
6EE8F2F02695815C00237A5E /* DCUniMPInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPInstance.h; sourceTree = "<group>"; };
6EE8F2F22695815C00237A5E /* WXModuleProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXModuleProtocol.h; sourceTree = "<group>"; };
6EE8F2F32695815C00237A5E /* WXResourceLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXResourceLoader.h; sourceTree = "<group>"; };
6EE8F2F42695815C00237A5E /* WXApmForInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApmForInstance.h; sourceTree = "<group>"; };
6EE8F2F52695815C00237A5E /* WXWebSocketHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXWebSocketHandler.h; sourceTree = "<group>"; };
6EE8F2F62695815C00237A5E /* WXImgLoaderProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXImgLoaderProtocol.h; sourceTree = "<group>"; };
6EE8F2F72695815C00237A5E /* WXComponentManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXComponentManager.h; sourceTree = "<group>"; };
6EE8F2F82695815C00237A5E /* WXScrollerProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXScrollerProtocol.h; sourceTree = "<group>"; };
6EE8F2F92695815C00237A5E /* WXRichText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXRichText.h; sourceTree = "<group>"; };
6EE8F2FA2695815C00237A5E /* WXView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXView.h; sourceTree = "<group>"; };
6EE8F2FB2695815C00237A5E /* WXValidateProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXValidateProtocol.h; sourceTree = "<group>"; };
6EE8F2FC2695815C00237A5E /* WXDefine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXDefine.h; sourceTree = "<group>"; };
6EE8F2FD2695815C00237A5E /* JSContext+Weex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "JSContext+Weex.h"; sourceTree = "<group>"; };
6EE8F2FE2695815C00237A5E /* WXExtendCallNativeProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXExtendCallNativeProtocol.h; sourceTree = "<group>"; };
6EE8F2FF2695815C00237A5E /* WXSDKEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXSDKEngine.h; sourceTree = "<group>"; };
6EE8F3002695815C00237A5E /* style.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = style.h; sourceTree = "<group>"; };
6EE8F3012695815C00237A5E /* WXResourceRequestHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXResourceRequestHandler.h; sourceTree = "<group>"; };
6EE8F3022695815C00237A5E /* WXDisplayLinkManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXDisplayLinkManager.h; sourceTree = "<group>"; };
6EE8F3032695815C00237A5E /* WXUtility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXUtility.h; sourceTree = "<group>"; };
6EE8F3042695815C00237A5E /* WXResourceRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXResourceRequest.h; sourceTree = "<group>"; };
6EE8F3052695815C00237A5E /* WXConvert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXConvert.h; sourceTree = "<group>"; };
6EE8F3062695815C00237A5E /* WXPageEventNotifyEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXPageEventNotifyEvent.h; sourceTree = "<group>"; };
6EE8F3072695815C00237A5E /* WXSDKInstance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXSDKInstance.h; sourceTree = "<group>"; };
6EE8F3082695815C00237A5E /* WXSDKManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXSDKManager.h; sourceTree = "<group>"; };
6EE8F3092695815C00237A5E /* WXDebugTool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXDebugTool.h; sourceTree = "<group>"; };
6EE8F30A2695815C00237A5E /* WXType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXType.h; sourceTree = "<group>"; };
6EE8F30B2695815C00237A5E /* WXApmProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApmProtocol.h; sourceTree = "<group>"; };
6EE8F30C2695815C00237A5E /* WXJSFrameworkLoadProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXJSFrameworkLoadProtocol.h; sourceTree = "<group>"; };
6EE8F30D2695815C00237A5E /* WXExceptionUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXExceptionUtils.h; sourceTree = "<group>"; };
6EE8F30E2695815C00237A5E /* WXIndicatorComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXIndicatorComponent.h; sourceTree = "<group>"; };
6EE8F30F2695815C00237A5E /* WXErrorView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXErrorView.h; sourceTree = "<group>"; };
6EE8F3102695815C00237A5E /* NSObject+WXSwizzle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject+WXSwizzle.h"; sourceTree = "<group>"; };
6EE8F3112695815C00237A5E /* WXMonitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXMonitor.h; sourceTree = "<group>"; };
6EE8F3122695815C00237A5E /* WXSDKInstance+DCExtend.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "WXSDKInstance+DCExtend.h"; sourceTree = "<group>"; };
6EE8F3132695815C00237A5E /* WXRecyclerComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXRecyclerComponent.h; sourceTree = "<group>"; };
6EE8F3142695815C00237A5E /* WXScrollerComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXScrollerComponent.h; sourceTree = "<group>"; };
6EE8F3152695815C00237A5E /* WXNetworkProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXNetworkProtocol.h; sourceTree = "<group>"; };
6EE8F3162695815C00237A5E /* WXTracingManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXTracingManager.h; sourceTree = "<group>"; };
6EE8F3172695815C00237A5E /* WXComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXComponent.h; sourceTree = "<group>"; };
6EE8F3182695815C00237A5E /* WXPrerenderManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXPrerenderManager.h; sourceTree = "<group>"; };
6EE8F3192695815C00237A5E /* WXComponent+Layout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "WXComponent+Layout.h"; sourceTree = "<group>"; };
6EE8F31A2695815C00237A5E /* layout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = layout.h; sourceTree = "<group>"; };
6EE8F31B2695815C00237A5E /* WXSDKInstance+Bridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "WXSDKInstance+Bridge.h"; sourceTree = "<group>"; };
6EE8F31C2695815C00237A5E /* UniPluginProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UniPluginProtocol.h; sourceTree = "<group>"; };
6EE8F31D2695815C00237A5E /* WXModalUIModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXModalUIModule.h; sourceTree = "<group>"; };
6EE8F31E2695815C00237A5E /* WXAnalyzerCenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAnalyzerCenter.h; sourceTree = "<group>"; };
6EE8F31F2695815C00237A5E /* WXVoiceOverModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXVoiceOverModule.h; sourceTree = "<group>"; };
6EE8F3202695815C00237A5E /* WXRootView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXRootView.h; sourceTree = "<group>"; };
6EE8F3212695815C00237A5E /* WXAppConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAppConfiguration.h; sourceTree = "<group>"; };
6EE8F3222695815C00237A5E /* WXListComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXListComponent.h; sourceTree = "<group>"; };
6EE8F3232695815C00237A5E /* WXSDKError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXSDKError.h; sourceTree = "<group>"; };
6EE8F3242695815C00237A5E /* WXRootViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXRootViewController.h; sourceTree = "<group>"; };
6EE8F3252695815C00237A5E /* WXNavigationProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXNavigationProtocol.h; sourceTree = "<group>"; };
6EE8F3262695815C00237A5E /* WXAnalyzerProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAnalyzerProtocol.h; sourceTree = "<group>"; };
6EE8F3272695815C00237A5E /* WeexSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WeexSDK.h; sourceTree = "<group>"; };
6EE8F3282695815C00237A5E /* WXBridgeManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXBridgeManager.h; sourceTree = "<group>"; };
6EE8F3292695815C00237A5E /* WXResourceResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXResourceResponse.h; sourceTree = "<group>"; };
6EE8F32A2695815C00237A5E /* WXBaseViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXBaseViewController.h; sourceTree = "<group>"; };
6EE8F32B2695815C00237A5E /* WXAppMonitorProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAppMonitorProtocol.h; sourceTree = "<group>"; };
6EE8F32C2695815C00237A5E /* WeexProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WeexProtocol.h; sourceTree = "<group>"; };
6EE8F32D2695815C00237A5E /* WXJSExceptionProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXJSExceptionProtocol.h; sourceTree = "<group>"; };
6EE8F32E2695815C00237A5E /* WXJSExceptionInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXJSExceptionInfo.h; sourceTree = "<group>"; };
6EE8F32F2695815C00237A5E /* WXTracingProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXTracingProtocol.h; sourceTree = "<group>"; };
6EE8F3302695815C00237A5E /* flex_enum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = flex_enum.h; sourceTree = "<group>"; };
6EE8F3312695815C00237A5E /* WXConfigCenterProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXConfigCenterProtocol.h; sourceTree = "<group>"; };
6EE8F3322695815C00237A5E /* WXEventModuleProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXEventModuleProtocol.h; sourceTree = "<group>"; };
6EE8F3332695815C00237A5E /* WXURLRewriteProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXURLRewriteProtocol.h; sourceTree = "<group>"; };
6EE8F3342695815C00237A5E /* WXAComponent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXAComponent.h; sourceTree = "<group>"; };
6EE8F3352695815C00237A5E /* WXBridgeProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXBridgeProtocol.h; sourceTree = "<group>"; };
6EE8F3362695815C00237A5E /* DCUniMPError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPError.h; sourceTree = "<group>"; };
6EE8F3372695815C00237A5E /* DCUniMPMenuActionSheetStyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DCUniMPMenuActionSheetStyle.h; sourceTree = "<group>"; };
6EE8F3392695816000237A5E /* libSDWebImage.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libSDWebImage.a; sourceTree = "<group>"; };
6EE8F33A2695816000237A5E /* liblibIO.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibIO.a; sourceTree = "<group>"; };
6EE8F33B2695816000237A5E /* liblibWeex.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibWeex.a; sourceTree = "<group>"; };
6EE8F33C2695816000237A5E /* liblibPDRCore.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibPDRCore.a; sourceTree = "<group>"; };
6EE8F33D2695816000237A5E /* liblibNativeUI.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibNativeUI.a; sourceTree = "<group>"; };
6EE8F33E2695816000237A5E /* liblibUI.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibUI.a; sourceTree = "<group>"; };
6EE8F33F2695816000237A5E /* libcoreSupport.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libcoreSupport.a; sourceTree = "<group>"; };
6EE8F3402695816000237A5E /* liblibStorage.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibStorage.a; sourceTree = "<group>"; };
6EE8F3412695816000237A5E /* liblibPGInvocation.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibPGInvocation.a; sourceTree = "<group>"; };
6EE8F3422695816000237A5E /* liblibNavigator.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibNavigator.a; sourceTree = "<group>"; };
6EE8F3432695816000237A5E /* storage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = storage.framework; sourceTree = "<group>"; };
6EE8F3442695816000237A5E /* liblibNativeObj.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibNativeObj.a; sourceTree = "<group>"; };
6EE8F3572695818800237A5E /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 6EE8F3572695818800237A5E /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
6EE8F3592695819500237A5E /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; }; 6EE8F3592695819500237A5E /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; };
6EE8F35A2695819500237A5E /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; }; 6EE8F35A2695819500237A5E /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; };
@ -85,10 +215,19 @@
6EE8F373269581F600237A5E /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; }; 6EE8F373269581F600237A5E /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
6EE8F375269581FB00237A5E /* AddressBook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBook.framework; path = System/Library/Frameworks/AddressBook.framework; sourceTree = SDKROOT; }; 6EE8F375269581FB00237A5E /* AddressBook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBook.framework; path = System/Library/Frameworks/AddressBook.framework; sourceTree = SDKROOT; };
6EE8F3772695820600237A5E /* libiconv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libiconv.tbd; path = usr/lib/libiconv.tbd; sourceTree = SDKROOT; }; 6EE8F3772695820600237A5E /* libiconv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libiconv.tbd; path = usr/lib/libiconv.tbd; sourceTree = SDKROOT; };
6EE8F37D269582C200237A5E /* UniappPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UniappPlugin.h; sourceTree = "<group>"; };
6EE8F37E269582C200237A5E /* UniappPlugin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UniappPlugin.m; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
7AFFD8EE1D35381100E5BB4D /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppDelegate.mm; sourceTree = "<group>"; }; 7AFFD8EE1D35381100E5BB4D /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppDelegate.mm; sourceTree = "<group>"; };
81880E8F5E90EA6E5E0D57EB /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; }; 81880E8F5E90EA6E5E0D57EB /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
89319A6826E237A5001EFBD7 /* __uniappes6.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = __uniappes6.js; sourceTree = "<group>"; };
89319A6926E237A5001EFBD7 /* uni-jsframework.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "uni-jsframework.js"; sourceTree = "<group>"; };
89319A6A26E237A5001EFBD7 /* PandoraApi.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = PandoraApi.bundle; sourceTree = "<group>"; };
89319A6B26E237A5001EFBD7 /* unincomponents.ttf */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = unincomponents.ttf; sourceTree = "<group>"; };
89319A6C26E237A5001EFBD7 /* userPosition@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "userPosition@2x.png"; sourceTree = "<group>"; };
89319A6D26E237A5001EFBD7 /* weex-polyfill.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = "weex-polyfill.js"; sourceTree = "<group>"; };
89319A6E26E237A5001EFBD7 /* weexUniJs.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = weexUniJs.js; sourceTree = "<group>"; };
89847A4826A14482008C8077 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; }; 89847A4826A14482008C8077 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
899C4C3826A5171500B44087 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Main.strings"; sourceTree = "<group>"; }; 899C4C3826A5171500B44087 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Main.strings"; sourceTree = "<group>"; };
899C4C3926A5171500B44087 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = "<group>"; }; 899C4C3926A5171500B44087 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = "<group>"; };
@ -97,12 +236,25 @@
899C4C3D26A5179900B44087 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 899C4C3D26A5179900B44087 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
899C4C3F26A5179F00B44087 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; }; 899C4C3F26A5179F00B44087 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
899C4C4026A517A000B44087 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/InfoPlist.strings"; sourceTree = "<group>"; }; 899C4C4026A517A000B44087 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/InfoPlist.strings"; sourceTree = "<group>"; };
89A6269E26A7F6D30004A8F0 /* liblibPayment.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibPayment.a; sourceTree = "<group>"; };
89A626A026A7F6E30004A8F0 /* libwxpay.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libwxpay.a; sourceTree = "<group>"; };
89A626A426A7F71A0004A8F0 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; }; 89A626A426A7F71A0004A8F0 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; };
89A626A626A7FF910004A8F0 /* libWeChatSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeChatSDK.a; sourceTree = "<group>"; };
89A626AB26A8002F0004A8F0 /* libWeChatSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeChatSDK.a; sourceTree = "<group>"; }; 89A626AB26A8002F0004A8F0 /* libWeChatSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeChatSDK.a; sourceTree = "<group>"; };
89A626AD26A800390004A8F0 /* WechatAuthSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WechatAuthSDK.h; sourceTree = "<group>"; }; 89A626AD26A800390004A8F0 /* WechatAuthSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WechatAuthSDK.h; sourceTree = "<group>"; };
89A626AE26A800390004A8F0 /* WXApiObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApiObject.h; sourceTree = "<group>"; }; 89A626AE26A800390004A8F0 /* WXApiObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApiObject.h; sourceTree = "<group>"; };
89A626AF26A800390004A8F0 /* WXApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApi.h; sourceTree = "<group>"; }; 89A626AF26A800390004A8F0 /* WXApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApi.h; sourceTree = "<group>"; };
89AEFA3826A67F8400DD2817 /* libDCUniAmap.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libDCUniAmap.a; sourceTree = "<group>"; };
89AEFA3A26A67F9C00DD2817 /* libDCUniMap.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libDCUniMap.a; sourceTree = "<group>"; };
89AEFA3C26A67FB100DD2817 /* DCUniVideoPublic.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = DCUniVideoPublic.framework; sourceTree = "<group>"; };
89AEFA3E26A67FBD00DD2817 /* AMapSearchKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AMapSearchKit.framework; sourceTree = "<group>"; };
89AEFA4026A67FF100DD2817 /* MAMapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = MAMapKit.framework; sourceTree = "<group>"; };
89AEFA4226A6800800DD2817 /* AMapFoundationKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AMapFoundationKit.framework; sourceTree = "<group>"; };
89AEFA4426A6802000DD2817 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = System/Library/Frameworks/MapKit.framework; sourceTree = SDKROOT; }; 89AEFA4426A6802000DD2817 /* MapKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MapKit.framework; path = System/Library/Frameworks/MapKit.framework; sourceTree = SDKROOT; };
89AEFA8226A684D700DD2817 /* userPosition@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "userPosition@2x.png"; sourceTree = "<group>"; };
89AEFA8826A6996300DD2817 /* libAMapLocationPlugin.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libAMapLocationPlugin.a; sourceTree = "<group>"; };
89AEFA8A26A6997E00DD2817 /* liblibGeolocation.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = liblibGeolocation.a; sourceTree = "<group>"; };
89AEFA8C26A699A000DD2817 /* AMapLocationKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AMapLocationKit.framework; sourceTree = "<group>"; };
89AEFA8E26A699DE00DD2817 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; 89AEFA8E26A699DE00DD2817 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
89AEFA9026A69A2200DD2817 /* ExternalAccessory.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ExternalAccessory.framework; path = System/Library/Frameworks/ExternalAccessory.framework; sourceTree = SDKROOT; }; 89AEFA9026A69A2200DD2817 /* ExternalAccessory.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ExternalAccessory.framework; path = System/Library/Frameworks/ExternalAccessory.framework; sourceTree = SDKROOT; };
89AEFA9226A69A3600DD2817 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; 89AEFA9226A69A3600DD2817 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
@ -132,16 +284,26 @@
89AEFA9326A69A3600DD2817 /* Security.framework in Frameworks */, 89AEFA9326A69A3600DD2817 /* Security.framework in Frameworks */,
89AEFA9526A69A4800DD2817 /* SystemConfiguration.framework in Frameworks */, 89AEFA9526A69A4800DD2817 /* SystemConfiguration.framework in Frameworks */,
05C5426F26BBE8FE00D26AC2 /* CoreLocation.framework in Frameworks */, 05C5426F26BBE8FE00D26AC2 /* CoreLocation.framework in Frameworks */,
05C5426026BB9CEB00D26AC2 /* liblibIO.a in Frameworks */,
89A626B026A80E520004A8F0 /* AMapFoundationKit.framework in Frameworks */,
89A626B126A80E520004A8F0 /* AMapLocationKit.framework in Frameworks */,
89A626B226A80E520004A8F0 /* libAMapLocationPlugin.a in Frameworks */,
89A626B326A80E520004A8F0 /* liblibGeolocation.a in Frameworks */,
89AEFA8F26A699DE00DD2817 /* libz.tbd in Frameworks */, 89AEFA8F26A699DE00DD2817 /* libz.tbd in Frameworks */,
89A6269F26A7F6D30004A8F0 /* liblibPayment.a in Frameworks */,
6EE8F362269581AF00237A5E /* GLKit.framework in Frameworks */, 6EE8F362269581AF00237A5E /* GLKit.framework in Frameworks */,
89AEFA9126A69A2200DD2817 /* ExternalAccessory.framework in Frameworks */, 89AEFA9126A69A2200DD2817 /* ExternalAccessory.framework in Frameworks */,
89AEFA4526A6802000DD2817 /* MapKit.framework in Frameworks */, 89AEFA4526A6802000DD2817 /* MapKit.framework in Frameworks */,
89AEFA3D26A67FB100DD2817 /* DCUniVideoPublic.framework in Frameworks */,
6EE8F3782695820600237A5E /* libiconv.tbd in Frameworks */, 6EE8F3782695820600237A5E /* libiconv.tbd in Frameworks */,
6EE8F376269581FB00237A5E /* AddressBook.framework in Frameworks */, 6EE8F376269581FB00237A5E /* AddressBook.framework in Frameworks */,
6EE8F372269581F100237A5E /* AssetsLibrary.framework in Frameworks */, 6EE8F372269581F100237A5E /* AssetsLibrary.framework in Frameworks */,
89AEFA3B26A67F9C00DD2817 /* libDCUniMap.a in Frameworks */,
6EE8F36E269581E300237A5E /* QuickLook.framework in Frameworks */, 6EE8F36E269581E300237A5E /* QuickLook.framework in Frameworks */,
89AEFA4126A67FF100DD2817 /* MAMapKit.framework in Frameworks */,
6EE8F36A269581CC00237A5E /* CoreGraphics.framework in Frameworks */, 6EE8F36A269581CC00237A5E /* CoreGraphics.framework in Frameworks */,
6EE8F368269581C300237A5E /* QuartzCore.framework in Frameworks */, 6EE8F368269581C300237A5E /* QuartzCore.framework in Frameworks */,
89AEFA3926A67F8400DD2817 /* libDCUniAmap.a in Frameworks */,
6EE8F366269581BC00237A5E /* CoreText.framework in Frameworks */, 6EE8F366269581BC00237A5E /* CoreText.framework in Frameworks */,
6EE8F364269581B600237A5E /* OpenGLES.framework in Frameworks */, 6EE8F364269581B600237A5E /* OpenGLES.framework in Frameworks */,
6EE8F35F269581A300237A5E /* AVFoundation.framework in Frameworks */, 6EE8F35F269581A300237A5E /* AVFoundation.framework in Frameworks */,
@ -149,9 +311,22 @@
6EE8F35B2695819500237A5E /* MediaPlayer.framework in Frameworks */, 6EE8F35B2695819500237A5E /* MediaPlayer.framework in Frameworks */,
6EE8F35C2695819500237A5E /* CoreMedia.framework in Frameworks */, 6EE8F35C2695819500237A5E /* CoreMedia.framework in Frameworks */,
6EE8F3582695818800237A5E /* JavaScriptCore.framework in Frameworks */, 6EE8F3582695818800237A5E /* JavaScriptCore.framework in Frameworks */,
6EE8F3542695816000237A5E /* liblibNavigator.a in Frameworks */,
89A626A126A7F6E30004A8F0 /* libwxpay.a in Frameworks */,
6EE8F3502695816000237A5E /* liblibUI.a in Frameworks */,
89AEFA3F26A67FBD00DD2817 /* AMapSearchKit.framework in Frameworks */,
C9444B3318AB7FB815E97950 /* libPods-Runner.a in Frameworks */, C9444B3318AB7FB815E97950 /* libPods-Runner.a in Frameworks */,
6EE8F3522695816000237A5E /* liblibStorage.a in Frameworks */,
6EE8F34D2695816000237A5E /* liblibWeex.a in Frameworks */,
6EE8F3552695816000237A5E /* storage.framework in Frameworks */,
05C5427426BCE3AC00D26AC2 /* BMKLocationKit.framework in Frameworks */, 05C5427426BCE3AC00D26AC2 /* BMKLocationKit.framework in Frameworks */,
89A626A726A7FF910004A8F0 /* libWeChatSDK.a in Frameworks */,
89A626AC26A8002F0004A8F0 /* libWeChatSDK.a in Frameworks */, 89A626AC26A8002F0004A8F0 /* libWeChatSDK.a in Frameworks */,
6EE8F3562695816000237A5E /* liblibNativeObj.a in Frameworks */,
6EE8F3532695816000237A5E /* liblibPGInvocation.a in Frameworks */,
6EE8F34B2695816000237A5E /* libSDWebImage.a in Frameworks */,
6EE8F34F2695816000237A5E /* liblibNativeUI.a in Frameworks */,
6EE8F34E2695816000237A5E /* liblibPDRCore.a in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -210,6 +385,174 @@
path = Pods; path = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
6EE8F2E32695806400237A5E /* Class */ = {
isa = PBXGroup;
children = (
6EE8F37D269582C200237A5E /* UniappPlugin.h */,
6EE8F37E269582C200237A5E /* UniappPlugin.m */,
);
path = Class;
sourceTree = SOURCE_ROOT;
};
6EE8F2E42695813500237A5E /* UniMPSDK */ = {
isa = PBXGroup;
children = (
6EE8F2EC2695815C00237A5E /* Headers */,
6EE8F3382695816000237A5E /* Libs */,
6EE8F2E52695815A00237A5E /* Resources */,
);
path = UniMPSDK;
sourceTree = SOURCE_ROOT;
};
6EE8F2E52695815A00237A5E /* Resources */ = {
isa = PBXGroup;
children = (
89319A6726E237A5001EFBD7 /* Resources */,
89AEFA8226A684D700DD2817 /* userPosition@2x.png */,
6EE8F2E62695815A00237A5E /* __uniappes6.js */,
6EE8F2E72695815A00237A5E /* uni-jsframework.js */,
6EE8F2E82695815A00237A5E /* PandoraApi.bundle */,
6EE8F2E92695815A00237A5E /* unincomponents.ttf */,
6EE8F2EA2695815A00237A5E /* weex-polyfill.js */,
6EE8F2EB2695815A00237A5E /* weexUniJs.js */,
);
path = Resources;
sourceTree = "<group>";
};
6EE8F2EC2695815C00237A5E /* Headers */ = {
isa = PBXGroup;
children = (
6EE8F2ED2695815C00237A5E /* DCUniMPSDKEngine.h */,
6EE8F2EE2695815C00237A5E /* DCUniMP.h */,
6EE8F2EF2695815C00237A5E /* DCUniMPConfiguration.h */,
6EE8F2F02695815C00237A5E /* DCUniMPInstance.h */,
6EE8F2F12695815C00237A5E /* weexHeader */,
6EE8F3362695815C00237A5E /* DCUniMPError.h */,
6EE8F3372695815C00237A5E /* DCUniMPMenuActionSheetStyle.h */,
);
path = Headers;
sourceTree = "<group>";
};
6EE8F2F12695815C00237A5E /* weexHeader */ = {
isa = PBXGroup;
children = (
6EE8F2F22695815C00237A5E /* WXModuleProtocol.h */,
6EE8F2F32695815C00237A5E /* WXResourceLoader.h */,
6EE8F2F42695815C00237A5E /* WXApmForInstance.h */,
6EE8F2F52695815C00237A5E /* WXWebSocketHandler.h */,
6EE8F2F62695815C00237A5E /* WXImgLoaderProtocol.h */,
6EE8F2F72695815C00237A5E /* WXComponentManager.h */,
6EE8F2F82695815C00237A5E /* WXScrollerProtocol.h */,
6EE8F2F92695815C00237A5E /* WXRichText.h */,
6EE8F2FA2695815C00237A5E /* WXView.h */,
6EE8F2FB2695815C00237A5E /* WXValidateProtocol.h */,
6EE8F2FC2695815C00237A5E /* WXDefine.h */,
6EE8F2FD2695815C00237A5E /* JSContext+Weex.h */,
6EE8F2FE2695815C00237A5E /* WXExtendCallNativeProtocol.h */,
6EE8F2FF2695815C00237A5E /* WXSDKEngine.h */,
6EE8F3002695815C00237A5E /* style.h */,
6EE8F3012695815C00237A5E /* WXResourceRequestHandler.h */,
6EE8F3022695815C00237A5E /* WXDisplayLinkManager.h */,
6EE8F3032695815C00237A5E /* WXUtility.h */,
6EE8F3042695815C00237A5E /* WXResourceRequest.h */,
6EE8F3052695815C00237A5E /* WXConvert.h */,
6EE8F3062695815C00237A5E /* WXPageEventNotifyEvent.h */,
6EE8F3072695815C00237A5E /* WXSDKInstance.h */,
6EE8F3082695815C00237A5E /* WXSDKManager.h */,
6EE8F3092695815C00237A5E /* WXDebugTool.h */,
6EE8F30A2695815C00237A5E /* WXType.h */,
6EE8F30B2695815C00237A5E /* WXApmProtocol.h */,
6EE8F30C2695815C00237A5E /* WXJSFrameworkLoadProtocol.h */,
6EE8F30D2695815C00237A5E /* WXExceptionUtils.h */,
6EE8F30E2695815C00237A5E /* WXIndicatorComponent.h */,
6EE8F30F2695815C00237A5E /* WXErrorView.h */,
6EE8F3102695815C00237A5E /* NSObject+WXSwizzle.h */,
6EE8F3112695815C00237A5E /* WXMonitor.h */,
6EE8F3122695815C00237A5E /* WXSDKInstance+DCExtend.h */,
6EE8F3132695815C00237A5E /* WXRecyclerComponent.h */,
6EE8F3142695815C00237A5E /* WXScrollerComponent.h */,
6EE8F3152695815C00237A5E /* WXNetworkProtocol.h */,
6EE8F3162695815C00237A5E /* WXTracingManager.h */,
6EE8F3172695815C00237A5E /* WXComponent.h */,
6EE8F3182695815C00237A5E /* WXPrerenderManager.h */,
6EE8F3192695815C00237A5E /* WXComponent+Layout.h */,
6EE8F31A2695815C00237A5E /* layout.h */,
6EE8F31B2695815C00237A5E /* WXSDKInstance+Bridge.h */,
6EE8F31C2695815C00237A5E /* UniPluginProtocol.h */,
6EE8F31D2695815C00237A5E /* WXModalUIModule.h */,
6EE8F31E2695815C00237A5E /* WXAnalyzerCenter.h */,
6EE8F31F2695815C00237A5E /* WXVoiceOverModule.h */,
6EE8F3202695815C00237A5E /* WXRootView.h */,
6EE8F3212695815C00237A5E /* WXAppConfiguration.h */,
6EE8F3222695815C00237A5E /* WXListComponent.h */,
6EE8F3232695815C00237A5E /* WXSDKError.h */,
6EE8F3242695815C00237A5E /* WXRootViewController.h */,
6EE8F3252695815C00237A5E /* WXNavigationProtocol.h */,
6EE8F3262695815C00237A5E /* WXAnalyzerProtocol.h */,
6EE8F3272695815C00237A5E /* WeexSDK.h */,
6EE8F3282695815C00237A5E /* WXBridgeManager.h */,
6EE8F3292695815C00237A5E /* WXResourceResponse.h */,
6EE8F32A2695815C00237A5E /* WXBaseViewController.h */,
6EE8F32B2695815C00237A5E /* WXAppMonitorProtocol.h */,
6EE8F32C2695815C00237A5E /* WeexProtocol.h */,
6EE8F32D2695815C00237A5E /* WXJSExceptionProtocol.h */,
6EE8F32E2695815C00237A5E /* WXJSExceptionInfo.h */,
6EE8F32F2695815C00237A5E /* WXTracingProtocol.h */,
6EE8F3302695815C00237A5E /* flex_enum.h */,
6EE8F3312695815C00237A5E /* WXConfigCenterProtocol.h */,
6EE8F3322695815C00237A5E /* WXEventModuleProtocol.h */,
6EE8F3332695815C00237A5E /* WXURLRewriteProtocol.h */,
6EE8F3342695815C00237A5E /* WXAComponent.h */,
6EE8F3352695815C00237A5E /* WXBridgeProtocol.h */,
);
path = weexHeader;
sourceTree = "<group>";
};
6EE8F3382695816000237A5E /* Libs */ = {
isa = PBXGroup;
children = (
89A626A626A7FF910004A8F0 /* libWeChatSDK.a */,
89A626A026A7F6E30004A8F0 /* libwxpay.a */,
89A6269E26A7F6D30004A8F0 /* liblibPayment.a */,
89AEFA8C26A699A000DD2817 /* AMapLocationKit.framework */,
89AEFA8A26A6997E00DD2817 /* liblibGeolocation.a */,
89AEFA8826A6996300DD2817 /* libAMapLocationPlugin.a */,
89AEFA4226A6800800DD2817 /* AMapFoundationKit.framework */,
89AEFA4026A67FF100DD2817 /* MAMapKit.framework */,
89AEFA3E26A67FBD00DD2817 /* AMapSearchKit.framework */,
89AEFA3C26A67FB100DD2817 /* DCUniVideoPublic.framework */,
89AEFA3A26A67F9C00DD2817 /* libDCUniMap.a */,
89AEFA3826A67F8400DD2817 /* libDCUniAmap.a */,
6EE8F3392695816000237A5E /* libSDWebImage.a */,
6EE8F33A2695816000237A5E /* liblibIO.a */,
6EE8F33B2695816000237A5E /* liblibWeex.a */,
6EE8F33C2695816000237A5E /* liblibPDRCore.a */,
6EE8F33D2695816000237A5E /* liblibNativeUI.a */,
6EE8F33E2695816000237A5E /* liblibUI.a */,
6EE8F33F2695816000237A5E /* libcoreSupport.a */,
6EE8F3402695816000237A5E /* liblibStorage.a */,
6EE8F3412695816000237A5E /* liblibPGInvocation.a */,
6EE8F3422695816000237A5E /* liblibNavigator.a */,
6EE8F3432695816000237A5E /* storage.framework */,
6EE8F3442695816000237A5E /* liblibNativeObj.a */,
);
path = Libs;
sourceTree = "<group>";
};
89319A6726E237A5001EFBD7 /* Resources */ = {
isa = PBXGroup;
children = (
89319A6826E237A5001EFBD7 /* __uniappes6.js */,
89319A6926E237A5001EFBD7 /* uni-jsframework.js */,
89319A6A26E237A5001EFBD7 /* PandoraApi.bundle */,
89319A6B26E237A5001EFBD7 /* unincomponents.ttf */,
89319A6C26E237A5001EFBD7 /* userPosition@2x.png */,
89319A6D26E237A5001EFBD7 /* weex-polyfill.js */,
89319A6E26E237A5001EFBD7 /* weexUniJs.js */,
);
name = Resources;
sourceTree = "<group>";
};
89A626A826A7FFF30004A8F0 /* wx */ = { 89A626A826A7FFF30004A8F0 /* wx */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -274,6 +617,8 @@
05C5426126BBE82E00D26AC2 /* baidu */, 05C5426126BBE82E00D26AC2 /* baidu */,
89A626A826A7FFF30004A8F0 /* wx */, 89A626A826A7FFF30004A8F0 /* wx */,
89847A4826A14482008C8077 /* Runner.entitlements */, 89847A4826A14482008C8077 /* Runner.entitlements */,
6EE8F2E42695813500237A5E /* UniMPSDK */,
6EE8F2E32695806400237A5E /* Class */,
7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
7AFFD8EE1D35381100E5BB4D /* AppDelegate.mm */, 7AFFD8EE1D35381100E5BB4D /* AppDelegate.mm */,
97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FA1CF9000F007C117D /* Main.storyboard */,
@ -362,11 +707,25 @@
isa = PBXResourcesBuildPhase; isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
89319A6F26E237A5001EFBD7 /* __uniappes6.js in Resources */,
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
89319A7526E237A5001EFBD7 /* weexUniJs.js in Resources */,
6EE8F3452695816000237A5E /* __uniappes6.js in Resources */,
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
6EE8F3472695816000237A5E /* PandoraApi.bundle in Resources */,
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
89319A7126E237A5001EFBD7 /* PandoraApi.bundle in Resources */,
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
6EE8F3482695816000237A5E /* unincomponents.ttf in Resources */,
6EE8F34A2695816000237A5E /* weexUniJs.js in Resources */,
6EE8F3492695816000237A5E /* weex-polyfill.js in Resources */,
89AEFA8426A684D800DD2817 /* userPosition@2x.png in Resources */,
899C4C3C26A5179900B44087 /* InfoPlist.strings in Resources */, 899C4C3C26A5179900B44087 /* InfoPlist.strings in Resources */,
89319A7326E237A5001EFBD7 /* userPosition@2x.png in Resources */,
6EE8F3462695816000237A5E /* uni-jsframework.js in Resources */,
89319A7226E237A5001EFBD7 /* unincomponents.ttf in Resources */,
89319A7426E237A5001EFBD7 /* weex-polyfill.js in Resources */,
89319A7026E237A5001EFBD7 /* uni-jsframework.js in Resources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -448,6 +807,7 @@
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
978B8F6F1D3862AE00F588F7 /* AppDelegate.mm in Sources */, 978B8F6F1D3862AE00F588F7 /* AppDelegate.mm in Sources */,
6EE8F37F269582C200237A5E /* UniappPlugin.m in Sources */,
97C146F31CF9000F007C117D /* main.m in Sources */, 97C146F31CF9000F007C117D /* main.m in Sources */,
0558860326BD10CA00FB1CFE /* test.swift in Sources */, 0558860326BD10CA00FB1CFE /* test.swift in Sources */,
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
@ -552,7 +912,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 42; CURRENT_PROJECT_VERSION = 41;
DEVELOPMENT_TEAM = YF3Q8DVP52; DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -602,7 +962,7 @@
"$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu", "$(PROJECT_DIR)/Runner/baidu",
); );
MARKETING_VERSION = 1.0.42; MARKETING_VERSION = 1.0.41;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
@ -789,7 +1149,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 42; CURRENT_PROJECT_VERSION = 41;
DEVELOPMENT_TEAM = YF3Q8DVP52; DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -839,7 +1199,7 @@
"$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu", "$(PROJECT_DIR)/Runner/baidu",
); );
MARKETING_VERSION = 1.0.42; MARKETING_VERSION = 1.0.41;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
@ -918,7 +1278,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 42; CURRENT_PROJECT_VERSION = 41;
DEVELOPMENT_TEAM = YF3Q8DVP52; DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -968,7 +1328,7 @@
"$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu", "$(PROJECT_DIR)/Runner/baidu",
); );
MARKETING_VERSION = 1.0.42; MARKETING_VERSION = 1.0.41;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",

61
ios/Runner/AppDelegate.mm

@ -1,5 +1,7 @@
#import "AppDelegate.h" #import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h" #import "GeneratedPluginRegistrant.h"
#import "DCUniMP.h"
#import "UniappPlugin.h"
#import "WXApi.h" #import "WXApi.h"
@ -10,8 +12,63 @@
[GeneratedPluginRegistrant registerWithRegistry:self]; [GeneratedPluginRegistrant registerWithRegistry:self];
// Override point for customization after application launch. // Override point for customization after application launch.
FlutterViewController* controller = (FlutterViewController*)self.window.rootViewController;
// 配置参数
NSMutableDictionary *options = [NSMutableDictionary dictionaryWithDictionary:launchOptions];
// 设置 debug YES 会在控制台输出 js log,默认不输出 log,注:需要引入 liblibLog.a 库
[options setObject:[NSNumber numberWithBool:YES] forKey:@"debug"];
[DCUniMPSDKEngine initSDKEnvironmentWithLaunchOptions:options ];
FlutterViewController* controller = (FlutterViewController*)self.window.rootViewController;
FlutterMethodChannel* uniAppChannel = [FlutterMethodChannel methodChannelWithName:@"min" binaryMessenger:(NSObject<FlutterBinaryMessenger> *)controller];
UniappPlugin * plugin = [[UniappPlugin alloc] init];
[DCUniMPSDKEngine setDelegate:plugin];
[uniAppChannel setMethodCallHandler:^(FlutterMethodCall * _Nonnull call, FlutterResult _Nonnull result) {
NSString * method = call.method;
if ([method isEqual:@"initialize"] || [method isEqual:@"isInitialize"]) {
result([NSNumber numberWithBool:YES]);
}
//是否已经解压过了
if ([method isEqual:@"isExistsApp"]) {
NSString * appid = [call.arguments valueForKey:@"appid"];
[DCUniMPSDKEngine isExistsApp:appid] ? result([NSNumber numberWithBool:YES]): result([NSNumber numberWithBool:NO]);
}
if ([method isEqual:@"closeCurrentApp"]) {
[DCUniMPSDKEngine closeUniMP];
}
if ([method isEqual:@"getAppBasePath"]) {
NSString * appid = [call.arguments valueForKey:@"appid"];
result([DCUniMPSDKEngine getAppRunPathWithAppid:appid]);
}
if ([method isEqual:@"runingAppid"]) {
result([DCUniMPSDKEngine getActiveUniMPAppid]);
}
if ([method isEqual:@"currentPageUrl"]) {
result([DCUniMPSDKEngine getCurrentPageUrl]);
}
if ([method isEqual:@"startMin"]) {
NSLog(@"call.arguments:%@",call.arguments);
NSString * appid = [call.arguments valueForKey:@"appid"];
NSDictionary* dict = [call.arguments objectForKey:@"json"];
[plugin openUniApp:appid dict:dict];
result(@"");
}
if ([method isEqual:@"getAppVersionInfo"]) {
NSString * appid = [call.arguments valueForKey:@"appid"];
result([[DCUniMPSDKEngine getUniMPVersionInfoWithAppid:appid] valueForKey:@"name"]);
}
if ([method isEqual:@"reloadWgt"]) {
NSString * appid = [call.arguments valueForKey:@"appid"];
NSString * wgtPath = [call.arguments valueForKey:@"wgtPath"];
BOOL r = [DCUniMPSDKEngine releaseAppResourceToRunPathWithAppid:appid resourceFilePath:wgtPath];
r ? result([NSNumber numberWithBool:YES]) : result([NSNumber numberWithBool:NO]);
}
//这是原来的下载
if ([call.method isEqual:@"openUniApp"]) {
result(@"这是原来的下载。");
}
//result(FlutterMethodNotImplemented);
}];
// 消息内容获取 // 消息内容获取
__block NSDictionary *remoteNotification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]; __block NSDictionary *remoteNotification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
@ -73,7 +130,7 @@
//result(FlutterMethodNotImplemented); //result(FlutterMethodNotImplemented);
}]; }];
// 通过通用链接唤起 App // 通过通用链接唤起 App
// [DCUniMPSDKEngine application:application continueUserActivity:userActivity]; [DCUniMPSDKEngine application:application continueUserActivity:userActivity];
return YES; return YES;
} }

6
lib/mine/recharge_page.dart

@ -213,12 +213,12 @@ class _RechargePage extends State<RechargePage> {
return; return;
} }
// if (!(await Min.isInitialize())) { if (!(await Min.isInitialize())) {
// app的充值支付使用同一个WXPayEntryActivity回调 // app的充值支付使用同一个WXPayEntryActivity回调
// getPackage空指针 // getPackage空指针
// //
// await Min.initialize(); await Min.initialize();
// } }
BaseData<WxPay> baseData = BaseData<WxPay> baseData =
await apiService.recharge({"amount": amount, "rechargeType": 2}); await apiService.recharge({"amount": amount, "rechargeType": 2});

6
lib/order/order_utils.dart

@ -37,12 +37,12 @@ class OrderUtils {
placeOrderFirst.tableId = orderInfo.tableId; placeOrderFirst.tableId = orderInfo.tableId;
if (placeOrderFirst.payChannel == 1) { if (placeOrderFirst.payChannel == 1) {
// if (!(await Min.isInitialize())) { if (!(await Min.isInitialize())) {
// app的充值支付使用同一个WXPayEntryActivity回调 // app的充值支付使用同一个WXPayEntryActivity回调
// getPackage空指针 // getPackage空指针
// //
// await Min.initialize(); await Min.initialize();
// } }
BaseData<WxPay> baseData = await minService BaseData<WxPay> baseData = await minService
.settlementWx(placeOrderFirst.toJson()) .settlementWx(placeOrderFirst.toJson())
.catchError((error) {}); .catchError((error) {});

46
lib/setting/setting_page.dart

@ -179,30 +179,30 @@ class _SettingPage extends State<SettingPage> {
} }
clearCache() async { clearCache() async {
// if (Platform.isAndroid) { if (Platform.isAndroid) {
// if (!(await Min.isInitialize())) { if (!(await Min.isInitialize())) {
// await Min.initialize(); await Min.initialize();
// } }
// } }
// SharedPreferences sharedPreferences = await SharedPreferences.getInstance(); SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
// List<String> miniAppids = sharedPreferences.getStringList("miniAppid"); List<String> miniAppids = sharedPreferences.getStringList("miniAppid");
// if (miniAppids != null && miniAppids.length > 0) { if (miniAppids != null && miniAppids.length > 0) {
// miniAppids.forEach((element) async { miniAppids.forEach((element) async {
// print("appid: $element"); print("appid: $element");
// await Min.closeCurrentApp(); await Min.closeCurrentApp();
// String path = await Min.getAppBasePath(element); String path = await Min.getAppBasePath(element);
// AppUtils.deleteDirectory(Directory(path)); AppUtils.deleteDirectory(Directory(path));
// String filePath = ""; String filePath = "";
// if (Platform.isAndroid) { if (Platform.isAndroid) {
// filePath = (await getExternalStorageDirectory()).path; filePath = (await getExternalStorageDirectory()).path;
// } else { } else {
// filePath = (await getApplicationDocumentsDirectory()).path; filePath = (await getApplicationDocumentsDirectory()).path;
// } }
// AppUtils.deleteDirectory(Directory(filePath)); AppUtils.deleteDirectory(Directory(filePath));
// }); });
// sharedPreferences.setStringList("miniAppid", []); sharedPreferences.setStringList("miniAppid", []);
// } }
cacheTotal = "0B"; cacheTotal = "0B";
setState(() {}); setState(() {});

6
lib/settlement/settlement.dart

@ -278,12 +278,12 @@ class _Settlement extends State<Settlement> {
? minOrderInfo.orderProductVOList ? minOrderInfo.orderProductVOList
: downOrder.orderProductVOList; : downOrder.orderProductVOList;
if (placeOrderFirst.payChannel == 1) { if (placeOrderFirst.payChannel == 1) {
// if (!(await Min.isInitialize())) { if (!(await Min.isInitialize())) {
// app的充值支付使用同一个WXPayEntryActivity回调 // app的充值支付使用同一个WXPayEntryActivity回调
// getPackage空指针 // getPackage空指针
// //
// await Min.initialize(); await Min.initialize();
// } }
BaseData<WxPay> baseData = await minService BaseData<WxPay> baseData = await minService
.settlementWx(placeOrderFirst.toJson()) .settlementWx(placeOrderFirst.toJson())
.catchError((error) {}); .catchError((error) {});

2
lib/store/store_order.dart

@ -639,7 +639,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
/// ///
_queryMiNiDetail(String id,int count) async { _queryMiNiDetail(String id,int count) async {
EasyLoading.show(status: S.current.zhengzaijiazai); EasyLoading.show(status: S.current.zhengzaijiazai);
BaseData<MiNiDetail> baseData = await minService.miNiDetail(id).catchError((error){}); BaseData<MiNiDetail> baseData = await minService.miNiDetail(id);
if (baseData != null && baseData.isSuccess) { if (baseData != null && baseData.isSuccess) {
showStoreSelector(baseData.data, id,count); showStoreSelector(baseData.data, id,count);
} }

96
lib/union/union_details_page.dart

@ -203,11 +203,11 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
} }
printMin() async { printMin() async {
// String miniAppId = storeInfo.mini.miniAppId; String miniAppId = storeInfo.mini.miniAppId;
// debugPrint("print isExistsApp: ${await Min.isExistsApp(miniAppId)}"); debugPrint("print isExistsApp: ${await Min.isExistsApp(miniAppId)}");
// debugPrint("print getAppBasePath: ${await Min.getAppBasePath(miniAppId)}"); debugPrint("print getAppBasePath: ${await Min.getAppBasePath(miniAppId)}");
// debugPrint("print currentPageUrl: ${await Min.currentPageUrl()}"); debugPrint("print currentPageUrl: ${await Min.currentPageUrl()}");
// debugPrint("print runingAppid: ${await Min.runingAppid()}"); debugPrint("print runingAppid: ${await Min.runingAppid()}");
} }
_loginMin() async { _loginMin() async {
@ -225,31 +225,31 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
} }
startMin(token, userId) async { startMin(token, userId) async {
// if (storeInfo == null) return; if (storeInfo == null) return;
// if (storeInfo.mini == null) return; if (storeInfo.mini == null) return;
// if (!(await Min.isInitialize())) { if (!(await Min.isInitialize())) {
// await Min.initialize(); await Min.initialize();
// } }
// printMin(); printMin();
// String miniAppId = storeInfo.mini.miniAppId; String miniAppId = storeInfo.mini.miniAppId;
// String filePath = ""; String filePath = "";
// if (Platform.isAndroid) { if (Platform.isAndroid) {
// filePath = (await getExternalStorageDirectory()).path; filePath = (await getExternalStorageDirectory()).path;
// } else { } else {
// filePath = (await getApplicationDocumentsDirectory()).path; filePath = (await getApplicationDocumentsDirectory()).path;
// } }
// filePath = "$filePath/$miniAppId.wgt"; filePath = "$filePath/$miniAppId.wgt";
//
// if (!(await Min.isExistsApp(miniAppId))) { if (!(await Min.isExistsApp(miniAppId))) {
// await downloadWgt(miniAppId, filePath); await downloadWgt(miniAppId, filePath);
// await Min.reloadWgt(miniAppId, filePath); await Min.reloadWgt(miniAppId, filePath);
// } else { } else {
// String version = await Min.getAppVersionInfo(storeInfo.mini.miniAppId); String version = await Min.getAppVersionInfo(storeInfo.mini.miniAppId);
// if (version != storeInfo.mini.miniVersion) { if (version != storeInfo.mini.miniVersion) {
// await downloadWgt(miniAppId, filePath); await downloadWgt(miniAppId, filePath);
// await Min.reloadWgt(miniAppId, filePath); await Min.reloadWgt(miniAppId, filePath);
// } }
// } }
SharedPreferences sharedPreferences = await SharedPreferences.getInstance(); SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
String nickname = sharedPreferences.getString("nick"); String nickname = sharedPreferences.getString("nick");
@ -259,24 +259,24 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
String longitude = sharedPreferences.getString("longitude"); String longitude = sharedPreferences.getString("longitude");
print(user); print(user);
UserInfo userInfo = UserInfo.fromJson(jsonDecode(user)); UserInfo userInfo = UserInfo.fromJson(jsonDecode(user));
// Min.startMin(miniAppId, { Min.startMin(miniAppId, {
// "token": "Bearer $token", "token": "Bearer $token",
// "shopId": widget.arguments["id"], "shopId": widget.arguments["id"],
// "tenantCode": storeInfo.tenantCode, "tenantCode": storeInfo.tenantCode,
// if (latitude != null && longitude != null) if (latitude != null && longitude != null)
// "position": "$latitude,$longitude", "position": "$latitude,$longitude",
// "baseURL": "https://pos.api.lotus-wallet.com/app/", "baseURL": "https://pos.api.lotus-wallet.com/app/",
// // "baseURL": "http://192.168.10.236:8765/app/", // "baseURL": "http://192.168.10.236:8765/app/",
// "uid": userId, "uid": userId,
// "userInfo": { "userInfo": {
// "nickname": nickname, "nickname": nickname,
// "headimg": userInfo.headimg, "headimg": userInfo.headimg,
// "balance": userInfo.balance, "balance": userInfo.balance,
// "money": userInfo.money, "money": userInfo.money,
// "phone": mobile, "phone": mobile,
// "isBind": userInfo.isBind, "isBind": userInfo.isBind,
// }, },
// }); });
} }
double progressValue = 0; double progressValue = 0;

140
lib/utils/min.dart

@ -1,76 +1,76 @@
import 'dart:async'; import 'dart:async';
import 'dart:io'; import 'dart:io';
// import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
class Min { class Min {
// static const MethodChannel _channel = const MethodChannel('min'); static const MethodChannel _channel = const MethodChannel('min');
//
// static Future<bool> isInitialize() async { static Future<bool> isInitialize() async {
// return await _channel.invokeMethod('isInitialize'); return await _channel.invokeMethod('isInitialize');
// } }
//
// static Future<bool> isExistsApp(appid) async { static Future<bool> isExistsApp(appid) async {
// return await _channel return await _channel
// .invokeMethod('isExistsApp', <String, dynamic>{"appid": appid}); .invokeMethod('isExistsApp', <String, dynamic>{"appid": appid});
// } }
//
// static Future<String> getAppVersionInfo(appid) async { static Future<String> getAppVersionInfo(appid) async {
// final String version = await _channel.invokeMethod('getAppVersionInfo', <String, dynamic>{"appid": appid}); final String version = await _channel.invokeMethod('getAppVersionInfo', <String, dynamic>{"appid": appid});
// return version; return version;
// } }
//
// static Future<String> getAppBasePath(appid) async { static Future<String> getAppBasePath(appid) async {
// if(Platform.isIOS) { if(Platform.isIOS) {
// final String getAppBasePath = await _channel.invokeMethod( final String getAppBasePath = await _channel.invokeMethod(
// 'getAppBasePath', <String, dynamic>{"appid": appid} 'getAppBasePath', <String, dynamic>{"appid": appid}
// ); );
// return getAppBasePath; return getAppBasePath;
// } else { } else {
// final String getAppBasePath = await _channel.invokeMethod( final String getAppBasePath = await _channel.invokeMethod(
// 'getAppBasePath', 'getAppBasePath',
// ); );
// return getAppBasePath; return getAppBasePath;
// } }
// } }
//
// static Future<String> runingAppid() async { static Future<String> runingAppid() async {
// final String runingAppid = await _channel.invokeMethod( final String runingAppid = await _channel.invokeMethod(
// 'runingAppid', 'runingAppid',
// ); );
// return runingAppid; return runingAppid;
// } }
//
// static Future<String> currentPageUrl() async { static Future<String> currentPageUrl() async {
// final String currentPageUrl = await _channel.invokeMethod( final String currentPageUrl = await _channel.invokeMethod(
// 'currentPageUrl', 'currentPageUrl',
// ); );
// return currentPageUrl; return currentPageUrl;
// } }
//
// static Future<bool> closeCurrentApp() async { static Future<bool> closeCurrentApp() async {
// final bool isExists = await _channel.invokeMethod('closeCurrentApp'); final bool isExists = await _channel.invokeMethod('closeCurrentApp');
// return isExists; return isExists;
// } }
//
// static Future<bool> initialize() async { static Future<bool> initialize() async {
// final bool isInit = await _channel.invokeMethod('initialize'); final bool isInit = await _channel.invokeMethod('initialize');
// return isInit; return isInit;
// } }
//
// static startMin(appid, json) async { static startMin(appid, json) async {
// print("startMin: $json"); print("startMin: $json");
// _channel.invokeMethod( _channel.invokeMethod(
// 'startMin', <String, dynamic>{"appid": appid, "json": json}); 'startMin', <String, dynamic>{"appid": appid, "json": json});
// } }
//
// static Future<bool> reloadWgt(appid, wgtPath) async { static Future<bool> reloadWgt(appid, wgtPath) async {
// final bool isReload = await _channel.invokeMethod( final bool isReload = await _channel.invokeMethod(
// 'reloadWgt', <String, dynamic>{"appid": appid, "wgtPath": wgtPath}); 'reloadWgt', <String, dynamic>{"appid": appid, "wgtPath": wgtPath});
// return isReload; return isReload;
// } }
//
// static clickListener() { static clickListener() {
// _channel.invokeMethod('clickListener'); _channel.invokeMethod('clickListener');
// } }
} }

Loading…
Cancel
Save