Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(android): Add appcompat to capacitor-cordova-android-plugins module #5373

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

jcesarmobile
Copy link
Member

@jcesarmobile jcesarmobile commented Jan 14, 2022

cordova-android 10 uses appcompat as activity, so if a Capacitor app uses cordova-android 10 and any plugin calls cordova.getActivity() or similar method it fails to build because it nows returns an AppCompatActivity instead of a regular Activity.
Adding the appcompat dependency to the plugins module fixes the issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants