fix:第一轮跑
This commit is contained in:
1 parent
e834ec7586
commit
33235f450b
56 files changed
+4357
-210
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
abstract final class UmengPrivacyConsent {
|
||||
static const _channel = MethodChannel('jinzhi/privacy');
|
||||
|
||||
static Future<void> submitGranted() async {
|
||||
if (kIsWeb || defaultTargetPlatform != TargetPlatform.android) return;
|
||||
await _channel.invokeMethod<void>('submitUmengPrivacyGranted');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user