Skip to content

Getting Values Back From PopUP Browser #36

@susthitsoft

Description

@susthitsoft

General information

  • SDK/Library version: 28
  • Android Version and Device: Pixel Emulator with Android 6.0

Issue description

I am trying to integrate for Payment GateWays Other Than Paypal.

Example: Use RazaorPay
Test Page https://susthitsoft.com/test.html

Earlier when I was using another webview show popups

Using onCreateWindows of WebChromeClient class
WebView.WebViewTransport transport = (WebView.WebViewTransport) resultMsg.obj;
transport.setWebView(newWebView);
resultMsg.sendToTarget();

It seemed to be working.

However, this is'nt case with PopUpBridge

Any ideas is there is way to link WEbViewTransport to Browser window launched?
Or am I missing something.
If this works it could be a generic method for all payments gatways like Stripe etc.

Could you help ?

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