You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the url_launcher function in our Flutter application to launch a deep link URL, we are not receiving the expected callback from the app.
Steps to Reproduce:
Set up a deep link URL in the app.
Paste the link into the designated input area of the app.
Trigger the launch using the url_launcher function.
Observe that the app does not receive the callback as expected.
Expected Behavior: The app should receive the appropriate callback when the deep link URL is launched, allowing it to handle the deep link correctly.
Actual Behavior: No callback is triggered, which results in the app not responding to the deep link as intended. However:
If another link is opened after clicking the deep link URL, returning to the app successfully triggers the deep link functionality.
When the app is placed in the background after clicking the deep link URL, and then reopened, the deep link functionality works as expected.
This issue may affect user experience as users cannot interact with the app as expected after clicking the deep link.
Please investigate the integration with AppsFlyer and ensure that the deep link handling is correctly set up.
The text was updated successfully, but these errors were encountered:
👋 Hi @kuldipBaraiyaSquare and Thank you for reaching out to us.
In order for us to provide optimal support, please submit a ticket to our support team at [email protected].
When submitting the ticket, please specify:
When using the url_launcher function in our Flutter application to launch a deep link URL, we are not receiving the expected callback from the app.
Steps to Reproduce:
Set up a deep link URL in the app.
Paste the link into the designated input area of the app.
Trigger the launch using the url_launcher function.
Observe that the app does not receive the callback as expected.
Expected Behavior: The app should receive the appropriate callback when the deep link URL is launched, allowing it to handle the deep link correctly.
Actual Behavior: No callback is triggered, which results in the app not responding to the deep link as intended. However:
If another link is opened after clicking the deep link URL, returning to the app successfully triggers the deep link functionality.
When the app is placed in the background after clicking the deep link URL, and then reopened, the deep link functionality works as expected.
Code:
Linkify(
options: const LinkifyOptions(
humanize: false),
onOpen: (link) async {
AppUtils.openUrl(
website: link.url);
},)
static openUrl({required String website}) async {
try {
if (!website.startsWith('http://') && !website.startsWith('https://')) {
website = 'https://$website';
}
final Uri url = Uri.parse(website);
await launchUrl(url);
} catch (e) {
log(e.toString());
}
}
void processDeepLink() async {
appsflyerSdk.onDeepLinking((DeepLinkResult dp) async {
print(dp.deepLink.toString());
switch (dp.status) {
case Status.FOUND:
// logic
break;
case Status.NOT_FOUND:
break;
case Status.ERROR:
break;
case Status.PARSE_ERROR:
break;
}
});
}
Environment:
Flutter version: 3.24.2
Appsflyer plugin version: appsflyer_sdk: 6.14.3
Additional Notes:
This issue may affect user experience as users cannot interact with the app as expected after clicking the deep link.
Please investigate the integration with AppsFlyer and ensure that the deep link handling is correctly set up.
The text was updated successfully, but these errors were encountered: