Comments (8)
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.
@mingflifb There is no plan to change this?
from react-native-fbsdk.
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.
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.
It's securely stored locally on the device.
from react-native-fbsdk.
@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.
@mingflifb how do we access that access token?
from react-native-fbsdk.
Use the FBSDKAccessToken
from react-native-fbsdk.
Related Issues (20)
- Cannot complete login on iOS 13 HOT 5
- CONTRIBUTING.md file: CLA broken link
- Submit permission for Live mode
- Remove deprecated unarchiveObjectWithData methods HOT 1
- SERVER_ERROR: [code] 1349195 [message]: The key hash does not match any stored key hashes. in Real Device (Android) HOT 5
- ShareDialog sharing doesn't work on some Android phones (Huawei p30 pro, Xiaomi redmi 9) HOT 1
- Not able to login with facebook app only in iOS HOT 3
- Expo-facebook does not send Android installation events to the platform, only IOS
- Any plan on upgrading to FB SDK v9 for iOS? HOT 38
- Android cannot compile under 3.0.0 (cannot find symbol FacebookSdk.setDataProcessingOptions) HOT 1
- Sdk update to v9.0 HOT 2
- Subscribe event not fired on Android
- Is there a way to get the download source?
- setAdvertiserTrackingEnabled not found HOT 4
- autoInitEnabled is removed from iOS, should wrap the initialize function
- Some input files use or override a deprecated API
- Missing important data in FB Analytics HOT 1
- Regarding deep link handling
- Yarn no good for the scripts
- Issues with app privacy on the App Store HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-fbsdk.