-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
Description
Facing multiple crashlytics reports for activity_result_invalid_parameters field not being found in a specific class. This might be affecting the user interaction. Please provide a fix for this
Razorpay SDK Version :
RazorPay SDK : 1.6.41
AGP : 8.11.1
Gradle : 8.13
What happened:
Fatal Exception: java.lang.NoSuchFieldError: No static field activity_result_invalid_parameters of type I in class Lcom/razorpay/R$string; or its superclasses (declaration of 'com.razorpay.R$string' appears in /data/app/~~6_g8OqvmsOxnF9WQ1N-s3g==/medion.consumer.android-Yu1DAJPrlrLkGmnYV56xLA==/base.apk!classes2.dex)
at com.razorpay.CheckoutPresenterImpl.setOptions(CheckoutPresenterImpl.java:294)
at com.razorpay.BaseCheckoutActivity.onCreate(BaseCheckoutActivity.java:122)
at com.razorpay.BaseCheckoutOtpelfActivity.onCreate(BaseCheckoutOtpelfActivity.java:25)
at com.razorpay.CheckoutActivity.onCreate(CheckoutActivity.java:8)
Suggested solution:
Please provide a new AAR with non-obfusication for the particular field activity_result_invalid_parameters. Along with this provide updated proguard rule if required ( apart from already shared ones )
# Existing Proguard Rules
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
-keepattributes JavascriptInterface
-keepattributes *Annotation*
-dontwarn com.razorpay.**
-keep class com.razorpay.** {*;}
-optimizations !method/inlining/*
-keepclasseswithmembers class * {
public void onPayment*(...);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels