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
The current version of react-native-map-clustering will work but use the default duration of zero. This is not ideal, so there are two options, either set a duration (as per my diff below) or allow a dev to set a new prop clusterPressAnimationDuration or similar.
There may be other small changes required from the breaking changes on RNMaps but here is the diff that solved my problem:
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
react-native-map-clustering@3.4.2
for the project I'm working on.I upgraded to using Expo SDK 49 which upgraded react-native-maps to v1.7.1. However this broke the app due to this issue expo/expo#23396 and react-native-maps/react-native-maps#4788.
Both of which are down to the root cause described here: react-native-maps/react-native-maps#4487
React native maps have a version 2 beta, which in beta.10 fixed the above problem: https://github.com/react-native-maps/react-native-maps/releases/tag/v2.0.0-beta.10. However beta.10 contains changes from beta.7 https://github.com/react-native-maps/react-native-maps/releases/tag/v2.0.0-beta.7 which changed animated option to duration option.
The current version of react-native-map-clustering will work but use the default duration of zero. This is not ideal, so there are two options, either set a duration (as per my diff below) or allow a dev to set a new prop
clusterPressAnimationDuration
or similar.There may be other small changes required from the breaking changes on RNMaps but here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: