Skip to content

Compatibility with React Native 0.61.x #8

Description

@benjarwar

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.xcodeproj to our app's Libraries in the main navigation of our Xcode project
  • Add libRNQuikkly.a to "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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions