Closed alexgpeppe closed 4 years ago
Any updates about this issue...?
The iOS part of this plugin is based on the WKWebView component of cordova-plugin-inappbrowser with an extension to support Braintree's PopupBridge.
Can you reproduce the same issue with the current master version (3.1.0-dev
) of cordova-plugin-inappbrowser
using the WKWebView implementation (usewkwebview=yes
) ?
Thanks for your fast reply, @dpa99c. I couldn't find the version you mentioned, but I replaced the cordova-plugin-inappbrowser-popup-bridge
with the version 3.0.0
of cordova-plugin-inappbrowser
and now facebook login works as expected. I also managed to add a payment method using braintree without changing my code (I didn't have to use usewkwebview=yes
), so now everything is fine for me.
I'm submitting a ...
Bug report
Current behavior:
On iOS devices the attempt to login with facebook with Facebook app always fails with the response error
User cancelled.
. The bug has been tested on a clean Ionic app containing a minimal plugins set, it appeared after installing this plugin.Expected behavior:
On iOS devices the attempt to login with facebook with Facebook app correctly succeeds as the login through email or phone number does.
Steps to reproduce:
On iOS click the button to login with facebook and from the webview shown below choose to login with the Facebook app. This bug appears only on iOS, on android everything works as expected.
Environment information
Cordova CLI version
Cordova platform version
Plugins & versions installed in project (including this plugin)
Dev machine OS and version, e.g.
Runtime issue
iOS build issue:
Node JS version
XCode version
Ionic environment info
Installed Ionic Native modules and versions