Bläddra i källkod

1、mob短信隐私协议提交

tags/0.0.16+3
PH2 3 år sedan
förälder
incheckning
064ff47047
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. +5
    -0
      lib/pages/home_page/home_page.dart

+ 5
- 0
lib/pages/home_page/home_page.dart Visa fil

@@ -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();


Laddar…
Avbryt
Spara