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

Problem with linking package react-native-background fetch #30

Open
ajangi opened this issue Jul 4, 2018 · 2 comments
Open

Problem with linking package react-native-background fetch #30

ajangi opened this issue Jul 4, 2018 · 2 comments

Comments

@ajangi
Copy link

ajangi commented Jul 4, 2018

There was always errors when I wanted to use this package but also for the "react-native-background fetch" package while linking the package with the project using react-native link command.
I mean this command :
"react-native link react-native-background-fetch".
Can you help me resolving this issue?
Thanks

@sheminusminus
Copy link

@ajangi Are you using pods in your project? We have an issue with linking anything when a podfile exists for some reason. RN adds a podspec path to it, which fails to work 100% of the time, but if we remove the podfile from ios directory, then run the link command, then replace the podfile, everything works as intended. (If you try this, remember to delete the podspec line from podfile if it was added)

@therealjake
Copy link

@sheminusminus The issue you see with podfiles might be related to this (open) Realm issue:
realm/realm-js#1607

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

3 participants