Browse Source

Fix issue where Android app is not launchable (#1758)

Launcher `Activity` should have `android:exported` attributes set to `true` so that app launchers have permission to launch the `Activity`.

Check official docs for more information: https://developer.android.com/guide/topics/manifest/activity-element#exported
pull/1760/head
Ryan Simon 3 years ago committed by GitHub
parent
commit
a749ade5d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/todoapp/android/src/main/AndroidManifest.xml

2
examples/todoapp/android/src/main/AndroidManifest.xml

@ -17,7 +17,7 @@
<activity <activity
android:name="example.todo.android.MainActivity" android:name="example.todo.android.MainActivity"
android:label="@string/app_name" android:label="@string/app_name"
android:exported="false"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />

Loading…
Cancel
Save