I need our app to hide its content with a splash screen when the app isn’t directly active, ie. when f.x you double tab on the home button on IOS and it shows all the active apps.
Answering my own question here - might be helpfull for others:
For Android it is not really possible to hide it with the Splashscreen, but you can hide the content with a solid colored background by adding this to your MainActivity.java file: getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);
To hide the content when multi task switching between apps, either hide or add a splash screen image in the AppDelegate.swift files applicationWillResignActive function: