How to Make Splash or Loading Screen

How do you implement splash / loading screen for cocos2d-js on Android & iOS , For web you can change the image cc._loaderImage but how do you implement it for the native in cocos2d-JS

In both you have to do it in the native part:

-In IOs there is an asset catalog you can create in xcode in which you can choose the icon and the loader image.
-In android our solution has been to create a surface view with the splash and make a native function to say when it has to shown on/off from js