Last updated:
0 purchases
google ads deferred deep link
google_ads_deferred_deep_link #
Google Ads Deferred Deep Link plugin for Flutter
Prerequisite #
Read the origin docs of Google Ads Deferred Deep Link
If possible, contact your business partner of Advertisement from both your orgnization and Google Ads.
Getting Started #
In your flutter project add the dependency:
dependencies:
...
firebase_core:
firebase_analytics:
google_ads_deferred_deep_link:
copied to clipboard
For help getting started with Flutter development, view the
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
Enable the feature in your app #
Modify your application manifest by adding the following metadata tag to your application tag.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.myawesome.app">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".MainActivity">
<!-- Value to be added to enable deferred deep links -->
<meta-data android:name="google_analytics_deferred_deep_link_enabled" android:value="true"/>
<activity
android:name=".MainActivity" >
</activity>
</application>
</manifest>
copied to clipboard
Usage #
import google_ads_deferred_deep_link.dart
import package:google_ads_deferred_deep_link/google_ads_deferred_deep_link.dart
copied to clipboard
GoogleAdsDeferredDeepLink _gaddl = GoogleAdsDeferredDeepLink();
_gaddl.deferredDeepLinkStream.listen((event) {
print('Got google ads deferred deep link: ${event?.deepLink}');
}
_gaddl.startFetch();
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.