react-native-sms-user-consent
react-native-sms-user-consent copied to clipboard
React Native wrapper for Android's SMS User Consent API, ready to use in React Native apps with minimum effort.
I upgraded all packages plus the sdk/build tools in order to support Android 12, and I now get this: ``` A problem occurred evaluating project ':eabdullazyanov_react-native-sms-user-consent'. > Plugin with id...
Hi, I just upgraded to RN68 and the plugin is breaking unfortunately due to the usage of maven. Here are the required patches. Is this library still maintained @akvelon ?...
const message: SMSMessage = startSmsHandling((event: { sms?: string }) => { console.log(event); var otp = retrieveVerificationCode(event?.sms,4) this.setState({ code: otp.toString() }) }) stopSmsHandling() should call automatically when we call startSmsHandling() function...
**SecurityException** com.MyApp: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts com.akvelon.reactnativesmsuserconsent.ReactNativeSmsUserConsentModule.subscribe java.lang.SecurityException `Exception java.lang.SecurityException: at android.os.Parcel.createExceptionOrNull (Parcel.java:3067) at android.os.Parcel.createException (Parcel.java:3051)...
Crash reproduced on: OnePlus 9RT 12/256 Android 13 Stack Trace: `java.lang.IllegalArgumentException: Receiver not registered: com.akvelon.reactnativesmsuserconsent.SmsBroadcastReceiver@c6d2cc7 at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1709) at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1846) at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:822) at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:822) at com.akvelon.reactnativesmsuserconsent.ReactNativeSmsUserConsentModule.unsubscribe(ReactNativeSmsUserConsentModule.java:89) at com.akvelon.reactnativesmsuserconsent.ReactNativeSmsUserConsentModule.stopNativeSmsListener(ReactNativeSmsUserConsentModule.java:157) at java.lang.reflect.Method.invoke(Method.java) at...