Hi!
When I test my app, whatever screen I open, the system show me this message at console:
FileUploadHelper.js:1 Uncaught SyntaxError: Unexpected token ILLEGAL
service.js:1383 Uncaught TypeError: Apperyio.FileUploadHelper is not a constructor
When I open the service.js at line 1383, I have this code bellow:
codeCordovaFileUpload = new Apperyio.FileUploadHelper({
Code: Select all
"serviceName": "CordovaFileUpload",
'serviceSettings': FileUpload_settings
,
'defaultRequest': {
"data": {
"request_options": {
"headers": {
"Connection": "Close",
"X-Appery-Database-Id": "{database_id}",
"X-Appery-Master-Key": "{database_master_key}"
}
}
}
}
});/code
Do you know what can be the problem?
I checked and the FileUpload_settings and all parameters are correct.
Thanks