Open hartmannj opened 1 year ago
It seems to work with emulators using Android SDK 33 Google Play. This could potentially mean that it will crash on all devices with Android 14, or it is a bug in the SDK 34 Google Play emulator image.
Is it because https://developer.android.com/health-and-fitness/guides/health-connect/migrate/migrate-from-android-13-to-14
In Android 13, you declare permissions using a custom permissions format, in a resource file that is linked to the manifest: To support Android 14, developers need to move to the standard permissions format:
OS: Android 14 Device: Emulator (Pixel 7 Pro, Android SDK 34 Google Play)
When trying to request for permissions like following:
the app crashes with exception:
My AndroidManifest.xml:
The Health Connect app is installed on the emulator. Any idea what I am missing?