bevy/.github
Litttle_fish e924df0e1a
Add features to switch NativeActivity and GameActivity usage (#12095)
# Objective

Add two features to switch bevy to use `NativeActivity` or
`GameActivity` on Android, use `GameActivity` by default.

Also close  #12058 and probably #12026 .

## Solution

Add two features to the corresponding crates so you can toggle it, like
what `winit` and `android-activity` crate did.

---

## Changelog

Removed default `NativeActivity` feature implementation for Android,
added two new features to enable `NativeActivity` and `GameActivity`,
and use `GameActivity` by default.

## Migration Guide

Because `cargo-apk` is not compatible with `GameActivity`,
building/running using `cargo apk build/run -p bevy_mobile_example` is
no longer possible.
Users should follow the new workflow described in document.

---------

Co-authored-by: François Mockers <francois.mockers@vleue.com>
Co-authored-by: BD103 <59022059+BD103@users.noreply.github.com>
Co-authored-by: Rich Churcher <rich.churcher@gmail.com>
2024-10-01 22:23:48 +00:00
..
actions/install-linux-deps Fix action.yml syntax (#15430) 2024-09-26 13:30:56 +00:00
example-run Test for ambiguous system ordering in CI (#13950) 2024-07-17 21:05:48 +00:00
ISSUE_TEMPLATE Fix out of date template and grammar (#15483) 2024-09-27 22:20:41 +00:00
linters meta: Add Showcase section to PR template (#11750) 2024-07-08 01:23:24 +00:00
start-mobile-example Remove unused variable (#10966) 2023-12-13 20:41:45 +00:00
start-wasm-example Fix common capitalization errors in documentation (#14562) 2024-07-31 21:16:05 +00:00
workflows Add features to switch NativeActivity and GameActivity usage (#12095) 2024-10-01 22:23:48 +00:00
dependabot.yml dependabot: use new C-Dependencies label 2021-07-13 12:51:48 -07:00
FUNDING.yml Update funding link (#12425) 2024-03-11 21:46:04 +00:00
pull_request_template.md meta: Add Showcase section to PR template (#11750) 2024-07-08 01:23:24 +00:00