Flutterwave / AndroidSDK

Rave's Android Drop In UI
7 stars 8 forks source link

CRASH WHEN ENTERING PHONE NUMBER FOR MOBILE MONEY PAYMENTS #261

Open heromiyo opened 3 years ago

heromiyo commented 3 years ago

When i navigate to the payments page and try to enter the payment phone number Rave crashes with the error below

Phone specs: Huawei P10 Android Version: 10

E/AndroidRuntime: FATAL EXCEPTION: main Process: com.hero76.tinkalerealestate, PID: 7027 java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.getBoundsOnScreen(android.graphics.Rect)' on a null object reference at android.app.assist.AssistStructure$WindowNode.(AssistStructure.java:484) at android.app.assist.AssistStructure.(AssistStructure.java:1908) at android.app.ActivityThread.handleRequestAssistContextExtras(ActivityThread.java:3471) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2135) at android.os.Handler.dispatchMessage(Handler.java:108) at android.os.Looper.loop(Looper.java:166) at android.app.ActivityThread.main(ActivityThread.java:7425) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921) I/Process: Sending signal. PID: 7027 SIG: 9

heromiyo commented 3 years ago

This crash only happens when user touches the phone number input field Stackoverflow shows this to be the issue https://stackoverflow.com/questions/45898228/android-attempt-to-invoke-virtual-method-void-android-view-view-getboundsonsc