a month ago
How can I load an app that has been sideloaded onto an Android device using an intent URL?
I possess two android applications, a Progressive Web App (PWA) and a React Native (RN) app. The latter is not installed through the Google Play Store but side-loaded onto the device by transferring and installing an APK using a cable. I am struggling to load the RN app from a button on the PWA. Fortunately, I have achieved this by using the node package 'react-native-send-intent' from another RN app. Unfortunately, the PWA cannot follow the exact same path and requires an Intent URL, similar to the one shown below. I have attempted to use this URL but instead of loading the RN app, the page is directed to the Google Play store, presenting a 'Something went wrong' message. How can I open the RN app from the PWA? Here are the intent filters found in the RN AndroidManifest.xml file:
I'm hoping you can provide some assistance with this. Thank you for your help!
a month ago
It seems like the Intent URL you are using is not correctly configured to open the RN app. Here are a few things you can check: - Make sure that the package name (myPackage) in the Intent URL matches the package name defined in the RN app's build.gradle file. - Similarly, make sure that the myAction and myType parameters in the Intent URL are correctly defined according to the RN app's AndroidManifest.xml file. - Check if the RN app is correctly installed on the device and is not experiencing any errors or crashes. - Try using a different Intent URL format, such as intent://my/path#Intent;scheme=myScheme;package=myPackage;end, and make sure to replace my/path and myScheme with the appropriate values. If none of these solutions work, you may need to consult the RN documentation or seek help from the RN community to figure out the correct Intent URL configuration for your specific app.