Open umairalirehan opened 1 year ago
Would you mind sharing a sample project link with us so we can figure out what went wrong.
Same problem here, I just installed the package trying to build using react-native run-android. Tried also cleaning the build gradle, but same problem
I will share it's solution very soon.
On Tue, Dec 13, 2022, 1:00 PM cisplRejjak @.***> wrote:
Same problem here, I just installed the package trying to build using react-native run-android. Tried also cleaning the build gradle, but same problem
— Reply to this email directly, view it on GitHub https://github.com/faizalshap/react-native-otp-verify/issues/70#issuecomment-1347889852, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKV2NFMNWYQFPZMZW767KUDWNAUIDANCNFSM6AAAAAASRR7X5E . You are receiving this because you authored the thread.Message ID: @.***>
I will share it's solution very soon.
pls share it
I will share it's solution very soon.
pls share it
please made these changes at this location(whenever you run npm install do it again): nodeModules->react-native-otp-verify->android->build.gradlew add these lines in android tag from line number 22:
compileSdkVersion safeExtGet('OtpVerify_compileSdkVersion', 31) defaultConfig { minSdkVersion safeExtGet('OtpVerify_minSdkVersion', 21) targetSdkVersion safeExtGet('OtpVerify_targetSdkVersion', 31) versionCode 2 versionName "1.0"
@ganjargal Please use 1.0.4 version and remove ^ symbol for this package installed
then run npm install again. once done, do gradle clean and run the app, I hope it will resolve your problem.
Note: follow this version(1.0.4) documentation for the integration part
getting below error
FAILURE: Build completed with 2 failures.