Error Appstore connect : Missing Purpose String in Info.plist File

EDIT April 2019 : You now have to add these two keys, as spring 2019 has begun. Note that NSLocationAlwaysUsageDescription is now deprecated (since iOS 11) and has been replaced with NSLocationAlwaysAndWhenInUseUsageDescription and NSLocationWhenInUseUsageDescription. If you want to support lower than iOS 11, you’ll have to use the three values. To sum up you have … Read more

What is the best way to store private data in react-native?

What is the best way to store private data in react-native? I would recommend using a library like react-native-keychain to store private data in react-native You can use it like that: // Generic Password, service argument optional Keychain .setGenericPassword(username, password) .then(function() { console.log(‘Credentials saved successfully!’); }); // service argument optional Keychain .getGenericPassword() .then(function(credentials) { console.log(‘Credentials … Read more

Hide header in stack navigator React navigation

UPDATE as of version 5 As of version 5 it is the option headerShown in screenOptions Example of usage: <Stack.Navigator screenOptions={{ headerShown: false }} > <Stack.Screen name=”route-name” component={ScreenComponent} /> </Stack.Navigator> If you want only to hide the header on 1 screen you can do this by setting the screenOptions on the screen component see below … Read more

What is the difference between Expo and React Native?

When you write code in Expo you are writing React Native code. Expo has two main pieces: Expo CLI (expo-cli): a developer tool for creating projects, viewing logs, opening on your device, publishing, etc. Expo client: an app on your phone that lets you open your projects while you’re working on them, without needing to … Read more