Warning : Failed child context type: Invalid child context ‘virtualizedCell.cellKey’ of type ‘number’ supplied to ‘CellRenderer’, expected ‘string’

To fix the error in any list components where a keyExtractor is in use, update the Component (FlatList etc) to have a string key with .toString(). All keys must now be string values. Like below; keyExtractor={item => item.index_id} to keyExtractor={item => item.index_id.toString()} This change is a requirement for all uses of a keyExtractor so that … Read more

Cannot add task ‘wrapper’ as a task with that name already exists

You can also update task wrapper(type: Wrapper) { gradleVersion = ‘4.4’ distributionUrl = distributionUrl.replace(“bin”, “all”) } to wrapper { gradleVersion = ‘4.4’ distributionUrl = distributionUrl.replace(“bin”, “all”) } As Overriding built-in tasks deprecated in 4.8 now produces an error. Attempting to replace a built-in task will produce an error similar to the following: Cannot add task … Read more

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

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)