Hi, thank you for very use-full lib but sometimes I've got crashlytics reports from my users.
General description:
Fatal Exception: java.lang.RuntimeException
Failure delivering result ResultInfo{who=null, request=1001, result=-1, data=Intent { (has extras) }} to activity {com.mycomp.android.myapp/com.mycomp.android.myapp.MainActivity}: java.lang.IllegalArgumentException: java.security.spec.InvalidKeySpecException: com.android.org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
Stacktrace:
Caused by java.lang.IllegalArgumentException: java.security.spec.InvalidKeySpecException: com.android.org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
at com.github.stephenvinouze.core.managers.SecurityManager.generatePublicKey(SecurityManager.kt:58)
at com.github.stephenvinouze.core.managers.SecurityManager.verifyPurchase(SecurityManager.kt:37)
at com.github.stephenvinouze.core.managers.KinAppManager.verifyPurchase(KinAppManager.kt:135)
at com.mycomp.android.myappr.MainActivity.onActivityResult(MainActivity.kt:111)
at android.app.Activity.dispatchActivityResult(Activity.java:7633)
at android.app.ActivityThread.deliverResults(ActivityThread.java:5038)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5086)
at android.app.ActivityThread.-wrap20()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
Cant find anything in internet how to fix this, can you check please?
Android 8.1 (Y7 Prime 2019)
Android 10 (Mate 20 Pro)
Hi, thank you for very use-full lib but sometimes I've got crashlytics reports from my users. General description: Fatal Exception: java.lang.RuntimeException Failure delivering result ResultInfo{who=null, request=1001, result=-1, data=Intent { (has extras) }} to activity {com.mycomp.android.myapp/com.mycomp.android.myapp.MainActivity}: java.lang.IllegalArgumentException: java.security.spec.InvalidKeySpecException: com.android.org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key
Stacktrace: Caused by java.lang.IllegalArgumentException: java.security.spec.InvalidKeySpecException: com.android.org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: Error parsing public key at com.github.stephenvinouze.core.managers.SecurityManager.generatePublicKey(SecurityManager.kt:58) at com.github.stephenvinouze.core.managers.SecurityManager.verifyPurchase(SecurityManager.kt:37) at com.github.stephenvinouze.core.managers.KinAppManager.verifyPurchase(KinAppManager.kt:135) at com.mycomp.android.myappr.MainActivity.onActivityResult(MainActivity.kt:111) at android.app.Activity.dispatchActivityResult(Activity.java:7633) at android.app.ActivityThread.deliverResults(ActivityThread.java:5038) at android.app.ActivityThread.handleSendResult(ActivityThread.java:5086) at android.app.ActivityThread.-wrap20() at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
Cant find anything in internet how to fix this, can you check please? Android 8.1 (Y7 Prime 2019) Android 10 (Mate 20 Pro)