braintree / popup-bridge-ios

Enable your web view to open pages in an ASWebAuthenticationSession
MIT License
38 stars 20 forks source link

Readme: Unclear where to implement step 3 Integrate PopupBridge with the WKWebView: #40

Closed einmalick closed 2 years ago

einmalick commented 2 years ago

It is not clear where to implement step 3 Integrate PopupBridge with the WKWebView in an Expo application.

Please enhance readme.

einmalick commented 2 years ago

In react native + Expo applications RNCWKWebvie is used instead of WKWebview.

jaxdesmarais commented 2 years ago

Hello @einmalick -

Thanks for reaching out. We do not officially support React Native, Expo, or any compile to native frameworks. As I understand RNCWKWebview uses WKWebview under the hood in the latest version so there may be a way to access and inject the webivew as expected in a React Native + Expo project. That said, our recommend and supported approach would be to use WebKit directly.

Please feel free to take a look at the Demo app within the SDK for an example of how to incorporate Popup Bridge into your project.