広告 ID ライブラリの追加
アプリケーションレベルの build.gradle ファイルに次の依存関係を追加します。上記の API は、プラグインバージョン 4.2.0 以降でのみ利用可能です。それより古いバージョンでは、広告 ID のトラッキングはデフォルトで有効になっています。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
正確なデバイス分析のために、Flutter アプリで広告 ID のトラッキングを有効にします。
implementation("com.google.android.gms:play-services-ads-identifier:18.0.1")
import 'package:moengage_flutter/moengage_flutter.dart';
final MoEngageFlutter _moengagePlugin = MoEngageFlutter(YOUR_WORKSPACE_ID);
_moengagePlugin.initialise();
_moengagePlugin.enableAdIdTracking();
import 'package:moengage_flutter/moengage_flutter.dart';
final MoEngageFlutter _moengagePlugin = MoEngageFlutter(YOUR_WORKSPACE_ID);
_moengagePlugin.initialise();
_moengagePlugin.disableAdIdTracking();
Suggestions