-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Project installation docs for iOS and React Native 0.61.3 are insufficient. On pod install we get this warning, as the project lacks a Podspec file:
[!] use_native_modules! skipped the react-native dependency 'react-native-quikkly'. 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
To fix, we added this to react-native.config.js:
module.exports = {
dependencies: {
"react-native-quikkly": {
platforms: {
ios: null,
android: null,
},
},
},
};
But then received red screen errors at runtime:
Invariant Violation: requireNativeComponent: "QuikklyScanView" was not found in the UIManager
To fix, we had to:
- Manually add
Quikkly.xcodeprojto our app'sLibrariesin the main navigation of our Xcode project - Add
libRNQuikkly.ato "Frameworks, Libraries, and Embedded Content"
The docs do not cover these steps, and react-native link react-native-quikkly was insufficient in this version of React Native.
Metadata
Metadata
Assignees
Labels
No labels