BelinChung/HiApp

Demo not working in simulator

sylzys opened this issue · 10 comments

你好,

I've been looking at your app HiApp on github, really helped me getting familiar with framework7.
Uploading Capture d’écran 2015-10-06 à 15.39.30.png…

I've been running gulp build, but I still don't get any content (besides navbar and tabbar) when I launch the app in the iOS simulator. Same goes if I use cordova build ios

Everything goes well when i launch gulp build-dev and use webpack-server in a browser.
Am I missing something here ? :(
谢谢你!
hiapp

App is not working neither when I use local webserver instead of webpack-server :(

Hi, Can you provide some debugging information from Console?
Maybe you can use GapDebug to get the debugging information from iOS simulator as Chrome Console. :)

谢谢你快回答:)
Unfortunately, GapDebug console shows no error :/
capture d ecran 2015-10-08 a 10 59 25

The ressource tab seems to be ok:
capture d ecran 2015-10-08 a 11 01 10

The network tab show no activity when clicking on tab icon :(

对了,用Genymotion也不工作 :(
capture d ecran 2015-10-08 a 11 54 29

But here I have some errors in console :
capture d ecran 2015-10-08 a 11 55 08

Hi, Maybe I can find some bug from compiled files, please pack www folder, and upload here.

Here is the www folder : http://jingleweb.fr/tmp/HiAppWWW.tgz
Thanks !

The "unknown property 'type' of undefined "error" came from the fact that I didn't have cordova-plugin-network-information plugin installed, so using a device or a simulator, navigator.connectiondid not exist (var used in networkStatus.js l.4)

That being said, I think there are a few problems in the gulp/webpack config, because some files are not copied, some are removed...
I created a task "copy" where I moved every fse.copySync requests, and run it before build-dev. After that, cordova run is working 👍
Thanks for your good work !

I am so sorry, this is the first time I have used webpack to build a project.
FIS is very popular in China, I am more familiar with it.
But unfortunately, It is missing English document.
Maybe I should spend more time to learn webpack. : )

嘿,没问题!
你的APP很好,帮了我很多 :)
如果我用Webpack有进步,我告诉你:)

谢谢!

Closing (inactivity)