android-activity breaking changes
cargo6 curated breaking changes across major versions of android-activity. Use this as a migration checklist before bumping dependencies.
- v0.5.0-beta.1 \u2192 v0.5.0breaking
GameActivity updated to 2.0.2 (requires the corresponding 2.0.2 `.aar` release from Google) ([#88](https://github.com/rust-mobile/android-activity/pull/88))
- v0.5.0-beta.1 \u2192 v0.5.0breaking
`AndroidApp::input_events()` is replaced by `AndroidApp::input_events_iter()` ([#102](https://github.com/rust-mobile/android-activity/pull/102)) <details> <summary>Click here for an example of how to use `input_events_iter()`:</summary> ```rust match app.input_events_iter() { Ok(mut iter) => { loop { let read_input = iter.next(|event| { let handled = match event { InputEvent::KeyEvent(key_event) => { // Snip } InputEvent::MotionEvent(motion_event) => { // Snip } event => { // Snip } }; handled }
- v0.5.0-beta.1 \u2192 v0.5.0breaking
The `Pointer` and `PointerIter` types from the `ndk` crate are no longer directly exposed in the public API ([#122](https://github.com/rust-mobile/android-activity/pull/122))
- v0.5.0-beta.1 \u2192 v0.5.0breaking
All input API enums based on Android SDK enums have been made runtime extensible via hidden `__Unknown(u32)` variants ([#131](https://github.com/rust-mobile/android-activity/pull/131))
- v0.3.0 \u2192 v0.4.0breaking
The native-activity backend is now implemented in Rust only, without building on `android_native_app_glue.c` ([#35](https://github.com/rust-mobile/android-activity/pull/35))
- unknown \u2192 v0.2.0breaking
*Breaking*: `AndroidApp::config()` now returns a clonable `ConfigurationRef` instead of a deep `Configuration` copy
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/android-activity