bevy/.github/workflows
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
..
action-on-PR-labeled.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci-comment-failures.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci.yml Migrate meshes and materials to required components (#15524) 2024-10-01 21:33:17 +00:00
daily.yml Add features to switch NativeActivity and GameActivity usage (#12095) 2024-10-01 22:23:48 +00:00
dependencies.yml add cancel in progress support to automated CI checks (#11130) 2024-02-28 16:07:29 +00:00
docs.yml Document private items in dev-docs (#14769) 2024-08-15 20:57:49 +00:00
post-release.yml Bump peter-evans/create-pull-request from 6 to 7 (#15112) 2024-09-09 17:35:40 +00:00
release.yml Bump peter-evans/create-pull-request from 6 to 7 (#15112) 2024-09-09 17:35:40 +00:00
validation-jobs.yml Add features to switch NativeActivity and GameActivity usage (#12095) 2024-10-01 22:23:48 +00:00
weekly.yml Remove unused nightly toolchain environmental variable (#13037) 2024-04-19 21:17:38 +00:00
welcome.yml Fix Welcome Contributors CI (#15123) 2024-09-09 17:52:11 +00:00