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

Proguard error on Android SDK 23 #47

Closed
klassm opened this issue Jan 3, 2016 · 3 comments
Closed

Proguard error on Android SDK 23 #47

klassm opened this issue Jan 3, 2016 · 3 comments

Comments

@klassm
Copy link

klassm commented Jan 3, 2016

Your library cannot be used together with Android sdk 23, as proguard throws an error:

Warning: de.duenndns.ssl.MemorizingTrustManager: can't find referenced method 'void setLatestEventInfo(android.content.Context,java.lang.CharSequence,java.lang.CharSequence,android.app.PendingIntent)' in library class android.app.Notification

This is a real show stopper - with that dependency your library cannot be used any more.

@klassm
Copy link
Author

klassm commented Jan 3, 2016

There seems to be a pull request to solve this issue: #46

When will be your next release (bintray.com, #37) fixing that issue? :-)

@klassm
Copy link
Author

klassm commented Jan 3, 2016

See klassm@4225498

I've merged those two available pull requests allowing to build an aar that can be used against sdk 23. I won't create a pull request - feel free to take what you want.

ge0rg added a commit that referenced this issue Jun 8, 2016
This fixes #46, #47 and #48.

The code in here is fully backwards-compatible to older Android releases
using fallback to the old methods and reflection.
@ge0rg ge0rg closed this as completed Jun 8, 2016
@ge0rg
Copy link
Owner

ge0rg commented Jun 8, 2016

Fixed in master! :)

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

No branches or pull requests

2 participants