This is a migrated thread and some comments may be shown as answers.

Splash screen always auto hiding on iOS

13 Answers 347 Views
Apple iOS
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Aaron
Top achievements
Rank 1
Aaron asked on 02 Oct 2013, 01:10 PM
Hey there,

First of all... wonderful product. Tools like ION have made it ridiculously easy to allow our client to check out their app with zero effort :)

I've been testing my app in both ION and directly on my phone (with an ad-hoc provisioning profile), but it seems that the AutoHideSplashScreen preference isn't honored when I set it to false. Prior to using Icenium, I was building this directly in Phonegap, and the preference worked fine there. The app I'm building involves reading JSON data from a local file and building out the content with Handlebars.js, so I don't want to hide the splash screen until that process is finished.

It seems like the splash screen is being hidden automatically whenever the deviceready event fires. I've triple-checked my iOS config.xml in Icenium (I'm using Mist since I'm on a Mac) and AutoHideSplashScreen is definitely set to false. I've tested on multiple devices, both iOS 7 and 6.1. Cordova version is 3.0.0.

Does this sound like a bug, or am I overlooking something? Thanks so much for your help!

13 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Oct 2013, 03:23 PM
Hi Aaron,

First, thank you for the kind words - much appreciated!

I've tested this feature on our default Kendo template and it seems to be working just fine i.e. the splashscreen never disappears until you invoke .hide(). So it is not a bug on our end and I suspect it is something specific with your project. Can you confirm that your exact app imported as is in Phonegap does show the splashscreen?

Also we see that according to Cordova SplashScreen API, there is an iOS quirk that requires you to use timeout, although this was not necessary in our test, you could give that a try.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Aaron
Top achievements
Rank 1
answered on 04 Oct 2013, 03:56 PM
Hi Steve,

Thanks for the feedback. Would you mind also testing the default "Blank" template, as that's the one I'm using for this project?

I also created a new Phonegap/Cordova project locally and pulled over the relevant files from my Icenium project, and the splashscreen is working perfectly there.

Thanks for your help in looking into this!
0
Steve
Telerik team
answered on 09 Oct 2013, 10:38 AM
Hello Aaron,

It seems in my initial tests I was targetting Cordova 2.7 by mistake, after testing on 3.0 I was able to reproduce the problem. A quick search in the Cordova issue tracker, shows that this is a known problem in v. 3.0 and that it has been resolved in Cordova 3.1.

We already tested the fix locally and would apply it in our next release in mid November. Let me know if you can't wait for the fix and I would explain how to apply it manually with the current version.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Plamen Ratchev
Top achievements
Rank 1
answered on 09 Oct 2013, 04:01 PM
Hi Steve,

I have the same problem. Can you please explain how to fix it, I cannot wait until mid November as I have to release my app very soon.

Thank you!

Plamen Ratchev
0
Steve
Telerik team
answered on 10 Oct 2013, 12:54 PM
Hi Plamen,

It is not a very pretty solution and I would recommend sticking to Cordova 2.7 if this is important feature for  your app and you're not using anything Cordova 3.0 specific. Anyway, here it is:
  1. Push your app to a git repository. Navigate to the .proj file inside the app folder, open it and delete org.apache.cordova.core.splashscreen from <CorePlugins>.
  2. Download the splashscreen core plugin from Cordova (https://github.com/apache/cordova-plugin-splashscreen). You can delete docs and test folders as they are not needed and you can also delete all platform specific stuff that Icenium does not support (i.e. everything except Android and iOS)
  3. Import this as Custom Plugin inside your Icenium app.

That's it. Once you build your app, the AutoHideSplashScreen would be working as expected.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Plamen Ratchev
Top achievements
Rank 1
answered on 10 Oct 2013, 04:13 PM
Thank you Steve!
0
Plamen Ratchev
Top achievements
Rank 1
answered on 06 Nov 2013, 04:32 PM
Hi Steve,

I just wanted to check if this problem was fixed in the new Icenium update that was just released. I upgraded and the problem seems to still exist.

Thank you!

Plamen Ratchev
0
Steve
Telerik team
answered on 06 Nov 2013, 04:41 PM
Hi Plamen,

The fix is in Cordova 3.1 and we're still targeting Cordova 3.0, so no, the fix is not yet available out of the box.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Steve
Telerik team
answered on 07 Nov 2013, 02:20 PM
Hi Plamen,

As several other users have hit this problem we decided to update the splashscreen plugin for the upcoming hotfix next week. Still the solution I provided is completely working, do you have any problems?

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Plamen Ratchev
Top achievements
Rank 1
answered on 08 Nov 2013, 03:56 AM
Hi Steve,

Yes, the solution you provided works, but I prefer to get the native fix on the long run.

Thank you,

Plamen Ratchev
0
Plamen Ratchev
Top achievements
Rank 1
answered on 22 Nov 2013, 01:44 PM
Hi Steve,

You noted that the hotfix will be available last week, but I still see the issue. Do I have to do anything on my side, or maybe the hotfix was not deployed as scheduled?

Regards,

Plamen Ratchev
0
Steve
Telerik team
answered on 22 Nov 2013, 02:54 PM
Hello Plamen,

Correct, not deployed as scheduled. Other urgent things came out and we had to leave this one out. It would be updated for the new release in mid December at latest!

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Plamen Ratchev
Top achievements
Rank 1
answered on 22 Nov 2013, 05:05 PM
Thank you Steve!
Tags
Apple iOS
Asked by
Aaron
Top achievements
Rank 1
Answers by
Steve
Telerik team
Aaron
Top achievements
Rank 1
Plamen Ratchev
Top achievements
Rank 1
Share this question
or