react-native-open-settings icon indicating copy to clipboard operation
react-native-open-settings copied to clipboard

Not compatible with RN 0.60

Open chrisspankroy opened this issue 6 years ago • 4 comments
trafficstars

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

chrisspankroy avatar Jul 09 '19 21:07 chrisspankroy

you don't need this package for RN 0.60. You can now do Linking.openSettings() See docs

lodev09 avatar Aug 03 '19 20:08 lodev09

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.

gabrielrra avatar Nov 01 '19 20:11 gabrielrra

Any news on this? Anything I can do to help get #16 merged?

twelve17 avatar Jan 09 '20 10:01 twelve17

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

SethArchambault avatar Jan 17 '20 01:01 SethArchambault