Open devduttnetsutra opened 2 years ago
Hi,
I don't want to SDK to ask for runtime SMS permission on bank otp page and user will enter it manually.
To do so, I set merchantSmsPermission flag to false. But still asking for Permission in OTP screen. and App is crashed when OTP is received on Mobile.
Sample code for configuration is :
val payUCheckoutProConfig = PayUCheckoutProConfig() payUCheckoutProConfig.merchantSmsPermission = false PayUCheckoutPro.open( this, payUPaymentParams, payUCheckoutProConfig, payUCheckoutProListener )
When app is crashed, I got Exception (Unable to start receiver com.oohyugi.sms_otp_auto_verify.SmsBroadcastReceiver: kotlin.TypeCastException: null cannot be cast to non-null type kotlin.String)
Hi,
I don't want to SDK to ask for runtime SMS permission on bank otp page and user will enter it manually.
To do so, I set merchantSmsPermission flag to false. But still asking for Permission in OTP screen. and App is crashed when OTP is received on Mobile.
Sample code for configuration is :
When app is crashed, I got Exception (Unable to start receiver com.oohyugi.sms_otp_auto_verify.SmsBroadcastReceiver: kotlin.TypeCastException: null cannot be cast to non-null type kotlin.String)