Update AndroidManifest.xml with intent:// permissions
Custom Code
I have a custom component for a Webview which receives an intent:// redirect to another external application. Everything works as intended on iOS and I am able to successfully open the other app from the Webview, but on Android I get the following error: ERR_UNKNOWN_URL_SCHEME.
I have done some research and found that it is related to permissions on Android, and not the implementation of the Webview component. I have also found that I can solve the problem using the url_launcher package, and adding intent permission to AndroidManifest.xml according to the docs:
"Add any URL schemes passed to canLaunchUrl as <queries> entries in your AndroidManifest.xml, otherwise it will return false in most cases starting on Android 11 (API 30) or higher."
My problem is that there is currently no way to update the AndroidManifest.xml in Flutterflow. The other threads that have similar issues all involve manual fixes and builds, which defeats the purpose of paying for a Pro subscription if I can't use the automatic deployment for Mobile Android.
I'll need to know if there is any way to handle this problem, while making sure that several manual steps are not added to my deployment procedure each time.
What have you tried so far?
Other threads that have issues with modifying AndroidManifest.xml:
All of these threads refer to a manual solution, but this will not work for me as it would significantly slow down my deployment speed. I am hopefully looking for a more general solution or for Flutterflow to add this functionality as part of their Pro tier.