Skip to content
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

Support alternative gestures for shake on Android #517

Closed
brentvatne opened this issue Aug 18, 2017 · 13 comments
Closed

Support alternative gestures for shake on Android #517

brentvatne opened this issue Aug 18, 2017 · 13 comments
Assignees
Labels

Comments

@brentvatne
Copy link
Member

https://github.com/expo/expo-docs/issues/126
facebook/react-native#13490

@satya164
Copy link
Contributor

I have a Moto X Play. So lemme know if you want help with testing :D

@brunoreis
Copy link

When I slide down from the top I see that menu with the notifications and there is also the name of the app in a blue bar with buttons to pin, share and reload. I think there would be a safe place to not conflict. But, I imagine that could run into to risk of unwanted people going to developer menu. But, well, shake gesture also run into that risk. Let's see... what about holding for a while there to open the menu and enable a little movable overlay button over the app screen?

@brunoreis
Copy link

Turning of the camera gesture unfortunately does not enable using the developer menu.

@ide
Copy link
Member

ide commented Aug 18, 2017

We show the dev menu only in the Expo client, not standalone apps, so I think we could follow suit and show a dev menu button only in the Expo client.

@Yene-Me
Copy link

Yene-Me commented Aug 18, 2017

Can't believe why simple thing like a menu become so complix, K.I.S.S comes to mind.

@ide
Copy link
Member

ide commented Aug 18, 2017

Do you have a simple suggestion?

@satya164
Copy link
Contributor

satya164 commented Aug 19, 2017

Also I'm not sure what do you mean by it's captured by native OS. It's most likely some app you configured? Shake works fine for me and always had. I didn't do anything special, and I have that quick capture gesture enabled (which is the default one).

The camera gesture is twist rather than shake. Are you sure you are shaking the phone and not twisting it quickly? Do you have any other gesture enabled?

@brunoreis
Copy link

Hey @satya164, you are right! Sorry, I did not realize I had to shake the phone so "intensely" to get to the menu. I got there now. Thanks a lot. Sorry for the trouble. At least this issue will be here to help others as confused as I was.

@satya164
Copy link
Contributor

I did not realize I had to shake the phone so "intensely"

Tell me about it. I broke my phone screen doing that!

@brunoreis
Copy link

Well, that sounds like a reason to put a link to debugger menu on that blue bar. Moto X Play is not a cheap device. ;-)

@boarder2
Copy link

Microsoft provides an Android image that works with Hyper-V for accelerated emulators on Windows without using HAXM (Which can't be enabled at the same time as Hyper-V is).

Using the Microsoft Android emulator there is no way to access the developer menu. I've tried the adb keyevent commands, using the accelerometer in the emulator tools, nothing works.

Please, please provide an alternative way to access the developer menu that isn't shaking the device.

Even with the devices in hand it requires significant shaking and isn't a good experience in the first place.

@Alexintosh
Copy link

In my meizu I've got the same problem. Please provide an alternative to shaking.

@AdamJNavarro
Copy link
Contributor

If you come across this issue, you can switch to 'Two Finger Force Touch' in the Expo Client settings.

@lock lock bot added the outdated label Jun 14, 2019
@lock lock bot locked and limited conversation to collaborators Jun 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

10 participants