react-native-open-settings
react-native-open-settings copied to clipboard
Not compatible with RN 0.60
When running pod install on a project in RN 0.60 (master branch) that depends on this library, it fails and this message is printed:
[!] use_native_modules! skipped the react-native dependency 'react-native-open-settings'. No podspec file was found.
- Check to see if there is an updated version that contains the necessary podspec file
- Contact the library maintainers or send them a PR to add a podspec. The react-native-webview podspec is a good example of a package.json driven podspec. See
https://github.com/react-native-community/react-native-webview/blob/master/react-native-webview.podspec
- If necessary, you can disable autolinking for the dependency and link it manually. See
**https://github.com/react-native-community/cli/blob/master/docs/autolinking.md#how-can-i-disable-autolinking-for-unsupported-library
I believe #16 will fix this issue. Please merge it
you don't need this package for RN 0.60. You can now do Linking.openSettings()
See docs
you don't need this package for RN 0.60. You can now do
Linking.openSettings()See docs
Linking.openSettings() only opens your app's settings, not the phone's.
Any news on this? Anything I can do to help get #16 merged?
Yeah I had to fork this and make this change.. Made a pull request, but looks like #16 already resolved this nicely!
https://github.com/lunarmayor/react-native-open-settings/pull/24