-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GameActivity as new default: release notes (#1753)
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
- Loading branch information
1 parent
8eeba4a
commit 03eead1
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
14 changes: 13 additions & 1 deletion
14
...lease-notes/12095_Add_features_to_switch_NativeActivity_and_GameActivity_usa.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
<!-- Add features to switch `NativeActivity` and `GameActivity` usage --> | ||
<!-- https://github.com/bevyengine/bevy/pull/12095 --> | ||
Bevy now uses `GameActivity` as the default `Activity` for Android projects, replacing | ||
`NativeActivity`. `NativeActivity` is still available, but has been placed behind a feature flag. | ||
|
||
<!-- TODO --> | ||
This change updates Bevy to a more modern Android stack, and includes an SDK minimum version bump to | ||
[PlayStore's current version | ||
requirement](https://developer.android.com/distribute/best-practices/develop/target-sdk). We've also | ||
switched to a [`cargo-ndk`](https://docs.rs/crate/cargo-ndk/3.5.4) based build, which gives us more control by default. Gradle projects for both `GameActivity` and | ||
`NativeActivity` are provided. | ||
|
||
`GameActivity` brings with it improvements to game interaction (`SurfaceView` rendering, improved | ||
touch and input handling), more frequent updates, and access to other parts of the | ||
[JetPack](https://developer.android.com/jetpack) ecosystem. It is better placed to integrate with | ||
Rust code without excessive JNI wrangling. You can read more about `GameActivity` | ||
[here](https://developer.android.com/games/agdk/game-activity). |