diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json
index 0e9eb7e..045641f 100644
--- a/.dart_tool/package_config.json
+++ b/.dart_tool/package_config.json
@@ -301,6 +301,12 @@
"packageUri": "lib/",
"languageVersion": "1.12"
},
+ {
+ "name": "moblink",
+ "rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/moblink-3.4.1",
+ "packageUri": "lib/",
+ "languageVersion": "2.1"
+ },
{
"name": "mobsms",
"rootUri": "file:///Users/fnuouser/.pub-cache/hosted/pub.flutter-io.cn/mobsms-1.1.0",
@@ -662,7 +668,7 @@
"languageVersion": "2.8"
}
],
- "generated": "2020-11-25T02:26:02.961774Z",
+ "generated": "2020-11-25T07:42:55.235132Z",
"generator": "pub",
"generatorVersion": "2.8.2"
}
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
index 6f3b74b..da722a1 100644
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -207,6 +207,11 @@ MobSDK {
appKey "30dc33054b635"
appSecret "396e98c293130c9976fb7428b6b434d6"
+ MobLink {
+ uriScheme "fnoos://cn.zhios.zhiying"
+ appLinkHost "bied.t4m.cn"
+ }
+
//手机验证登录
SecVerify {}
diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock
index ac0ebc1..f99ba19 100644
--- a/example/ios/Podfile.lock
+++ b/example/ios/Podfile.lock
@@ -44,6 +44,8 @@ PODS:
- Flutter
- jdsdk (0.0.1):
- Flutter
+ - mob_linksdk_pro (3.3.7):
+ - MOBFoundation
- mob_secverify (3.0.1):
- MOBFoundation
- mob_sharesdk (4.3.11):
@@ -96,6 +98,9 @@ PODS:
- mob_smssdk (3.2.10):
- MOBFoundation
- MOBFoundation (3.2.19)
+ - moblink (0.0.4):
+ - Flutter
+ - mob_linksdk_pro
- mobsms (0.0.1):
- Flutter
- mob_smssdk
@@ -198,6 +203,7 @@ DEPENDENCIES:
- image_picker (from `.symlinks/plugins/image_picker/ios`)
- imei_plugin (from `.symlinks/plugins/imei_plugin/ios`)
- jdsdk (from `.symlinks/plugins/jdsdk/ios`)
+ - moblink (from `.symlinks/plugins/moblink/ios`)
- mobsms (from `.symlinks/plugins/mobsms/ios`)
- package_info (from `.symlinks/plugins/package_info/ios`)
- path_provider (from `.symlinks/plugins/path_provider/ios`)
@@ -236,6 +242,7 @@ SPEC REPOS:
- WindVane
https://github.com/CocoaPods/Specs.git:
- FMDB
+ - mob_linksdk_pro
- mob_secverify
- mob_sharesdk
- mob_smssdk
@@ -272,6 +279,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/imei_plugin/ios"
jdsdk:
:path: ".symlinks/plugins/jdsdk/ios"
+ moblink:
+ :path: ".symlinks/plugins/moblink/ios"
mobsms:
:path: ".symlinks/plugins/mobsms/ios"
package_info:
@@ -343,10 +352,12 @@ SPEC CHECKSUMS:
image_picker: 9c3312491f862b28d21ecd8fdf0ee14e601b3f09
imei_plugin: cb1af7c223ac2d82dcd1457a7137d93d65d2a3cd
jdsdk: 2ca38c7e3a2dfb0f3641425f8fd1e8d20357693f
+ mob_linksdk_pro: 9ad768d8da15c410d51056319f43a76c7cc01347
mob_secverify: 54c03b24122be033bb53adb84694fd8c19f6c2b6
mob_sharesdk: e0d8b5807e6063cac8f9d68ef059b1d3006c9088
mob_smssdk: bd7493aa6f21e12b8daed8935c32c69552907d14
MOBFoundation: 606bc4c10ff4c6ac573c09f5081a39c75316bc7b
+ moblink: 3480a191e86c33f4e84af0cb5d2cc5627e78bf65
mobsms: 141956ad151a39a69a47a2ddf2e186405346c4ef
mtopSDK: d6fdf81730342a69be920b576541c7bb81a683d5
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62
diff --git a/example/ios/Runner/Runner.entitlements b/example/ios/Runner/Runner.entitlements
index 903def2..ff13b9a 100644
--- a/example/ios/Runner/Runner.entitlements
+++ b/example/ios/Runner/Runner.entitlements
@@ -4,5 +4,13 @@
aps-environment
development
+ com.apple.developer.applesignin
+
+ Default
+
+ com.apple.developer.associated-domains
+
+ applinks:bied.t4m.cn
+
diff --git a/example/ios/Runner/项目资源/智莺生活/config/证书/cnzhioszhiying_dev-2.mobileprovision b/example/ios/Runner/项目资源/智莺生活/config/证书/cnzhioszhiying_dev-2.mobileprovision
new file mode 100644
index 0000000..57552a6
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/config/证书/cnzhioszhiying_dev-2.mobileprovision differ
diff --git a/example/ios/Runner/项目资源/智莺生活/config/证书/zhiying_appstore.mobileprovision b/example/ios/Runner/项目资源/智莺生活/config/证书/zhiying_appstore.mobileprovision
new file mode 100644
index 0000000..d1c924e
Binary files /dev/null and b/example/ios/Runner/项目资源/智莺生活/config/证书/zhiying_appstore.mobileprovision differ
diff --git a/example/lib/main.dart b/example/lib/main.dart
index 7fae307..a31fa4b 100644
--- a/example/lib/main.dart
+++ b/example/lib/main.dart
@@ -1,5 +1,3 @@
-import 'dart:io';
-
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_alibc/flutter_alibc.dart';
@@ -34,11 +32,7 @@ class _MyAppState extends State {
child: Text(
"走神了~\n${error.exceptionAsString()}",
style:
- Theme
- .of(context)
- .textTheme
- .title
- .copyWith(color: Colors.redAccent),
+ Theme.of(context).textTheme.title.copyWith(color: Colors.redAccent),
),
);
}
diff --git a/lib/pages/home_page/home_page.dart b/lib/pages/home_page/home_page.dart
index b112dcc..4c73bfe 100644
--- a/lib/pages/home_page/home_page.dart
+++ b/lib/pages/home_page/home_page.dart
@@ -3,8 +3,10 @@ import 'dart:io';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/cupertino.dart';
+import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
-import 'package:permission_handler/permission_handler.dart';
+import 'package:flutter/services.dart';
+import 'package:moblink/moblink.dart';
import 'package:provider/provider.dart';
import 'package:zhiying_base_widget/dialog/global_dialog/intellect_search_goods_dialog/intellect_create.dart';
import 'package:zhiying_base_widget/dialog/global_dialog/notification_setting_dialog/notification_setting_dialog.dart';
@@ -26,6 +28,8 @@ class HomePage extends StatefulWidget {
class _HomePageState extends State with WidgetsBindingObserver {
int _currentIndex = 0;
List