FbLogin with InAppBrowser fails if target is '_system'


#1

Hello everyone,

I added cordova inAppBrowser plugin and able to authenticate to facebook with target '_blank' . When I set target to '_system' (which is chrome browser for android) lost my connection between window reference and my controller so as expected I’m getting Web Page Not Available error for url http://localhost/callback?code=...

Any idea?

Also another problem with this login approach is it’s very ugly. Ionic framework provides very comfortable UI and feeling but InappBrowser login flow brakes this feeling. There must be a solution to use native Facebook SDK to feel more native.

I know about phonegap-facebook-plugin. Actually I couldn’t find any working example for it and its configuration made me scared.


#2

I have the same issue. any solution?