You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this solution @gijsjager. On my phone and emulators it all works fine so renderer is always "LATEST" but this may be helpful with old issue with black streets on emulators.
Summary
In my App.tsx i run
enableLatestRenderer();
But i still get 'LEGACY' returned in the Android. My simulator
I do not use any other Services that use a lower version of Google Maps.
if (Platform.OS === 'ios') { enableLatestRenderer(); } else { enableLatestRenderer().then(res => console.log(res)); }
I also tried including specific implementations with successful build:
implementation("com.google.android.gms:play-services-maps:18.2.0") implementation("com.google.android.gms:play-services-location:21.1.0")
I do not know if this is a bug or if I am doing something wrong in my setup. I followed the steps on the Installation guide.
Hope someone can help me fix this issue.
Thanks in advance.
Reproducible sample code
Steps to reproduce
if (Platform.OS === 'ios') { enableLatestRenderer(); } else { enableLatestRenderer().then(res => console.log(res)); }
Expected result
that the promise return 'LATEST'
Actual result
promise returns 'LEGACY'
React Native Maps Version
^1.10.3
What platforms are you seeing the problem on?
Android, iOS (Google Maps)
React Native Version
0.72.7
What version of Expo are you using?
Not using Expo
Device(s)
Android 13.0 ("Tiramisu" Api level 33
Additional information
No response
The text was updated successfully, but these errors were encountered: