klarna / klarna-mobile-sdk

Klarna Mobile SDK for iOS
https://docs.klarna.com/mobile-sdk/ios/
Apache License 2.0
29 stars 12 forks source link

Unable to get provider com.klarna.mobile.KlarnaInitProvider #163

Open rondalewilliams opened 2 years ago

rondalewilliams commented 2 years ago

Describe the bug

It looks when an Activity tries to spin up the Content Provider within the Klarna In-App store SDK we get a ClassNotFoundException. We've seen only a few instances of this in Crashlytics but we figured it should be on the radar. We believe this is due to an issue with the Android OS.

To Reproduce We haven't been able to reproduce this.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Device and version:

Merchant Name Lululemon

Impact Level Minimal and is not blocking development

Additional context Fatal Exception: java.lang.RuntimeException: Unable to get provider com.klarna.mobile.KlarnaInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.klarna.mobile.KlarnaInitProvider" on path: DexPathList[[zip file "/data/app/com.lululemon.shop-33bKhC-uPO9phguBoDchBw==/base.apk"],nativeLibraryDirectories=[/data/app/com.lululemon.shop-33bKhC-uPO9phguBoDchBw==/lib/arm64, /data/app/com.lululemon.shop-33bKhC-uPO9phguBoDchBw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]] at android.app.ActivityThread.installProvider(ActivityThread.java:6437) at android.app.ActivityThread.installContentProviders(ActivityThread.java:6000) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5912) at android.app.ActivityThread.-wrap1(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1680) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6710) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)