ShakeS
Shake
Aug 31

Android SDK 31 compatibility

Hi team, Android SDK 31 requires all services and activities to include the `exported` flag in the AndroidManifest.xml. Looking at my merged manifest it looks like Shake does not provide this at the moment, causing any client apps targeting API 31 that use Shake to fail at the compilation stage. This is particularly an issue because some of the new Jetpack Compose dependencies require API 31. Even though Android 12 has not been released yet, this property still exists on earlier versions of the Android SDK but setting `exported` was not enforced. See these resources - https://developer.android.com/about/versions/12/behavior-cha… https://stackoverflow.com/a/67412314/1224673
CompletedCompleted

Sep 21, 2021

Hey Denis Ligonja, thank you for the request. The new release of the Android SDK is going to be upgraded to support Android 12. It should be out later today. We will update you as soon as we release v15.0.0.

Sep 20, 2021

You guys can probably merge this with: https://feedback.shakebugs.com/bugs/p/android-sdk-31-compati…

Sep 16, 2021

A related issue which is currently causing a crash when targeting Android 12: `To use the sampling rate of 0 microseconds, app needs to declare the normal permission HIGH_SAMPLING_RATE_SENSORS.` See [motion sensor rate-limited](https://developer.android.com/about/versions/12/behavior-cha…). Current workaround: `<uses-permission android:name="android.permission.HIGH_SAMPLING_RATE_SENSORS" tools:ignore="HighSamplingRate" />`

Sep 1, 2021

Hi Jarrod, sorry about that and thanks for letting us know — I'm forwarding this to the Android and QA teams. You'll be automatically notified when it gets addressed.