breautek commented on issue #1090:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/1090#issuecomment-3577278740

   > That behavior not happen with _blank target. When return to app, nothing 
happens, as expected. This happens only with _system target.
   
   The difference between _blank and _system is definitely cause with _system 
your app goes into the background. _blank launches a second webview instance 
that is overlaid on top of your app, so you never actually leave your app.
   
   As far as seeing the splashscreen on app resume... you're only suppose to 
see it in two situation:
   
   1. Cold start (android needs to launch the entire process into memory)
   2. warm start (your app process is already in memory, but the activity needs 
to be created)
   
   There is a 3rd state, "hot start" which is when your app is launched, and it 
already has a process in memory, and it already has an activity in memory. This 
is the state that you're explaining, so no I don't think you should be seeing 
the splashscreen in this case.
   
   https://developer.android.com/topic/performance/vitals/launch-time#hot
   https://developer.android.com/develop/ui/views/launch/splash-screen#how
   
   I wonder if the [exit 
animation](https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/SplashScreenPlugin.java#L142)
 is what you're seeing. The fade effect is enabled by default, but can be 
disabled by setting `FadeSplashScreen` preference to `"false"`:
   
   ```xml
   <!-- config.xml -->
   <preference name="FadeSplashScreen" value="false" />
   ```
   
   If the issue goes away, then I think that's sufficient evidence that the 
exit animation is to blame.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to