Sample app to demonstrate the features in the AppsFlyer Flutter SDK
π AppsFlyer SDK Sample App for Flutter π±π±
This is a sample Flutter app that demonstrates the integration of the AppsFlyer SDK. The app is using version 6.9.3 of the SDK. Sample app packageName is com.appsflyer.sdk.support.flutter.demo.af_flutter_sample_app
π Features ππ
This sample app includes the following features:
π Basic Integration Instructions π
When the application is first being launched, the SDK wonβt start yet as it is in deferred mode by default. This can be changed by switch the βDeferred Startβ toggle and re-launch the application. The default state is to use deferred start and use UDL instead of GCD for Deferred Deep Linking (and eventually also Direct deep linking).
π Deeplink Feature with UDL or OAOA + GCD πͺ
On the main page you can select using UDL or default legacy solution such as OAOA and GCD. Configure to your own DEV_KEY and APP_ID inside the AppConstant class. For the deeplink configuration:
- Android: Make changes inside the AndroidManifest (both for URI Scheme and AppLinks)
- iOS: Open the xCode and change to your own Bundle ID and change the Universal Link to your own on the Assosiated Domains section
π― In-App Events Testing π―
You can choose between 3 different scenarios:
- Regular In-App Eventπ
- Purchase In-App Eventπ°
- Custom In-App Eventπ
π₯ User Invite Testing π₯
You can now create generated short link via the User Invite feature. Make sure to input the correct App Invite OneLink ID in the main screen before starting the SDK and you can override these fields:
- Media Source (pid, default is af_app_invites)
- Channel
- Campaign
- deep_link_value
- deep_link_sub1
- deep_link_sub2
- deep_link_sub3
- deep_link_sub4
- deep_link_sub5
- deep_link_sub6
- deep_link_sub7
- deep_link_sub8
- deep_link_sub9
- deep_link_sub10
π± Device Data π±
For each Platform you will have the following:
- Fetching GAID for Android π€
- Fetching IDFA and IDFV for iOS π
You have the ability to disableIdentifersCollection π‘οΈ