App does not start(run) at the first time of installation

App does not start (run) at the first time of app installation.

I am guessing the problem is caused by geolocation.

App asks for permission of use of geolocation,

  1. If allowed:::: geolocation does not get the current location, (timeout option is set) but after complete app close and reopen, it works fine.

  2. If denied::: css layout get’s ugly(?), distorted.

All above problems get solved after complete close and reopen.
This only happens in the first time of app installation.

Does anyone having this problem??