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

feat: enable dev menu on Android #602

Merged
merged 6 commits into from
Aug 14, 2020
Merged

Conversation

WoLewicki
Copy link
Member

@WoLewicki WoLewicki commented Aug 14, 2020

Overridded method that is called on the key event on which the developer menu on Android should be opened. Change added only for debug mode. Should resolve #276.
Clicking cmd+m on macOS in debug mode should open the developer menu on Android, but Action Bar wants to handle that key event in order to trigger showOverflowMenu on the Toolbar. We then override this method and call React's showDevOptionsDialog in it.

@WoLewicki WoLewicki merged commit 218daa7 into master Aug 14, 2020
@WoLewicki WoLewicki deleted the @wolewicki/android-dev-menu branch August 14, 2020 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android]Can't access developer menu on physical device
2 participants