-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
StaleIssue with no recent activityIssue with no recent activityblocked: customer-responseWaiting for customer response, e.g. more information was requested.Waiting for customer response, e.g. more information was requested.closed-by-botimpact: crowdAffects many people, though not necessarily a specific customer with an assigned label. (P2)Affects many people, though not necessarily a specific customer with an assigned label. (P2)platform: iosIssues / PRs which are specifically for iOS.Issues / PRs which are specifically for iOS.plugin: dynamic_linkstype: bugSomething isn't workingSomething isn't working
Description
Dynamic links on iOS are properly redirecting to app or app store when needed, but the actual link data and callback are not working.
- set up custom dynamic link for our product in firebase: https://share.myapp.com/share
- add "applinks:share.myapp.com" as an associated domain
- add appropriate url type "com.myapp.mobile" with identifier "share_url"
- create dynamic link via:
final DynamicLinkParameters parameters = DynamicLinkParameters(
uriPrefix: 'https://share.myapp.com/share',
link: Uri.parse(urlString), //this is our backend/webapp share url
androidParameters: AndroidParameters(
packageName: 'com.myapp.mobile',
minimumVersion: 1,
),
iosParameters: IosParameters(
bundleId: 'com.myapp.mobile',
minimumVersion: '1.0.0',
appStoreId: '<numbers>',
),
);
- share that link: android works no problem, callbacks and links hit properly and parsed on Android. web redirection works great. iOS will open app store if not installed, and open app if it is installed, but the onLink function is never hit and getInitialLink is null (even if opened from link).
I'm by no means intimately familiar with web type stuff; could this be something with the "/share" piece on the end of the url?
Flutter Doctor:
[✓] Flutter (Channel unknown, v1.9.1+hotfix.6, on Mac OS X 10.15 19A583, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
[!] Android Studio (version 3.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.40.2)
[✓] Connected device (1 available)
Using: firebase_dynamic_links: ^0.5.0+8
matejm, d3xt3r2909, blaneyneil and tzvc
Metadata
Metadata
Assignees
Labels
StaleIssue with no recent activityIssue with no recent activityblocked: customer-responseWaiting for customer response, e.g. more information was requested.Waiting for customer response, e.g. more information was requested.closed-by-botimpact: crowdAffects many people, though not necessarily a specific customer with an assigned label. (P2)Affects many people, though not necessarily a specific customer with an assigned label. (P2)platform: iosIssues / PRs which are specifically for iOS.Issues / PRs which are specifically for iOS.plugin: dynamic_linkstype: bugSomething isn't workingSomething isn't working