Comments (4)
@wisammechano It looks like this functionality was removed in recent versions of react-native. We'll have to pull this example out as there's not really an easy way to programmatically show the dev menu on the device, unfortunately.
Thanks for bringing this to our attention!
from ignite.
@markrickert it looks like you added this custom command, can you take a look?
from ignite.
@markrickert we could sub in for the expo one? https://docs.expo.dev/versions/latest/sdk/dev-client/#devclientopenmenu
from ignite.
From what I can tell, this just won't work in Expo Go.
If you build via CNG the native module is available. You can also toggle the Expo menu when expo-dev-client
(when using CNG):
import * as DevClient from expo-dev-client
// ...
reactotron.onCustomCommand({
title: "Show Dev Menu",
description: "Opens the Expo dev menu",
command: "showDevMenu",
handler: () => {
Reactotron.log("Showing Expo dev menu")
DevClient.DevMenu.openMenu()
},
})
from ignite.
Related Issues (20)
- [Enhancement] v10 - Refactor Toggle HOT 4
- reportCrash shows up in Sentry
- Creating bare react native project without expo HOT 5
- Unable to access Store A values/actions in Store B firectly using useStores hook HOT 8
- Update boilerplate/README.md HOT 1
- Add Social Preview to GitHub Settings
- Generic function load in storage [boilerplate] HOT 1
- Add responsive sizing to custom <Text /> component HOT 1
- Lack of documentation for a quick start. HOT 1
- Typescript broken with mobx state tree HOT 3
- `Error: Cannot find module 'metro-cache'` when initiating the new ignite project HOT 6
- Docs: Add screenshots of each component in docs HOT 1
- [request]: Support RN v0.74 HOT 2
- [boilerplate] Add default privacy manifest
- Create project with bare react-native have expo commands HOT 7
- A Better type for styles HOT 4
- Fresh install errors with `sh: patch-package: command not found`
- New ignite project HOT 1
- android build error with Execution failed for task ':react-native-reanimated:configureCMakeDebug[arm64-v8a]' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ignite.