I'm working on a react-native project, and I've run into an error. I can install the app on my phone using react-native run-android
, it installs the app on my phone and launches it. The problem is that the app is not visible on the home screen or app menu, so if I close the app, I have to re-download the app again from CLI. According to settings the app is installed and is taking up memory, but it's not present on the home screen or the app menu.
I have tried to create APK's as well and download them on my phone, but I have the same problem. The app is downloaded and installed, but the open button is grayed out, and there's still no sign on the app on neither the home screen or the app menu.
I had this problem and the issue is that i put <data android:scheme="@string/facebook_app_id" />
inside the same intent-filter as action and category.
Just take data out and put it in another intent-filter like:
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<data android:scheme="@string/facebook_app_id" />
</intent-filter>
Thats solve the problem for me :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With