0

I am using google map service in my application. the map working fine the problem is when device connect internet through wifi hotspot, in this case showing white screen for 5 seconds after splash screen.

When i disable maps.googleapis.com url, at that time white screen not appear.

I included all permissions in config.xml file, but still getting same problem.

I included google map service in bellow way.

config.xml file permission as

 <access origin="*"/>
<access origin="http://maps.googleapis.com/*"/>
<access origin="*://*.googleapis.com/*" subdomains="true" />
<access origin="*://*.gstatic.com/*" subdomains="true" />
<access origin="*://*.google.com/*" subdomains="true" />
<access origin="*://*.googleusercontent.com/*" subdomains="true" />
Kumar
  • 31
  • 4

1 Answers1

0

try adding console in your script before and after the firing of "deviceready" event. Then you will know that the deviceready event has a timeout of 5 seconds. you can see the message in the logcat window

Hope this helps!!

Satpal Tanan
  • 1,108
  • 7
  • 17
  • I'm getting message in logcat as, device ready has not fired after 5 seconds. then what i will do next, how to eliminate white screen. – Kumar Feb 12 '15 at 13:16
  • this may be useful---http://stackoverflow.com/questions/19515759/phonegap-3-1-unable-to-hide-splash-screen-on-device-ready – Mohammed Imran N Feb 12 '15 at 13:26
  • this is also not working for me, again i'm getting white screen after splash screen. I set splash screen delay time to 5 sec. – Kumar Feb 12 '15 at 13:43