Skip to content

Commit

Permalink
Fixed the JSNativeUI issue with iOS6.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Sarrafi committed Dec 19, 2012
1 parent c5c971a commit 893fef5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libs/Wormhole/jslib/phonegap-1.2.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,10 +534,15 @@ PhoneGap.onDeviceReady = new PhoneGap.Channel('onDeviceReady');
// bug that caused onDeviceReady to fire too early.
PhoneGap.deviceReadyChannelsArray = [
PhoneGap.onPhoneGapReady,
PhoneGap.onPhoneGapInfoReady,
//PhoneGap.onPhoneGapInfoReady,
PhoneGap.onPhoneGapConnectionReady,
PhoneGap.onNativeReady];

// This is hack to overcome the problems with iOs6 devices, should be removed when that is fixed
if(!mosync.isIOS)
{
PhoneGap.deviceReadyChannelsArray.push(PhoneGap.onPhoneGapInfoReady);
}
// Hashtable of user defined channels that must also fire before "deviceready" is fired
PhoneGap.deviceReadyChannelsMap = {};

Expand Down

0 comments on commit 893fef5

Please sign in to comment.