@ADiiL wrote:
Hi, I just used ionic to build a new app... with simple 1 controller and 1 view and it runs perfectly with no error on browser using ionic serve ... but when I build it and run it on device "Iphone with IOS 10.1" all the html and css looks fine and perfect .... but no controller / javascript code is running ... I made a ton of console logs inside the controller to catch anything ... but I became sure that the controller isn't running at all ( I guess )
here is the info from "sudo ionic info" :
Cordova CLI: 6.3.1
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.2.1
Xcode version: Xcode 8.1 Build version 8T29ohere is index.html
and here is the app,js :
here is how the console in xcode while running looks like :
2016-09-23 22:58:58.240846 MindAge[587:75688] Apache Cordova native platform version 4.2.1 is starting.
2016-09-23 22:58:58.241308 MindAge[587:75688] Multi-tasking -> Device: YES, App: YES
2016-09-23 22:58:58.295277 MindAge[587:75688] Using UIWebView
2016-09-23 22:58:58.297193 MindAge[587:75688] [CDVTimer][handleopenurl] 0.060022ms
2016-09-23 22:58:58.298159 MindAge[587:75688] [CDVTimer][intentandnavigationfilter] 0.919998ms
2016-09-23 22:58:58.298226 MindAge[587:75688] [CDVTimer][gesturehandler] 0.043035ms
2016-09-23 22:58:58.315909 MindAge[587:75688] [CDVTimer][splashscreen] 17.647982ms
2016-09-23 22:58:58.324151 MindAge[587:75688] [CDVTimer][statusbar] 8.147001ms
2016-09-23 22:58:58.324948 MindAge[587:75688] [CDVTimer][keyboard] 0.729978ms
2016-09-23 22:58:58.324992 MindAge[587:75688] [CDVTimer][TotalPluginStartup] 27.877986ms
2016-09-23 22:58:59.819438 MindAge[587:75688] Resetting plugins due to page load.
2016-09-23 22:59:00.101240 MindAge[587:75688] Finished load of: file:///var/containers/Bundle/Application/97C5AAAC-44E9-4647-86CB-7B01E6E76912/MindAge.app/www/index.htmlthanks for helping...
Posts: 3
Participants: 2