No Content Loading in release binary

4 posts, 0 answers
  1. Paul
    Paul avatar
    4 posts
    Member since:
    Aug 2013

    Posted 16 Oct 2014 Link to this post

    Whenever I build my app on iOS with a development provisioning profile and test it on my devices the app works fine!. However, when I build it with an app store profile and push it to the app store for review, they reply that the there is no content loading and it's just a blank white page (see screenshot they sent). Does anybody know what is causing this? Thanks!
  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 21 Oct 2014 Link to this post

    Hi Paul,

    This is the first time such issue has been reported to us. Could you, please provide some more details about it? For example, what are the exact steps that you took for publishing the app (via AppBuilder or directly from a Mac)? Are there any custom Cordova plugins inside your project? Are there any third party JS libraries that could be failing? Further, you can also name your project in order to investigate it on our cloud and see if there is anything that could be causing such unexpected behavior.

    I am looking forward to your reply.

    Regards,
    Kaloyan
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. Paul
    Paul avatar
    4 posts
    Member since:
    Aug 2013

    Posted 21 Oct 2014 in reply to Kaloyan Link to this post

    Hello Kaloyan,

    Thank you for the reply. When I build the app I first get a provision profile for deploying to the app store. I change the active build configuration from 'debug' to 'release' and then click publish and choose the app store. After it builds I just download the built binary file since uploading on the windows client isn't working since Apple updated itunes connect recently. Then I go to a mac and use the application uploader and upload the binary. I am not using any third party JS libraries besides the included cordova.js, kendo files, and google maps. I am not using any other cordova plugins either. My project is named "Mobilelink New" if that is what you were askinga bout.
  4. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 24 Oct 2014 Link to this post

    Hi Paul,

    Thank you for the further information.

    I checked the Mobilelink New project in our cloud and found out that, upon start it shows the same white screen, as in the image yuo have attached. I believe this is the thing that bothers Apple. To prevent this, you will need to use a proper splash screen until the device is ready. To add the splash-sreen's images, open your Project Properties and navigate to iOS > Splash Screens. There, import your own images, according to the resolution and sizes. Currently I see that you are using the default images, coming from AppBuilder, so you will need to change them. Next, enable the Splashscreen plugin from the Project Properties > Plugins and make sure that you have:
    navigator.splashscreen.hide();
    attached to your deviceready event. Finally, open the iOS Config.XML and check if the AutoHideSplashScreen preference is enabled. If so, you will need to disable it, like so:
    <preference name="AllowInlineMediaPlayback" value="false" />

    I tested this with your app, and the results were promising. I hope it helps. Please, let me know if there are any other issues while publishing the application on the App Store,

    Regards,
    Kaloyan
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top