I used expo.
if i modified my code, the app is not reload.
and it didn't reload if forced to reload button.
help me.
my phone is iphone. and my project expo init..
enter image description here
Shake your phone and the hot reloading button will appear.
Just uninstall and re-install expo-client on your phone. Solved
Related
I have created several android apps by using react native, I always and like to use ToastAndroid because it can pop up message and app user don't have to close it by clicking screen. Now I want to create IOS version from my apps. I want to ask what is your alternatives for android toast in ios.
You can use react-native-root-toast to make a Toast for both android and iOS.
I also recommend react-native-customizable-toast. It's updated and works with android,ios and expo
I've just switched from debugging my React Native app in the browser using the console to React Native Debugger. In the browser, there is a button to reload the app which is very useful and something that I need to do a lot. Now using React Native Debugger I can't find a way to reload the app which means I need to shake the device (very annoying).
I've searched the docs but can't find way of doing it.
Is there a way I'm missing?
Yes, a reload can be done I think. Right click -> reload Js.
You can find this under the shortcut references: https://github.com/jhen0409/react-native-debugger/blob/master/docs/shortcut-references.md
I am sorry for the trivial question!
While testing an Expo (react-native) app on Android Emulator, I need to switch to other apps, e.g. to the Contacts Manager to add a contact. Then, I need to go back to the Expo app to test something. How can I do that?
I tried the following.
Start the Expo app and play with it
Press the Home button
Start Contacts Manager
I could NOT find a way to start the Expo app again. I found an Expo icon in the list of apps. When I clicked on it, a screen with everything disabled, except "Open from Clipboard" appeared. The "Open from Clipboard" option seems to be for switching between different Expo apps. Anyway, when I clicked on it, I got the following error message.
Something went wrong. Could not load exp://switching/%20between%20Expo%20apps%20running%20on%20Android%20Emulator.
Environment:
Expo: 32.0.0
Android Emulator: API: 25 - Android 7.1.1 x86 - Nexus S
Thank you for your effort and time to help...
Are you using a connection localhost? if yes, on the terminal, try to press 'a'.
I am new to React Native, I am using Expo for building react native project and when I make any change in app I can see reload message in browser but the app does not reload in mobile (Note: I am using android mobile). TIA
you can press refresh like below image to reload app in phone
https://docs.expo.io/versions/latest/workflow/up-and-running/
Fixed it I had both Hot Reloading and Live Reload enabled in Expo Mobile App. I turned off Live Reload. Now its working great using Tunnel option. Thanks for help #kivul
I just detached my RN apps since I need to use native lib. Then, I tried to generate my APK from Android Studio. However, after installing to my phone, my apps shows expo icon (similar with expo building javascript bundle...) before it redirects to my first screen. It did not happen before I detaching my RN project.
It shows that picture for few secs, before go to my first screen. Is it an issue or I need to do something after I detached my project?
(Expo ver: 23.0.4)
Thank you.
Expo is opensource , they don't force to that , You can set your own icon in app.json , see here :
https://docs.expo.io/versions/v18.0.0/guides/configuration.html