jeduan / cordova-plugin-facebook4

Use the latest Facebook SDK in your Cordova and Ionic projects
Other
765 stars 510 forks source link

Incompatibility with cordova-plugin-googleplus #193

Closed tomasbedrich closed 8 years ago

tomasbedrich commented 8 years ago

I am experiencing exactly this issue when I have installed both: cordova-plugin-facebook4 and cordova-plugin-googleplus. The issue is immediately solved by uninstalling the google plus plugin.

SW versions and Xcode log:

Xcode 7.3, iOS 9.3.x, Cordova: 6.1.1, cordova-plugin-facebook4 1.7.0, cordova-plugin-googleplus 4.0.8
...
2016-04-06 23:59:47.703 FXE[83329:1134828] Apache Cordova native platform version 4.1.0 is starting.
2016-04-06 23:59:47.704 FXE[83329:1134828] Multi-tasking -> Device: YES, App: YES
2016-04-06 23:59:48.394 FXE[83329:1134828] Using UIWebView
2016-04-06 23:59:48.400 FXE[83329:1134828] [CDVTimer][handleopenurl] 0.100970ms
2016-04-06 23:59:48.402 FXE[83329:1134828] Unlimited access to network resources
2016-04-06 23:59:48.402 FXE[83329:1134828] [CDVTimer][intentandnavigationfilter] 2.003968ms
2016-04-06 23:59:48.402 FXE[83329:1134828] [CDVTimer][gesturehandler] 0.109017ms
2016-04-06 23:59:48.405 FXE[83329:1134828] [CDVTimer][ble] 2.840996ms
2016-04-06 23:59:48.406 FXE[83329:1134828] Starting Facebook Connect plugin
2016-04-06 23:59:48.406 FXE[83329:1134828] [CDVTimer][facebookconnectplugin] 0.304997ms
2016-04-06 23:59:48.406 FXE[83329:1134828] [CDVTimer][googleplus] 0.115037ms
2016-04-06 23:59:48.453 FXE[83329:1134828] [CDVTimer][splashscreen] 46.878994ms
2016-04-06 23:59:48.464 FXE[83329:1134828] [CDVTimer][statusbar] 10.188043ms
2016-04-06 23:59:48.509 FXE[83329:1134828] [CDVTimer][socialsharing] 44.714034ms
2016-04-06 23:59:48.509 FXE[83329:1134828] [CDVTimer][keyboard] 0.208020ms
2016-04-06 23:59:48.510 FXE[83329:1134828] [CDVTimer][TotalPluginStartup] 113.181949ms
...
2016-04-07 00:00:12.322 FXE[83329:1134828] Starting login
2016-04-07 00:00:12.330 FXE[83329:1134828] -canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
2016-04-07 00:00:12.341 FXE[83329:1134828] -canOpenURL: failed for URL: "fbauth2:/" - error: "(null)"
2016-04-07 00:00:12.364 FXE[83329:1134828] THREAD WARNING: ['FacebookConnectPlugin'] took '42.623047' ms. Plugin should use a background thread.
leonardobazico commented 8 years ago

+1

ezazwar1 commented 8 years ago

+1

GabrielFerraz commented 8 years ago

+1

GenesioValois commented 8 years ago

+1

adewaleandrade commented 8 years ago

+1

vivekpd15 commented 8 years ago

+1

EddyVerbruggen commented 8 years ago

Hi, it was a bit hard to find but I traced it down to a recent change that was merged to the Google+ plugin. I've just pushed a change to fix compatibility issues with this awesome Fb plugin.

Note that canOpenURL: failed for URL: "fbauth2:/ is merely a symptom of something being wrong. It might as well be your Facebook app ID is incorrect.

ShinyMetildaJ commented 8 years ago

Hi, Removing this callback - Google login does not redirect to the app. We need to do something like this. #191 which handles both scenarios when FB is present and when it is not present. Please go through the thread https://code.google.com/p/google-plus-platform/issues/detail?id=900 and look at comment 165. This is an issue introduced by google.

YaroslavG commented 8 years ago

hi guys, any updates about this problem?

Maudini commented 4 years ago

Is this solved? Still seeing the error message