mirror of
https://github.com/bevyengine/bevy.git
synced 2026-07-01 08:12:51 -04:00
f6ff3c334e
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. # Objective android native activities should be able to use the default ## Solution remove android-game-activity from default ## Testing created a default app for android native activity with default ## Important Will be a breaking change for apps using android-game-activity. --------- Co-authored-by: Christian Oelschlegel <oelschle@sciphy.de> Co-authored-by: leomeinel <leo@meinel.dev>
39 lines
1.0 KiB
TOML
39 lines
1.0 KiB
TOML
[package]
|
|
name = "bevy_mobile_example"
|
|
# Version is required by `cargo-apk`, though this value will never change.
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
description = "Example for building an iOS or Android app with Bevy"
|
|
publish = false
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[lib]
|
|
name = "bevy_mobile_example"
|
|
crate-type = ["staticlib", "cdylib"]
|
|
|
|
[dependencies]
|
|
bevy = { path = "../../", features = ["android-native-activity"] }
|
|
|
|
[package.metadata.android]
|
|
package = "org.bevyengine.example"
|
|
apk_name = "bevyexample"
|
|
assets = "../../assets"
|
|
resources = "../../assets/android-res"
|
|
# This strips debug symbols from the shared libraries, drastically reducing APK size. If you need them, remove the option.
|
|
strip = "strip"
|
|
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
|
|
|
|
[package.metadata.android.sdk]
|
|
target_sdk_version = 33
|
|
|
|
[package.metadata.android.application]
|
|
icon = "@mipmap/ic_launcher"
|
|
label = "Bevy Example"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
|
|
all-features = true
|