Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to use this using RN version 59.9? #585

Closed
ericksondelacruz opened this issue Apr 19, 2021 · 2 comments
Closed

Is there a way to use this using RN version 59.9? #585

ericksondelacruz opened this issue Apr 19, 2021 · 2 comments

Comments

@ericksondelacruz
Copy link

Summary

I am having this kind of issue [!] Unable to find a specification for RNPermissions depended upon by Permission-Camera when I am trying to run pod install.

I don't know if this version supported RN version 59.9.

Environment info

react-native info output:

React Native Environment Info:
    System:
      OS: macOS 10.15.7
      CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
      Memory: 81.86 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 12.0.0 - /usr/local/bin/node
      Yarn: 1.6.0 - /usr/local/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
      Android SDK:
        API Levels: 28, 29
        Build Tools: 28.0.3, 29.0.2
        System Images: android-28 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 3.5 AI-191.8026.42.35.5977832
      Xcode: 12.4/12D4e - /usr/bin/xcodebuild
    npmPackages:
      react: ^16.8.3 => 16.8.3 
      react-native: ^0.59.9 => 0.59.10 
    npmGlobalPackages:
      create-react-native-app: 1.0.0
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

Library version: 3.0.1

@ericksondelacruz
Copy link
Author

  1. Add pod 'RNPermissions', :path => '../node_modules/react-native-permissions' in Podfile
  2. In RNPermissions.podspec replace "React-Core" with "React/Core"

@mikehardy
Copy link

Just a thought - jcenter is going away in a month or so, meaning android builds that don't update to handle it will simply start failing completely in a couple weeks.

I think it's more important to get on current versions for reasons like that then it is to hack support in to old versions - I'd very concerned if I wasn't ready + able to take current version bumps into my app at the moment.

react-native-community/releases#221 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants