I\'m working on Ionic mobile app development.
My requirement is to create client side logger to track issues in app. I used the methods mentioned in https://github.c
Ali's item 4 is very important: I had a similiar problem on different platforms: cordova.file.dataDirectory was null. I tracked cordova.file.dataDirectory over the lifecycle and it was first accessed by my Ionic 2 code BEFORE the device ready event was fired. My "mistake": I wanted to load data during the constructor(!) of a service. Seems too early.