I want to restart my application if user minimize and reopen. I have tried with Native android application with android:clearTaskOnLaunch="true" and it works perfectly.
But same thing it's not working on React native application.
Related
I've a strange issue I've this javascript line
window.location.replace('kronos://');
If the app is already open, it works like a charm but if not it causes app to crash at launch, I don't know how where to dig with the simulator.
EDIT: On the emulator the app is open but blank after opening on the link and I cannot move the app on the foreground.
Hi have an app which opens a webview which works completly fine. I am facing problem when app goes to background it closes the webview and displays the landing screen. I am trying to find a way where I can prevent the app from closing webview in react native. I am using react-native-webview.
Problem: I need a way to measure if the screen is locked/unlocked while my app is running in the background.
What I have tried: Using React Native's App State, I can measure if the App is active, but there is no differentiation between the App being in the background or the screen is locked.
I have found this duplicate, however since there has been no solution given I have opened a new question.
I'm looking for a solution for Android.
When your application is in the background, the process running React Native is paused. You cannot manage your event from inside your application.
The only solution is to use headless js.
When the app is sent to the background and brought back to the foreground, my app lags a lot, especially while scrolling.
I am using AppState to detect this change.
Is this a bug in React Native in android?
Any suggestions on this?
Platform: Android,
RN Version: 0.60.3
I have an android application that i successfully ported to the blackberry playbook. I updated my playbook to OS 2.1 and all of a sudden, when the ported android app switches/launches a new activity, the BB OSs' "multitasking" window comes up showing all the other android applications "running" on the playbook. So i have to tap my app's window again to make it fullscreen. This happens for every activity that my app launches, and my app has about 8 activities all in all... is there anything i need to change in my app to stop this from happening on the playbook? Thanks