faizalshap / react-native-otp-verify

React native sms verification without additional permissions
MIT License
239 stars 92 forks source link

Compile time error in with react-native version 0.73 #114

Open avyasradicle opened 5 months ago

avyasradicle commented 5 months ago

Task :react-native-otp-verify:processDebugManifest package="com.faizal.OtpVerify" found in source AndroidManifest.xml: node_modules/react-native-otp-verify/android/src/main/AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored. Recommendation: remove package="com.faizal.OtpVerify" from the source AndroidManifest.xml: /node_modules/react-native-otp-verify/android/src/main/AndroidManifest.xml.

Task :react-native-otp-verify:compileDebugJavaWithJavac FAILED

"react-native": "0.73.0", "react-native-otp-verify": "^1.1.8",

For resolving this I removed the package namespace from AndroidManifest file and added it in the build.gradle file. But after that it started giving new error- error: package com.google.android.gms.auth.api.identity does not exist import com.google.android.gms.auth.api.identity.GetPhoneNumberHintIntentRequest;

leofolive commented 4 months ago

@faizalshap Can you verify this?