Skip to content

This little plugin helps to remove the splash screen (Default.png) manually with a javascript call after your sencha touch application is fully loaded. This prevents the white-screen which normally occurs because phonegap removes the overlay to early.

Notifications You must be signed in to change notification settings

chr1gu/SenchaHelperPlug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

First you need to hack the Phonegap lib and prevent it from hiding the splash screen after the webview is loaded.

1. Open PhoneGapDelegate.m and go to line 413:

  // -------------------------------------------
  // comment out these lines:
  // imageView.hidden = YES;
  // [window bringSubviewToFront:viewController.view];

  // ..and add these:
  [window addSubview:viewController.view];
  [window bringSubviewToFront:imageView];
  // -------------------------------------------

2. After phonegap and your sencha touch application is loaded call the helper plugin:

  // -------------------------------------------
  PhoneGap.exec("SenchaHelperPlug.removeSplashScreen");
  // -------------------------------------------

About

This little plugin helps to remove the splash screen (Default.png) manually with a javascript call after your sencha touch application is fully loaded. This prevents the white-screen which normally occurs because phonegap removes the overlay to early.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published