Deep Linking Tracking - DevDmitryHub/cordova-plugin-appsflyer GitHub Wiki
Android
Since v.4.2.0 deeplinking metadata (scheme/host) is sent automatically
iOS
Add the following function handleOpenUrl to your root, and call SDK as shown:
Example:
var handleOpenURL = function(url) {
window.plugins.appsFlyer.handleOpenUrl(url);
}
Universal Links in iOS
To enable Universal Links in iOS please follow the guide here.
Note: Our plugin utilizes the
- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler;
method for Universal Links support.
If additional instances of the method exist in your code - merge all calls into one
(Available on cordova-plugin-appsflyer 4.3.2 and higher )