Skip to content

Commit

Permalink
Merge pull request MoSync#319 from asarrafi/ThreeTwo
Browse files Browse the repository at this point in the history
Fixed the JSNativeUI issue with iOS6.
  • Loading branch information
Ali Sarrafi committed Dec 19, 2012
2 parents c5c971a + 893fef5 commit 9b66544
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 9b66544

Please sign in to comment.