-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Can't use .scroll() and .swipe() for MapView from react-native-maps #250
Comments
I had the same result with appium. Sadly, but react-native-maps inaccessible for now |
Hi there @LeoNatan, first of all thanks for the amazing library, I'd love to start improving the detox experience on react native maps as I'd want to use it on the project I'm currently working on, is there any other work ongoing on this topic ? Thank you for your time ! |
Hello Thank you for your desire to contribute! There is no other effort in this area that I am aware of. |
Sweet, do you have any advice before I start digging ? :) |
I suggest looking first at how Earl Grey on iOS and Espresso on Android handle map scrolling. If it works but is broken in Detox, I suggest looking at which view Detox attempts to scroll. |
Hey @LeoNatan, thank you for your help, sorry I have not been really focus these days with the end of year celebrations :). So I've been looking at Earl Grey for now and I have understood that they use swipe and pinch actions to interact with maps. Also I've started the implementation of EARLGrey actions to allow us to pinch and did a first test with a map having the expected behavior. I opened a WIP PR so that you could challenge the implementation as soon as possible. next step for me is to make sure coverage is reached :) Thank you for your time and help. Oh and a very merry Christmas & happy new year :) |
Since this has been resolved in PRs, I am closing the issue. Thanks |
I have a
MapView
fromreact-native-maps
in my app somewhere and would like to move the chosen location using thescroll
or theswipe
action methods.It works (and zooms a bit) when I try:
But when trying this:
or this
I get the following error:
The text was updated successfully, but these errors were encountered: