Replies: 16 comments 58 replies
-
Ok
|
Beta Was this translation helpful? Give feedback.
-
OK I added:
And get this error:
|
Beta Was this translation helpful? Give feedback.
-
OK this did not work once I cleaned up and started over. So Still looking for a solution. use_frameworks! is what we need to support long term it seems. |
Beta Was this translation helpful? Give feedback.
-
OK - for this to work I got it working with use_framework!
....later....
Ok this works. Here is my whole Podfile
|
Beta Was this translation helpful? Give feedback.
-
@Simon-TechForm - You moved this issue to a discussion, so I'm wondering whether you have any input here. Should we expect Also, see the patch that @billnbell proposed above. Is this something we can get in a future version? It's only a few lines of code, but I'm not sure the implications with In practical terms, react-native-firebase now requires |
Beta Was this translation helpful? Give feedback.
-
@billnbell Thanks for sharing your solution, I followed it and was able to get React Native Maps working with I had a small issue where patch-package was unable to parse your patch, so here's what worked for me:
|
Beta Was this translation helpful? Give feedback.
-
OK did a bunch of testing. The line above is not right. Here is a patch for react-native-maps+1.3.1.patch
|
Beta Was this translation helpful? Give feedback.
-
Thanks to @mikehardy and @billnbell I've just released v.1.3.2-beta.1 with the proposed changes. This will make for easy testing for anyone requiring |
Beta Was this translation helpful? Give feedback.
-
I am unsure about Expo. Are you using managed or unmanaged expo? Make sure you do not make the changes above. Only take the beta, and my new notes. They are in the PR: |
Beta Was this translation helpful? Give feedback.
-
I managed to get this working by combining @billnbell solution with expo plugin and custom plugin (through which podfile can be edited). This is not yet well tested, but basically this is just using already available solutions with expo. This was needed for me as I use react-native-firebase (which uses use use_frameworks!) and react-native-maps. Using: app.json change
withReactNativeMaps.js
If I don't use best practices please inform me and if someone doesn't get it working like this I don't have enough information to help further. I just connected puzzle pieces |
Beta Was this translation helpful? Give feedback.
-
Expo SDK 47 coming out soon with React Native Maps 0.31.1 → 1.3.2. This should make some of the above workaround for expo unnecessary, but will test when it lands |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Installed beta but still getting build errors on iOS with react native firebase |
Beta Was this translation helpful? Give feedback.
-
Facing same issue, on SDK47 |
Beta Was this translation helpful? Give feedback.
-
Well here's my experience after a long night of frustration you have to choose these versions in order to make it work. I used eas with, metal m1 for the build because the intel ones were full. Rn-Firebase all "@react-native-firebase/analytics": "~15.4.0",
"@react-native-firebase/app": "~15.4.0",
"@react-native-firebase/crashlytics": "~15.4.0", react-native-maps, yes the expo doctor will complain that it is wrong but doesn't seem we have any other choice "react-native-maps": "1.3.2", And the rest just copy and paste from this great answer: At the end the Map on iOS became blank and on Android just fine, so for iOS I used the default provider : apple map OH GOD I HATE NATIVE BUILDS! |
Beta Was this translation helpful? Give feedback.
-
For anyone following this discussion who might be interested in a solution that doesn't require any workarounds, I've just released v1.6.0 which should support |
Beta Was this translation helpful? Give feedback.
-
Summary
What is the solution when using use_frameworks! As you know firebase is moving to this, and this one fails.
See - for an explanation.
invertase/react-native-firebase#6332
@mikehardy might have some thoughts here... But I know he is working on Firebase and other things to get it all working with latest Firebase.
Reproducible sample code
Steps to reproduce
None
Expected result
None
Actual result
None
React Native Maps Version
1.1.0
What platforms are you seeing the problem on?
iOS (Apple Maps), iOS (Google Maps)
React Native Version
0.69.3
What version of Expo are you using?
Not using Expo
Device(s)
iPhone
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions