From d7fe52a7b740bd5be6a92a2ff01ea97b293614e7 Mon Sep 17 00:00:00 2001 From: Christian Oelschlegel Date: Tue, 7 Apr 2026 21:01:30 +0200 Subject: [PATCH] Remove android game activity from default android handle only one activity, either game or native. To use native, the default could now be used, but all other android need to add the game activity. --- Cargo.toml | 1 - docs/cargo_features.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0ea80afabedf2..fc40979fb6e25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -184,7 +184,6 @@ default_app = [ # COLLECTION: These are platform support features, such as OS support/features, windowing and input backends, etc. default_platform = [ "std", - "android-game-activity", "bevy_gilrs", "bevy_winit", "default_font", diff --git a/docs/cargo_features.md b/docs/cargo_features.md index b126a17ff77d2..2dfb794ea8384 100644 --- a/docs/cargo_features.md +++ b/docs/cargo_features.md @@ -42,7 +42,7 @@ collections to build your own "profile" equivalent, without needing to manually |scene|Features used to compose Bevy scenes. **Feature set:** `bevy_world_serialization`, `bevy_scene`.| |picking|Enables picking with all backends. **Feature set:** `bevy_picking`, `mesh_picking`, `sprite_picking`, `ui_picking`.| |default_app|The core pieces that most apps need. This serves as a baseline feature set for other higher level feature collections (such as "2d" and "3d"). It is also useful as a baseline feature set for scenarios like headless apps that require no rendering (ex: command line tools, servers, etc). **Feature set:** `async_executor`, `bevy_asset`, `bevy_input_focus`, `bevy_log`, `bevy_state`, `bevy_window`, `custom_cursor`, `reflect_auto_register`.| -|default_platform|These are platform support features, such as OS support/features, windowing and input backends, etc. **Feature set:** `std`, `android-game-activity`, `bevy_gilrs`, `bevy_winit`, `default_font`, `multi_threaded`, `webgl2`, `x11`, `wayland`, `sysinfo_plugin`.| +|default_platform|These are platform support features, such as OS support/features, windowing and input backends, etc. **Feature set:** `std`, `bevy_gilrs`, `bevy_winit`, `default_font`, `multi_threaded`, `webgl2`, `x11`, `wayland`, `sysinfo_plugin`.| |common_api|Default scene definition features. Note that this does not include an actual renderer, such as bevy_render (Bevy's default render backend). **Feature set:** `bevy_animation`, `bevy_camera`, `bevy_color`, `bevy_gizmos`, `bevy_image`, `bevy_mesh`, `bevy_shader`, `bevy_material`, `bevy_text`, `hdr`, `png`.| |2d_api|Features used to build 2D Bevy apps (does not include a render backend). You generally don't need to worry about this unless you are using a custom renderer. **Feature set:** `common_api`, `bevy_sprite`.| |2d_bevy_render|Bevy's built-in 2D renderer, built on top of `bevy_render`. **Feature set:** `2d_api`, `bevy_render`, `bevy_core_pipeline`, `bevy_post_process`, `bevy_sprite_render`, `bevy_gizmos_render`.|