Skip to content

Conversation

@andhie
Copy link

@andhie andhie commented Nov 10, 2016

Prevent obfuscation of GMS ProviderInstaller

Class<?> providerInstaller = Class.forName("com.google.android.gms.security.ProviderInstaller");

Trying to alleviate Issue #782 , #647
But without GMS, Ion would still not work on pre-Lollipop devices with SSL enabled


This change is Reviewable

@kakai248
Copy link

kakai248 commented Apr 21, 2017

I can confirm this fixes the issue for Android >=5.0. However, doing this will also make it stop working on <5.0 (not sure why). To fix it add this:

if(android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.LOLLIPOP) {
    Ion.getDefault(this).getConscryptMiddleware().enable(false);
}

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants