Questions tagged [react-native-keychain]

33 questions
0
votes
1 answer

React Native Android crash - RNKeychainManager.setInternetCredentialsForServer got 6 arguments, expected 7

I ran into a crash at runtime in react native after upgrading a load of dependencies. There's an issue for it, but no particular help: https://github.com/oblador/react-native-keychain/issues/205 It's also hard to nail down exact reproduction steps…
tmahle
  • 1,177
  • 1
  • 7
  • 4
0
votes
2 answers

Which one is best way to store user token react-native-keychain or android AccountManager?

I'm developing react native application and I have doubts about some security. what is the best way to store user auth token react-native-keychain or account manager? react-native-keychain Thanks
0
votes
1 answer

When a functions return value can be of many types (using |) how can I pick one in TypeScript?

I'm building an app using React Native with TypeScript. I'm writing my own custom wrapper around a function of the React Native Keychain package. export const getToken = () => getGenericPassword().then(creds => creds.password); The problem is that…
J. Hesters
  • 13,117
  • 31
  • 133
  • 249
1 2
3