OData plugin inclusion on a Cordova Windows project
I am having difficulties using offline OData in my Cordova application for Windows platform.
The application can successfully create an offline store and do an OData.read() call when the device is online. However, when the device is offline, the OData.read() call will fail with message "HTTP request failed".
Thanks to your help I've now got it working.
The causes of the problem were:
- The offline store limitations which were not respected in the data or in the fields properties
- The following condition which I was not aware of: "If the primary key of an odata collection is a string, then the maxlength field should be mentioned"
Many thanks to Chirag and yourself for your help.