Closed gouthamravella closed 3 years ago
@gouthamravella I believe this is the reason for the fatal exception.
Unable to start receiver com.oohyugi.sms_otp_auto_verify.SmsBroadcastReceiver: kotlin.TypeCastException: null cannot be cast to non-null type kotlin.String
from the class name it looks like it's your class. Could you please try resolving this and see if this still exists?
Thank you.
Where should i do that? I am using the razorypay_flutter: ^1.2.5 package in my code.
flutter doctor Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.0.4, on Microsoft Windows [Version 10.0.19042.867], locale en-US) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [√] Chrome - develop for the web [√] Android Studio (version 4.0) [√] VS Code (version 1.55.0) [√] Connected device (2 available)
It was working for flutter version < 2.0.0. But stopped after that.
It's a TypeCastException from your class SmsBroadcastReciever. A null type cannot be cast to a non-null type. If you add that check here it should solve this problem for you.
Closing this issue due to inactivity. Feel free to reopen this or adding more comments.
Open this issue
This issue is causing the app shutdown when reading sms automatically in bank otp verification page. Here are the below details:
Please resolve this issue as soon as possible. Thanks.