-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
onRegionChangeComplete value of isGesture is undefined in version 0.28.0 #3818
Comments
I am seeing this issue, too. Anxiously looking forward to this functionality in order to address "map flickering" issues due to onRegionChangeComplete firing over and over without any input from the user. |
* pass camera move's reason to js (android) * IOS implementation * renamed value to isGesture * pretiffied * doc updated Co-authored-by: machou <uzanmacho@gmail.com>
Looking through the source it appears the |
It is undefined with Google Maps in v 0.28.0 |
Ah ok, thanks. Given that some of us are having problems implementing this, a little code snippet can go a long way. We're essentially doing this: https://stackoverflow.com/questions/47832224/onregionchangecomplete-function-calling-multiple-times-using-react-native-maps/67191495#67191495
I am not sure if this is relevant, but we're using Expo (which currently supports 0.27.0). We manually updated to 0.28.0 in package.json, so we assume it's using that version. |
That will only work if you’re on a bare workflow. |
Ah, I thought it was still possible to adjust package versions in managed workflow - as we are currently using a different react-native-screens version due to a regression in 3.0.0. But I guess that's only possible with some packages... It looks like 0.28.0 is not included (yet!) in the upcoming SDK 42 :( |
If the changes are JS only, then there shouldn't be any issue. However, the changes for this feature included native changes. |
Bug report
Summary
Environment info
Steps to reproduce
onRegionChangeComplete
Describe what you expected to happen:
isGesture
should be a boolean valueDescribe what actually happens:
isGesture
, returned byonRegionChangeComplete
isundefined
.The text was updated successfully, but these errors were encountered: