mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
7e0a9bfade
# Objective - Merge the examples on iOS and Android - Make sure they both work from the same code ## Solution - don't create window when not in an active state (from #6830) - exit on suspend on Android (from #6830) - automatically enable dependency feature of bevy_audio on android so that it works out of the box - don't inverse y position of touch events - reuse the same example for both Android and iOS Fixes #4616 Fixes #4103 Fixes #3648 Fixes #3458 Fixes #3249 Fixes #86
29 lines
674 B
TOML
29 lines
674 B
TOML
[package]
|
|
name = "bevy_mobile_example"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
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 = "../../" }
|
|
|
|
[package.metadata.android]
|
|
package = "org.bevyengine.example"
|
|
apk_name = "bevyexample"
|
|
assets = "../../assets"
|
|
resources = "../../assets/android-res"
|
|
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
|
|
|
|
[package.metadata.android.sdk]
|
|
target_sdk_version = 31
|
|
|
|
[package.metadata.android.application]
|
|
icon = "@mipmap/ic_launcher"
|
|
label = "Bevy Example"
|
|
|