RodrigoSMarques / flutter_branch_sdk

Flutter Plugin for create deep link using Branch Metrics SDK. This plugin provides a cross-platform (iOS, Android, Web).
https://branch.io
MIT License
100 stars 91 forks source link

Facing issue in using quick links to open the app for ios #350

Closed Aswinjiitak closed 3 months ago

Aswinjiitak commented 4 months ago

Im using quick links to open app if not installed, in Android its working fine, but in the case of ios the app is not opening if the app is installed, instead of that while clicking the link it directly going to the safari

Url schemes setup are done as per the instructions of the official docs,

In main.dart the validation was success too, after validation success i removed the validationSdk method, now there is only init is called.

What should I do , is it a mistake from my side ?

RodrigoSMarques commented 4 months ago

Probably yes.

Some configuration in INFO.PLIST must be incorrect.

Have you validated the configuration with FlutterBranchSdk.validateSDKIntegration()?

Check the iOS Troubleshooting here

Also check out the instructions for testing on iOS here

Aswinjiitak commented 4 months ago

@RodrigoSMarques Yes i validated the configuration with FlutterBranchSdk.validatedSDKIntegration() and it was success, later i removed that, now only FlutterBranchSdk.init() is there in the main.dart.

Is it the problem of using quicklinks rather than generated link?

RodrigoSMarques commented 4 months ago

@Aswinjiitak Check the iOS Troubleshooting here

Also check out the instructions for testing on iOS here

Aswinjiitak commented 4 months ago

@RodrigoSMarques Sorry for asking again, Had a doubt again

The domain link passed the AASA validation,

The app is still not published on app store yet, we are testing the app using some other custom URL, so it also a reason for the issue im facing now?

RodrigoSMarques commented 4 months ago

@RodrigoSMarques Sorry for asking again, I have a doubt again

The domain link passed the AASA validation,

The app is still not published on app store yet, we are testing the app using some other custom, so it also a reason for the issue im facing now?

The app does not need to be published to test.

Have you checked the instructions for testing on iOS?

Aswinjiitak commented 4 months ago

IMG_0541 Sometimes this popup will come up to open the app, but mostly it wont come up @RodrigoSMarques

RodrigoSMarques commented 3 months ago

@Aswinjiitak

This is a behavior of the native code or Branch SDK and not of the Flutter plugin.

In this case, I suggest you open an issue directly in the iOS repository about this issue.

Or open a support ticket for Branch at the link

Aswinjiitak commented 3 months ago

@RodrigoSMarques This issue has been resolved by adding the redirection link for the quick links as web URLs, instead of adding it on the dashboard. Now the iOS redirection is working fine and perfectly.

Screenshot 2024-07-18 at 9 17 09 AM
Aswinjiitak commented 3 months ago

@RodrigoSMarques So, if we are using quick links then we should follow this, instead of using default urls setup on dashboard

RodrigoSMarques commented 3 months ago

@RodrigoSMarques So, if we are using quick links then we should follow this, instead of using default urls setup on dashboard

I developed the Flutter plugin to call the Branch SDK.

I can't confirm how Branch services work.

I've never needed to add redirect URLs in my projects.

It may be a configuration issue in your project. Branch support can help you with this.

Aswinjiitak commented 3 months ago

@RodrigoSMarques Hence the issue is fixed, so im closing this. Thank You for the support!