When npx react-native start -- --reset-cache
warn Package react-native-sqlite-storage contains invalid configuration: "dependency.platforms.ios.project" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
My configs:
"react-native-sqlite-storage": "^6.0.1", // Latest as of now
react-native.config.js
module.exports = {
project: {
android: {}, // grouped into "project"
},
assets: ['./src/assets/fonts/'], // stays the same
};
Solution
I'm using for only android :
node_modules/react-native-sqlite-storage/react-native.config.js file delete ios solves.
When
npx react-native start -- --reset-cache
warn Package react-native-sqlite-storage contains invalid configuration: "dependency.platforms.ios.project" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.My configs:
"react-native-sqlite-storage": "^6.0.1",
// Latest as of nowreact-native.config.js
Solution
I'm using for only android : node_modules/react-native-sqlite-storage/react-native.config.js file delete ios solves.
Then running
npx react-native start -- --reset-cache
will not throw error.