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

react-native/docs/Performance.md > Development mode (dev=true) > dev=false? #11227

Closed
julesmoretti opened this issue Nov 30, 2016 · 6 comments
Closed
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@julesmoretti
Copy link

Could you please include methods in your docs on how to turn off dev mode to test production flow for android ideally please?

Thank you.

@lacker
Copy link
Contributor

lacker commented Nov 30, 2016

Would you like to send a pull request improving these docs?

@julesmoretti
Copy link
Author

@lacker - if I knew how to achieve the above (meaning which file or terminal command to run or alter) I would gladly update the docs

@charpeni
Copy link
Contributor

charpeni commented Dec 1, 2016

@julesmoretti Thank you, you can find these documentations into the Contributing guidelines.

Furthermore, on each documentation page you can find a You can edit the content above on GitHub and send us a pull request! on the bottom which leads you to the right file.

@facebook-github-bot facebook-github-bot added Documentation Ran Commands One of our bots successfully processed a command. labels Dec 1, 2016
@julesmoretti
Copy link
Author

@charpeni - sorry for the confusion, I meant to ask, how do you turn off dev mode?

@damusnet
Copy link
Contributor

damusnet commented Dec 4, 2016

@julesmoretti your best bet is to follow this guide: https://facebook.github.io/react-native/docs/signed-apk-android.html#testing-the-release-build-of-your-app

If you just want to test performance/speed/animations of your debug build, you can turn off "JS Dev Mode" from the "Dev Settings" (Android only) after you shake your device. There are other helpful options there too.

As to "how to turn __dev__ mode on/off for various releases arbitrarily", I too would love to know!

@hramos
Copy link
Contributor

hramos commented Mar 10, 2017

This will be taken care of in an upcoming PR.

@hramos hramos closed this as completed Mar 10, 2017
facebook-github-bot pushed a commit that referenced this issue Mar 10, 2017
Summary:
Tackling a handful of docs issues:

- #12780
- #11227
- #2819
Closes #12867

Differential Revision: D4691083

Pulled By: hramos

fbshipit-source-id: 9115315f2d6132e975901c9a0b784e9d41eeb49e
@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

7 participants