GithubHelp home page GithubHelp logo

Comments (7)

sjoulbak avatar sjoulbak commented on August 20, 2024

@maxmitz I believe your issue is with the scheme https. I can remember that I had to changed it to something else in order to get it to work for iOS by configuring CFBundleURLSchemes. For consistency reasons I would recommend to change it for Android as well by configuring android:scheme.

from auto_route_library.

jfacoustic avatar jfacoustic commented on August 20, 2024

@sjoulbak Do you have any more information besides changing the URL scheme to something else? That's a little vague.

from auto_route_library.

jfacoustic avatar jfacoustic commented on August 20, 2024

I'm having a similar problem. I'm using Firebase dynamic links to generate the deep link, and it is working correctly on Android but not iOS.

I can manually listen to the link opening the app from the Firebase package, but deepLinkBuilder is never being invoked. As far as I can tell, I have Info.plist/build configurations set up correctly.

from auto_route_library.

sjoulbak avatar sjoulbak commented on August 20, 2024

@jfacoustic I can give you an example configuration:

# ios/Runner/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
	<dict>
		<key>FlutterDeepLinkingEnabled</key>
		<true/>
		<key>CFBundleURLTypes</key>
		<array>
			<dict>
				<key>CFBundleTypeRole</key>
				<string>Editor</string>
				<key>CFBundleURLName</key>
				<string>whooff.nl</string>
				<key>CFBundleURLSchemes</key>
				<array>
					<string>whooff</string>
				</array>
			</dict>
		</array>
	</dict>
</plist>

With above configuration you can deeplink to: whooff://whooff.nl/home/dashboard

from auto_route_library.

kane-knowby avatar kane-knowby commented on August 20, 2024

Hi, I'm currently experiencing the same issue with deepLinkBuilder not working for iOS. Unfortunately the above workaround is not suitable. For now I am forced to use uni_links to work around the issue.

Is the underlying issue for this problem known?

from auto_route_library.

KarinBerg avatar KarinBerg commented on August 20, 2024

I recommend to check if your Universal Links stuff is correctly configured on the Apple site. Especially the hosting of the "apple-app-site-association" file. For this use the
AASA Validator from Branch.io to verify if your Associated Domains are correctly configured. If this check fails, then the problem is not auto_route.
Here is a guide for what you have to do to configure universal links for your iOS app: https://www.branch.io/resources/blog/how-to-setup-universal-links-to-deep-link-on-apple-ios/

Hint:
If the AASA Validator tells you that the "content-type" header is wrong, then upload your "apple-app-site-association" file again with the file suffix .json.

from auto_route_library.

github-actions avatar github-actions commented on August 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

from auto_route_library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.