|
|
@@ -9,6 +9,7 @@ import 'package:flutter/material.dart'; |
|
|
|
import 'package:flutter/services.dart'; |
|
|
|
import 'package:flutter/widgets.dart'; |
|
|
|
import 'package:moblink/moblink.dart'; |
|
|
|
import 'package:mobcommonlib/mobcommonlib.dart'; |
|
|
|
import 'package:permission_handler/permission_handler.dart'; |
|
|
|
import 'package:provider/provider.dart'; |
|
|
|
import 'package:zhiying_base_widget/dialog/global_dialog/advertising_dialog/advertising_dialog.dart'; |
|
|
@@ -112,8 +113,12 @@ class _HomePageState extends State<HomePage> |
|
|
|
//弹窗 |
|
|
|
_showPolicy(); |
|
|
|
|
|
|
|
// mob锁粉隐私协议提交 |
|
|
|
Moblink.uploadPrivacyPermissionStatus(1, (bool success) {}); |
|
|
|
// mob分享SDK隐私协议提交 |
|
|
|
SharesdkPlugin.uploadPrivacyPermissionStatus(1, (bool success) {}); |
|
|
|
// mob短信SDK隐私协议提交 |
|
|
|
Mobcommonlib.submitPolicyGrantResult(true, (dynamic ret, Map err) => {}); |
|
|
|
|
|
|
|
///设置推送标识 |
|
|
|
setAlias(); |
|
|
|