Blank screen issue in apk


#1

When I open the meteor app from mobile ,the screen goes for a second and comes back.But this happens only on mobile,not on browser.


#2

Usually when new mobile app launched and connected to the server, it will sync once and should not happen again without you deploy any new update.


#3

Now what can I do,if it shouldn’t happen on mobile?


#4

If it happens once means,it’s a bug right?


#5

when I open the app,login page appears,after that for 1 to 2 seconds screen goes off and then again login page comes.This is my exact question


#6

Everytime? Mean everytime you launch the app, the same thing happen, If yes, then I can’t help, it’s not suppose to be. But if just happen once, and wont happen again when you launch the same app without new deployment, then it’s normal, not bug.


#7

OK,but for the first time when I launch it, takes 1-2 seconds,but without new installation and new deployment to the server,if I open the app,screen goes within a fraction of second and comes back…


#8

but this thing was not occuring in the begining of devloping an app,As I started including more code into app,this problem is occuring.I guess I have to add some package or remove some package to eliminate this issue .


#9

Check the appcache package. It will download the updated build in the background. It is the downloading of the new build that is taking awhile


#12

Nothing is worked for me…I have just created the small login project,I havn’t included anything in server except some browser allowance in server.And below are the packages which I have added to it:
meteor-base@1.4.0
mobile-experience@1.0.5
mongo@1.5.0
blaze-html-templates@1.0.4
reactive-var@1.0.11
tracker@1.2.0

standard-minifier-css@1.4.1
standard-minifier-js@2.3.4
es5-shim@4.8.0
ecmascript@0.11.1
shell-server@0.3.1

autopublish@1.0.7
insecure@1.0.7
browser-policy
underscore
iron:router
The meteor version is 1.7.0.5


#13

Then,whom should I contact to solve this problem?


#14

When you try debug on device, do you see anything wrong in console or element change?


#15

To debug an app on device,I have to give local server address ,right?and It’s not possible with cloud server?.To debug the app I used the command “meteor run android-device --port 3000”.


#16

Correct, I did the same and you can use Chrome developer tools to debug on device.


#17

If you expect to run it on port 3000, you don’t need the --port 3000


#19

how to debug it using chrome developer tools?I never did it before.


#20

yeah I know,but issue is happening when you build the app using command “meteor build–debug …/apk --server=https:example.com” and when you install it on mobile and tried to open it.


#21

#23

OK,thank you and I will paste the console logs here,once I complete this action.


#24

applog