How can I activate React Dev tool without choosing from menu? - react-native

I have a windows compunter, and I install a VMWare under windows, then I install latest Mac OS X under VMWare,then I install latest XCode, React Native under the Mac OS X. The Mac OS X using a faking display driver which is not good. For example, the Android studio under my Mac OS X flicker terribly that it is impossible to stand with it. But XCode works fine with my Mac OS so it is enough for developing React Native APP until React Native 0.18.0.
With early version of React Native, I can open XCode and run RN APP with a iPhone 6S Plus emulator. When I press Command + D,the React Devtool pop up on chrome.
But with RN 0.18.0, when I press Command + D, a menu( with a litter flicker which is wierd because the emulator never flicker) pop up on emulator and I cannot select any item in the menu( I guess it is because my poor faking display driver). So I have no way to access the Devtool under RN 0.18.0

Related

Develop with react native under debian 9

I'd like to know how I can develop using linux (for example debian 9) and use my iPhone to see what I am developing.
I don't want to use macOS to do this and the best would be to see the result under Android and iOS without simulator, directly on phones.
Thanks for help !
If you want to stuck with Linux OS. You can test you app on android variant only (on both emulator or physical device)
In order to test your app on iOS you need to have a mac machine to generate / build the project.
If you don't have a mac system you can go with Expo SDK.
Expo is a free and open source toolchain built around React Native to help you build native iOS and Android projects using JavaScript and React.
You can easily get started here

How to build iOS apps using react- native on window 10

I am new in react-native. I want to build an android and iOS application by using react-native. I used the Windows 10 to build the react-native project and it is ok when I run the android app using Android SDK or real device but cannot on iOS devices. I have researched this problem and know that I need to use macOS to run the iOS apps. Is it possible to build iOS apps using any iOS simulator on Windows 10?
for exporting ios apps you must have a MAC system(X-code) or you can do it in windows with VMvare that have a virtual Mac system ,and in next step you must have a developer account then other steps are simple :)
The best way to develop in react native if you did not have access to MAC OSX environment is to use EXPO as it will ensured the app could run on android and iOS.
The second option would be using private cloud Mac like MacStadium.

iOS and Android Emulators for Visual Studio Code

I've installed the React Native Tools extension for Visual Studio Code. I thought this included the iOS and Android emulators for me to test my React Native app but when I run
React Native: run ios
I get an error that reads
Running the contributed command:'reactNative.runIos' failed.
Do I install these emulators separately?
iOS Simulator is distributed with Xcode. You can download it on developer.apple.com (accessible with a free AppleID) or from the Mac App Store.
It is only available on macOS, with Xcode 8+ requiring macOS El Capitan or newer.
If you want to get IOS Simulator in VS Code, install Xcode and open it, then go to Preference > Location and there you will see Command Line Tool. Just click the drop-down button and save something like Xcode 11(Version) and save it. Also, I recommend getting IOS and Andriod Simulator in VS Code.

Proper Development Environment For React Native

I want to write an application targeted at both iOS and Android. Is it possible to develop a React Native app on Windows using a network connected Mac? For example, using Visual Studio Code on Windows and debugging on a network connected Mac?
I'm using Atom and IDE to make react-native app.
To test on iOS, maybe you could use this but the best would be to have a iPhone with you, to install your app and use Code Push to auto update the app on your phone. The other solution would be to install an macOS Emulator on your computer.

Can't select older iOS SDK Simulator Version in Titanium Studio

I have installed the SDK's for 6.x and 7.0 in xcode and I'd like to test my app on ios6 in the simulator using titanium studio.
After poking around for some time I still can't find a way to select a different iOS version in my run configurations. As you can see, SDK's are installed and I can select them in the simulator itself, but the only way to test the app is by launching 7.0 (Titanium won't launch anything else).
Manually switching between versions and relaunching the app from titanium doesn't help either.
Looks like Titanium Studio has problem with simulator settings. Compiling project from console with titanium build -p ios will run your app on simulator with current settings. Also you can use additional flags to force different type of simulator:
--retina use the retina version of the iOS Simulator
--sim-64bit in combination with --retina flag & --tall flag, start the 64-bit tall version of the retina simulator
--tall in combination with --retina flag, start the tall version of the retina device