Skip to content

Commit

Permalink
Fix the issue of inability to start on Android 14
Browse files Browse the repository at this point in the history
Fix the issue where setting android:exported="true" is required to start an Activity on Android 14
  • Loading branch information
Comanx committed Jan 19, 2024
1 parent c050398 commit 203d357
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/android-create-apk.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
f.write(' <activity android:name="android.app.NativeActivity"\n');
f.write(' android:label="{}"\n'.format(args.name))
f.write(' android:launchMode="singleTask"\n')
f.write(' android:exported="true"\n')
f.write(' android:screenOrientation="fullUser"\n')
f.write(' android:configChanges="orientation|screenSize|keyboard|keyboardHidden">\n')
f.write(' <meta-data android:name="android.app.lib_name" android:value="{}"/>\n'.format(args.name))
Expand Down

0 comments on commit 203d357

Please sign in to comment.