Hi,
After packaging my app (sencha command build), I've upload my app on a
server to test the result.
Everything is ok on my desktop on google chrome but not working on the
navigator of my phone (androïd 2.3.6).
On the phone's navigator, I've got this message :
"[WARN][Ext.data.reader.Reader#process] Unable to parse the JSON
returned by the server: Error: You're trying to decode an invalid JSON
[...]"
I've set my JSON on JSONLint : valid.
I've check the result in the network console : 200 - application/json -
UTF8.
Here is the url on the JSON :
http://nantesparcours.lafamillebn.ne...angements/zone
As it may come from the store code :
Code:
Ext.define("MyApp.store.Changes", {
extend: "Ext.data.Store",
config: {
model: "MyApp.model.Change",
proxy: {
type:'ajax',
url:'http://nantesparcours.lafamillebn.net/api/changements/zone',
reader: {
type:'json',
rootProperty:'changement',
}// reader
}, // proxy
sorters: [ { property: 'horodatage', direction: 'DESC' } ],
}, // config
}); // fin
Thanks for any help. Hope to give all info ...