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.
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;
"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;