Hello, I am having an issue with my application. I...
# android
s
Hello, I am having an issue with my application. Its a video call app using peerJs and the webview layout. The app installs but does not start immediately as the normal way. And when I click on the icon, it says app not found. What could be wrong. Here is my manifest file: Any assistance is much appreciated, thank you.
Copy code
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="<http://schemas.android.com/apk/res/android>"
    xmlns:tools="<http://schemas.android.com/tools>"
    package="com.devhub.meet">

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:usesCleartextTraffic="true"
        android:theme="@style/Theme.Meet">
        <activity
            android:name=".CallActivity"
            android:exported="false" />
        <activity android:name=".MainActivity"
            android:exported="false">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>
stackoverflow 2
u
remove
android:exported="false"
for MainActivity
c
Or set it to
true
and then when you eventually target Android 12, you’ll be good to go. https://developer.android.com/about/versions/12/behavior-changes-12#exported
đź‘Ť 1
s
alright, let me try that. Thank you so much Chris.