Selaa lähdekoodia

1、mob短信隐私协议提交

tags/0.0.16+3
PH2 3 vuotta sitten
vanhempi
commit
064ff47047
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. +5
    -0
      lib/pages/home_page/home_page.dart

+ 5
- 0
lib/pages/home_page/home_page.dart Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna