Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Android] Missing exported properties in activity element #2477

Closed
duarteroso opened this issue Apr 23, 2024 · 0 comments
Closed

[Bug][Android] Missing exported properties in activity element #2477

duarteroso opened this issue Apr 23, 2024 · 0 comments
Labels
bug Something isn't working platform
Milestone

Comments

@duarteroso
Copy link
Contributor

Issue description:
When setting the target SDK version to the minimum mandatory version, an error is thrown due to a missing property in the activity element of the AndroidManifest.

<activity android:name="com.flaxengine.GameActivity"
            android:exported="true" // <-- Missing and mandatory since August 2023 (API level 33 requirement)
            android:label="@string/app_name"
            android:configChanges="orientation|keyboardHidden|screenSize"
            android:screenOrientation="fullSensor">
            <meta-data android:name="android.app.lib_name" android:value="FlaxGame" />
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
</activity>

Steps to reproduce:

  1. Export to Android
  2. Set target sdk version to 33 (mandatory to publish on Google Play Store)
  3. An error will be throw about missing exported property in the activity element of the AndroidManifest file

Minimal reproduction project: N/A
Flax version: 1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform
Projects
None yet
Development

No branches or pull requests

2 participants