When testing my trigger.io app on the Android simulator or my Nexus phone, I can manually hide the launch image through code successfully. However, when running the app on the iOS simulator, the launch image remains visible. Additionally, when debugging directly on my iOS device or installing a dev .ipa file via iTunes and launching the app, it hangs at the launch image without any console logs or errors in forge-error.log.
My configuration in config.json is as follows:
"launchimage": {
"ipad": "launch/768x1004.png",
"android-landscape": "launch/1024x748.png",
"iphone-retina": "launch/640x960.png",
"iphone-retina4": "launch/640x1136.png",
"iphone": "launch/320x480.png",
"android": "launch/640x960.png",
"ipad-landscape": "launch/1024x748.png",
"ipad-retina": "launch/1536x2008.png",
"ipad-landscape-retina": "launch/2048x1496.png",
"hide-manually": true,
"background-color": "#A6A6A6"
}
This is how I am attempting to hide the launch image based on the latest documentation-
forge.launchimage.hide(function(content) {
// Success.
alert("It worked!");
}, function(err) {
// Error.
alert("Error occurred.");
});
I seek advice on this issue. Is anyone else facing a similar problem? My iOS device is running version 6.0.1. Thank you for your attention.
Related question - Trigger.io hangs on splash screen in iOS
Update: My device model is 3GS. Any suggestions on how to debug this?