Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

link project using CocoaPods #4

Open
jarvisluong opened this issue Nov 21, 2018 · 1 comment
Open

link project using CocoaPods #4

jarvisluong opened this issue Nov 21, 2018 · 1 comment
Assignees

Comments

@jarvisluong
Copy link

I'm currently using CocoaPods to manage the dependency since I ejected from Expo, is this possible that you could guide me the steps to link the project using CocoaPods? Thank you

@prscX prscX self-assigned this Nov 21, 2018
@jarvisluong
Copy link
Author

@prscX thanks for reading my issue! I think it is valuable to provide some of my insights:

  1. With android, the integration is going well nicely, but Expo's ejected use 'com.android.support:appcompat-v7:27.1.1' so I need to add the following to the project's build.gradle (android/build.gradle):
subprojects {
  project.configurations.all {
    resolutionStrategy.eachDependency { details ->
      if (details.requested.group == 'com.android.support'
              && !details.requested.name.contains('multidex') ) {
        details.useVersion '27.1.1'
      }
    }
  }
}
  1. With iOS, after following all the steps required in README, I got error: <React/RCTViewManager.h> not found

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

No branches or pull requests

2 participants