Giter VIP home page Giter VIP logo

Comments (8)

mingflifb avatar mingflifb commented on August 19, 2024

This is by design, any time there's an app switch this dialog will show, regardless of whether the user has authorized the app already.

from react-native-fbsdk.

ceditoph avatar ceditoph commented on August 19, 2024

@mingflifb There is no plan to change this?

from react-native-fbsdk.

mingflifb avatar mingflifb commented on August 19, 2024

This is by design to increase user trust, since flashes of app switch back and forth with no explanation is a bad experience. If the user has explicitly logged out of your app, and logs in again, they will see this dialog. If the user is not logged out explicitly, we will cache the access token so you can use it across app starts. Is your app logging out the user when it shuts down, or is the user explicitly choosing to log out?

from react-native-fbsdk.

leemarreros avatar leemarreros commented on August 19, 2024

It makes sense now that you explained. Thanks for that. Just out of
curiosity, when you say "we will cache the access token", where exactly the
token is stored? In the server, cookies in browser? I know we can retrieve
user's token but from where we get it?

Thanks a lot for your quick response!

SM
On Sep 9, 2015 10:13 AM, "Ming Li" [email protected] wrote:

This is by design to increase user trust, since flashes of app switch back
and forth with no explanation is a bad experience. If the user has
explicitly logged out of your app, and logs in again, they will see this
dialog. If the user is not logged out explicitly, we will cache the access
token so you can use it across app starts. Is your app logging out the user
when it shuts down, or is the user explicitly choosing to log out?


Reply to this email directly or view it on GitHub
#28 (comment)
.

from react-native-fbsdk.

mingflifb avatar mingflifb commented on August 19, 2024

It's securely stored locally on the device.

from react-native-fbsdk.

yogurt-island-331 avatar yogurt-island-331 commented on August 19, 2024

@steveleec I use ParseReact to do my login and it has a ParseReact.currentUser that saved the Facebook user, you might want to check that out

from react-native-fbsdk.

yogurt-island-331 avatar yogurt-island-331 commented on August 19, 2024

@mingflifb how do we access that access token?

from react-native-fbsdk.

mingflifb avatar mingflifb commented on August 19, 2024

Use the FBSDKAccessToken

from react-native-fbsdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.