-
Notifications
You must be signed in to change notification settings - Fork 923
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
incompatable together 2 libs #913
Comments
The same when using with 'react-native-social-share' package Change react-native-share version from 4.1.0 -> 4.0.4 doesn't work |
@yang093 it's must work, did you removed package from node_modules and do npm install && pod install correctly? |
Same thing here, waiting for the fix. |
Oh, no, i see the Utils file on your repository. https://github.com/react-native-share/react-native-share/blob/v5.1.0/ios/Utils.m |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and i will leave this open. |
Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you. |
So what should I do to get this fixed?? |
@blueberry6401 perhaps propose a change to this repo that renames the Utils object (https://github.com/react-native-share/react-native-share/blob/master/ios/Utils.m and the .h file) to something unambiguous like RNShareUtils You can even try it by reaching right into node_modules/react-native-share/ios - moving the file to an unambiguous name (and altering the import statements of any files that import it!) and using If it works, you're set - make a PR here with the fix. |
@mikehardy getting this error after rename the files name and import statements Utils to RNShareUtils. any solution ?
|
It was hard to read that image - text copy/paste in here is much easier for me. I was able to though Not sure exactly what's going on - seems like a file move should be easy? The best thing to do is post a draft PR so we can talk about actual code and get a close look at what's going on instead of guessing, is that possible? |
🎉 This issue has been resolved in version 7.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I think it happenes because we have put the same class implementation into two different files
Also there a same question https://stackoverflow.com/questions/64856494/2-duplicate-symbols-for-architecture-arm64#
If change react-native-share version from 4.1.0 -> 4.0.4 everything is fine
(https://github.com/react-native-share/react-native-share/compare/v4.0.4...v4.1.0)
Steps to reproduce
Expected behaviour
App is builded
Actual behaviour
Error happenes on last build steps
Platform
iOS
react-native-share
Version: 4.1.0
Link to repo (highly encouraged)
https://github.com/react-native-share/react-native-share
The text was updated successfully, but these errors were encountered: