react-native-iot-wifi icon indicating copy to clipboard operation
react-native-iot-wifi copied to clipboard

Autolinking for react-native >=0.60.0

Open thehellmaker opened this issue 5 years ago • 2 comments

This library doesn't yet support autolinking for react-native version 0.60.0

thehellmaker avatar Oct 15 '19 13:10 thehellmaker

[!] use_native_modules! skipped the react-native dependency 'react-native-iot-wifi'. 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

thehellmaker avatar Oct 15 '19 13:10 thehellmaker

@thehellmaker did you manage to get it working? I disabled it from auto-linking but still get

<my-proj-dir>/node_modules/react-native-iot-wifi/ios/IOTWifi.h:2:9: fatal error: 'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


** BUILD FAILED **

phillyqueso avatar Jan 01 '20 16:01 phillyqueso