You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: local variable currentActivity is accessed from within inner class; needs to be declared final
Description
Please provide a clear and concise description of what the bug is. Include screenshots if needed.
Please test using the latest React Native Razorpay plugin release to make sure your issue has not already been fixed.
Razorpay Package Version :
Open Package.json. > 2.2.1
Java and Gradle Version (android) :
Specify your Java and Gradle version.
What you did:
What happened:
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Suggested solution:
Code example, screenshot, or link to a repository:
Please provide a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
You may provide a screenshot of the application if you think it is relevant to your bug report.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve
The text was updated successfully, but these errors were encountered:
open android studio
and build the project it will show you error in custom ui sdk just go with make variable final it worked for me
in RazorpayModule.java
change line 85-86 to this
@ReactMethod
public void initRazorpay(final String key){
final Activity currentActivity = getCurrentActivity();
error: local variable currentActivity is accessed from within inner class; needs to be declared final
Description
Please provide a clear and concise description of what the bug is. Include screenshots if needed.
Please test using the latest React Native Razorpay plugin release to make sure your issue has not already been fixed.
Razorpay Package Version :
Open
Package.json
. > 2.2.1Java and Gradle Version (android) :
Specify your Java and Gradle version.
What you did:
What happened:
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Suggested solution:
Code example, screenshot, or link to a repository:
Please provide a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
You may provide a screenshot of the application if you think it is relevant to your bug report.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve
The text was updated successfully, but these errors were encountered: