From 993d5d68104e986087b8ba27c6177afb4f6f2808 Mon Sep 17 00:00:00 2001 From: Sergio Ribera Date: Fri, 7 Apr 2023 18:12:43 -0400 Subject: [PATCH] fix: temporary solution for 8322 bevy issue --- examples/simple_mobile/Cargo.lock | 3 +-- examples/simple_mobile/Cargo.toml | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/simple_mobile/Cargo.lock b/examples/simple_mobile/Cargo.lock index 92cf0e0..c5e4c4c 100644 --- a/examples/simple_mobile/Cargo.lock +++ b/examples/simple_mobile/Cargo.lock @@ -131,8 +131,7 @@ dependencies = [ [[package]] name = "android-activity" version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c77a0045eda8b888c76ea473c2b0515ba6f471d318f8927c5c72240937035a6" +source = "git+https://github.com/MarijnS95/android-activity/?branch=na-resize#20212a6d0cb9ae93553fcfe03921d040b7f16817" dependencies = [ "android-properties", "bitflags", diff --git a/examples/simple_mobile/Cargo.toml b/examples/simple_mobile/Cargo.toml index cddd75d..ba3cae1 100644 --- a/examples/simple_mobile/Cargo.toml +++ b/examples/simple_mobile/Cargo.toml @@ -24,3 +24,9 @@ target_sdk_version = 31 [package.metadata.android.application] icon = "@mipmap/ic_launcher" label = "Simple Joystick" + +# +# Important: this solve the [issue](https://github.com/bevyengine/bevy/issues/8322) +# +[patch.crates-io] +android-activity = { git = "https://github.com/MarijnS95/android-activity/", branch = "na-resize"}