react-native-facebook-login
react-native-facebook-login copied to clipboard
Persistence Issue
Hi, awesome job with this library! I'm running into an issue when persisting the user between app loads. If I start the app for the first time and log in with a user, everything is good. But when I try to reload the app or restart the simulator, its calling the onLoginNotFound
callback.
These are my dependencies
"dependencies": {
"react": "15.4.1",
"react-native": "^0.39.2",
"react-native-cli": "^2.0.1",
"react-native-facebook-login": "^1.4.0",
"react-native-maps": "^0.12.2",
"react-redux": "^5.0.1",
"redux": "^3.6.0",
"redux-thunk": "^2.1.0"
},
"devDependencies": {
"babel-jest": "18.0.0",
"babel-preset-react-native": "1.9.1",
"jest": "18.0.0",
"react-test-renderer": "15.4.1"
},
ios or android?
ios
is the keychain capability toggled on for the project?
Yes, but I'm not sure about that red flag
someone had a similar issue and it had to do with the keychain. i mostly deal with the android side so not very sure how to resolve it swiftly.
but seems like the app id in the apple developer console is where you should also toggle it on
hmm okay, I'll try to fix that issue thanks!
let me know if it resolves your issue, ill leave this open, in the event someone else can help as well
I've added the keychain sharing, but the issue is still there.
yea not entirely sure what's causing it. issue #166 seemed to have a similar issue and was resolved
Okay, I'll try to keep looking for a better solution.
Any update?