Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Android 11 (API 30) #2600

Closed
3 of 5 tasks
bmarty opened this issue Dec 29, 2020 · 1 comment · Fixed by #2616
Closed
3 of 5 tasks

Support Android 11 (API 30) #2600

bmarty opened this issue Dec 29, 2020 · 1 comment · Fixed by #2616

Comments

@bmarty
Copy link
Member

bmarty commented Dec 29, 2020

More and more users report some issues using Element on Android 11.
We should compile with SDK API 30 set target SDK to 30 and try the app on at least an Emulator running Android 11.

Ref: https://developer.android.com/about/versions/11

Checklist

  • One-time permissions

Starting in Android 11, whenever your app requests a permission related to location, microphone, or camera, the user-facing permissions dialog contains an option called Only this time. If the user selects this option in the dialog, your app is granted a temporary one-time permission.
https://developer.android.com/training/permissions/requesting#one-time

  • Starting in Android 11, only pre-installed system camera apps can respond to the following intent actions:
  • android.media.action.VIDEO_CAPTURE
  • android.media.action.IMAGE_CAPTURE
  • android.media.action.IMAGE_CAPTURE_SECURE
  • Scoped storage enforcement

  • Foreground services

Apps that run on Android 11 or higher and access location, the camera, or the microphone in a foreground service

  • Share content URIs

If your app shares a content URI with another app, the intent must grant URI access permissions by setting at least one of the following intent flags: FLAG_GRANT_READ_URI_PERMISSION and FLAG_GRANT_WRITE_URI_PERMISSION.

@bmarty bmarty added this to the Sprint 18 milestone Dec 29, 2020
@onurays onurays self-assigned this Dec 30, 2020
@anoadragon453
Copy link
Member

I would add #2569 to this list as it seems to be Android 11 only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants