Describe the bug
function onDeepLinking is not triggered when app is terminated on IOS
To Reproduce
Steps to reproduce the behavior:
install app. and run
terminate app
click onelink
app is launched
onDeepLinking isn't called.
Expected behavioronDeepLinking is triggered with deep_link_value
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Mac M2 Ventura 13.4.1 (c)(22F770820d
Browser: Chrome
Version [e.g. 22]
Smartphone (please complete the following information):
Device: iphone 11
OS: IOS 16.6
Browser: Chrome, Google, Safari
Additional context
appsflyer_sdk: ^6.11.3
I'm using firebase_dynamic_links: ^5.2.0, app_links: ^3.4.3 to handle other links.
so FlutterDeepLinkingEnabled is false
// my code
var _sdk = AppsflyerSdk(options).initSdk(
registerConversionDataCallback: true,
registerOnAppOpenAttributionCallback: true,
registerOnDeepLinkingCallback: true,
);
listen() {
_sdk.onAppOpenAttribution((res) {
print("onAppOpenAttribution res: $res");
});
_sdk.onInstallConversionData((res) {
print("onInstallConversionData res: $res");
});
_sdk.onDeepLinking((DeepLinkResult dp) {
switch (dp.status) {
case Status.FOUND:
print(dp.deepLink?.toString());
print("deep link value: ${dp.deepLink?.deepLinkValue}");
break;
case Status.NOT_FOUND:
print("deep link not found");
break;
case Status.ERROR:
print("deep link error: ${dp.error}");
break;
case Status.PARSE_ERROR:
print("deep link status parsing error");
break;
}
print("onDeepLinking res: $dp");
GotoPath.shared.fromEncodedUrl(dp.deepLink?.deepLinkValue);
});
}
function onDeepLinking doing well under the state that app is running.
but when app is terminated, it doesn't.
i want to use onelink and other links together.
Describe the bug function
onDeepLinking
is not triggered when app is terminated on IOSTo Reproduce Steps to reproduce the behavior:
onDeepLinking
isn't called.Expected behavior
onDeepLinking
is triggered withdeep_link_value
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
appsflyer_sdk: ^6.11.3 I'm using
firebase_dynamic_links: ^5.2.0
,app_links: ^3.4.3
to handle other links. soFlutterDeepLinkingEnabled
isfalse
function
onDeepLinking
doing well under the state that app is running. but when app is terminated, it doesn't. i want to use onelink and other links together.thanks