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

activity needs android:exported value when targeting SDK 31 #5237

Closed
jcesarmobile opened this issue Nov 12, 2021 · 6 comments · Fixed by #5351
Closed

activity needs android:exported value when targeting SDK 31 #5237

jcesarmobile opened this issue Nov 12, 2021 · 6 comments · Fixed by #5351

Comments

@jcesarmobile
Copy link
Member

Bug Report

Capacitor Version

4

Platform(s)

android

Current Behavior

android template doesn't have a value for android:exported and it's required if targeting SDK 31

Expected Behavior

we should update the template to make the MainActivity entry to include android:exported="true"

@beruic
Copy link

beruic commented Feb 9, 2022

Will this be backported to Capacitor 2 and 3?

@jcesarmobile
Copy link
Member Author

no, but this is the starting template, any user that wants to target SDK 31 can just do this on their own app, for users migrating from 3 to 4 will be documented on the upgrade guide

@productdevbook
Copy link

some problem Capacitor 3

@piotr-cz
Copy link

@jcesarmobile
In that case Capacitor 3 docs should be upgraded to clarify that SDK 31+ target isn't supported

@sawaca96
Copy link

@jcesarmobile
When can I use capacitor 4?

I want to know release schedule for capacitor 4.

@ionic-team ionic-team locked as off-topic and limited conversation to collaborators Jun 16, 2022
@jcesarmobile
Copy link
Member Author

this has been addressed here and available on capacitor 4.0.0 beta 0

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

Successfully merging a pull request may close this issue.

6 participants