Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

facebookConnectPlugin.login shows web browser instead native implementation #348

Closed
patrickbussmann opened this issue Oct 17, 2016 · 14 comments

Comments

@patrickbussmann
Copy link

Hey guys,

a few hours ago I clicked on the facebook login button and I was redirected to a real facebook app window.
Then I changed nothing and logged out and logged in again and then after click on facebook login again, I was redirected to a web browser.

Why?

I'm using default script.

facebookConnectPlugin.login(["email"], function (userData) {
    console.log("UserInfo: ", userData);
  },
  function loginError (error) {
    console.error(error)
  }
);

First on 12:14:
native

Second on 17:59:
14689715_1235199453240437_1862638029_o

Don't know what the difference is.
On the first screenshot you can see that the app is newly created and requesting access first time. On second screenshot it says that it is already granted.
But I revoked the permissions and tried again so that I get the first screenshot again - but again as second screenshot only in web browser.

So what I'm doing wrong?? 👎

Thanks in Advance for ideas!

@anthonyfabrizi
Copy link

Same issue

@alloyking
Copy link

Same here too.

@csk
Copy link

csk commented Oct 19, 2016

it is also happening to me :/

@0xclem
Copy link

0xclem commented Oct 20, 2016

I have the same issue.

Working perfectly fine on iOS8, but iOS9 and iOS10 are using the web browser.

@kntmrkm
Copy link

kntmrkm commented Oct 20, 2016

same here.

My Facebook App version is 67.(Japanese)

@alloyking
Copy link

After reading quite a few posts on the topic, it would seem this is expected behavior. Anyone find anything saying otherwise?

@patrickbussmann
Copy link
Author

Uhm.... I said in the first post that I was able to open it directly via
Facebook.
After 4 hours it opened via Webbrowser.
So I dont know if there was a update within the 4 hours which said, that
this is expected.
I think this isn't expected.
I could open a webbrowser by myself and I dont need this :-D

The official facebook implementation looks very professional and great.
The Webbrowser looks really old and not so professional - it only do what
it should do: Login via Facebook.

So what I can do to have a professional solution with facebook
implementation and no webbrowser? :-)

2016-10-20 15:00 GMT+02:00 Tim Shultis notifications@github.com:

After reading quite a few posts on the topic, it would seem this is
expected behavior. Anyone find anything saying otherwise?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#348 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO5L_bXVehdY2HbjLaoCzzW89mSw2ESFks5q12X8gaJpZM4KYIYT
.

@alloyking
Copy link

Patrick, I can't speak for your experience. But this sums up what I have been reading.
https://developers.facebook.com/blog/post/2015/10/29/Facebook-Login-iOS9/

@alloyking
Copy link

Here is an issue on this project for basically the same thing. #53.

@patrickbussmann
Copy link
Author

Hmm I'm using iOS 10 on this completely.
So it's hard to find out why I first had the native view and then the webbrowser 👎

I'll try to debug it if I find time later on the next week 👍

@robertarnesson
Copy link
Collaborator

robertarnesson commented Oct 21, 2016

web browser is the expected behavior since ios 9

@patrickbussmann
Copy link
Author

No @robertarnesson. Why it should be?
iOS 10 is cool. Native view is better than web browser!

And I had iOS 10 on the day.
Maybe you released a update this day?

Then please tell us how to switch to non-web-browser. Thanks in Advance! 👍

@robertarnesson
Copy link
Collaborator

this has been asked a million times, please read the facebook sdk documentation above. This is the direction facebook has decided to go with the sdk, its not something the plugin has control over.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants