Skip to content

SmallcaseGateway triggerLeadGen Pop up open then some time react native app crash. #47

Description

@AjayGol

I have facing issue this :-
1 SmallcaseGateway.triggerLeadGen({ email: "test@gmail.com" });
2 while user click on open an account online and parallel press on device back button then crash app.

Screenshot 2023-12-19 at 10 59 37 AM

Here is crash log
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Handler.postDelayed(java.lang.Runnable, long)' on a null object reference
at com.smallcase.gateway.screens.leadgen.activity.LeadGenActivity$e.onPageCommitVisible(LeadGenActivity.kt:2)
at Ua.a(chromium-TrichromeWebViewGoogle6432.apk-stable-447211484:10)
at b8.run(chromium-

TrichromeWebViewGoogle6432.apk-stable-447211484:1)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions