win universal app - Windows Phone 10 UWP with AngularJS is randomly crashing -
i have written 2 apps windows phone 10 using winjs angularjs. versions used: angularjs 1.4.9 (i tried downgrading 1.3.20) winjs 4.4.0 angular.winjs 4.4.0
now apps work great on emulators keep crashing randomly on device itself. enabled dev mode on device view crash dump. here got:
dump file: ring times - 32507dg-infotec.ringtimes exception c0000194 on 3-17-2016 07.36.dmp : ring times - 32507dg-infotec.ringtimes exception c0000194 on 3-17-2016 07.36.dmp last write time: 17.03.2016 07:36:26 process name: wwahost.exe : wwahost.exe process architecture: arm exception code: 0xc0000194 exception information: heap information: present sadly no exception information given. tried multiple times in every dump file exception information missing.
i put additional exception handling application catching angularjs exceptions , writing them file, after global winjs error handling (winjs.application.onerror) catch there , write file in both cases no files written. open app on device , after 10-20 seconds app crashes. nothing happens in meantime, no user interaction not background services running nothing.
anyone experienced same or similar or can point me right direction? appreciated.
ok fixed myself. i'm not sure caused narrow down. here did.
- downgraded angularjs version 1.3.10. used 1.4.9 before. angularjs-winjs library doesn't work version 1.5.x there known bug caused transclude directive adds ng-transclude="true" elements. don't believe it's because downgraded wanted mention since feel app behaves more stable now.
- removed manual bootstrapping of angularjs. did before in both apps manually bootstrap angularjs in onactivated event of winjs application. removed code , added ng-app directive markup.
as said before don't know caused random crashes above 2 points seemed out lot. no crash since then. hope helps else
Comments
Post a Comment