Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29457

React Native apk installed but not showing in menu

$
0
0

I'm having some issues trying to install a signed release build on android. I can install my .apk, I can found my app in Settings -> Applications -> Installed but it's not showing with the other apps. Also, right at the end of the installation, I can't click on the OPEN button.

I can start the app with react-native run-android without any problem.

Here I drop my manifest.xml :

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.area">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.USE_CREDENTIALS"/>

<application
  android:name=".MainApplication"
  android:label="@string/app_name"
  android:icon="@mipmap/ic_launcher"
  android:allowBackup="false"
  android:theme="@style/AppTheme">
  <activity
    android:name=".MainActivity"
    android:launchMode="singleTask"
    android:screenOrientation="portrait"
    android:label="@string/app_name"
    android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
    android:windowSoftInputMode="adjustPan">
    <intent-filter>
        <action android:name="android.intent.action.MAIN"/>
        <category android:name="android.intent.category.LAUNCHER" />
        <data android:scheme="com.area" android:host="oauth"/>
    </intent-filter>
  </activity>
  <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
</application>

</manifest>

I found a possible solution by removing the second <activity /> tag in the manifest but it doesn't work in my case..

Thank in advance for any help!


Viewing all articles
Browse latest Browse all 29457

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>