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

Fix android build by migrating androidx modules #173

Merged
merged 2 commits into from
Feb 13, 2021

Conversation

ollwells
Copy link

@ollwells ollwells commented Feb 5, 2021

I ran into issues attempting to use this plugin for a Ionic 5 capacitor project.

This seemed to be a common issue:
#155
#157

I looked into it a bit more and saw android.support libraries are now replaced with androidx by default for Ionic.

So I changed the imports and found I was able to build and use the CustomTabs android implementation of this plugin.
Here are the changes I made to get it to build and run.

This would appear to be a breaking change so I will leave with @EddyVerbruggen to decide on merging this change.

@AresDev
Copy link

AresDev commented Feb 8, 2021

@EddyVerbruggen could you please take a look? I'm facing this problem when installing fingerprint-aio plugin, I think it does something androidx related and there is a compatibility issue, and I need both plugins. Thanks!

@dahLucky
Copy link

I tested the pull request on Android 10 and can verify that it works as expected.

@EddyVerbruggen EddyVerbruggen merged commit 05e4675 into EddyVerbruggen:master Feb 13, 2021
@EddyVerbruggen EddyVerbruggen added this to the 2.0.0 milestone Feb 13, 2021
@EddyVerbruggen
Copy link
Owner

Thanks guys!

I'll do a major version bump, just to be on the safe side.

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

Successfully merging this pull request may close these issues.

4 participants