Hi Mobile Experts,
we are trying to implement the webblock DownloadFile but is encountering problem with backgroundDownload property.
the exact error in console is " Uncaught TypeError: Cannot read property 'backgroundDownload' of undefined"
, and when navigating through DownloadFile.js, the line which contain the error is this line "cordova.plugins.backgroundDownload.backgroundDownload(url, targetFile, Success, Fail, Progress); " inside function MuxMobile_DownloadFile(RuntimeId, url, targetFile, fileName).
double checked config.xml and backgroundDownload plugin is listed, also checked using cordova CLI and it showed that backgroundDownload is installed in the package.
No Idea why project still does not detect cordova plugin backgrounddownload
Regards,
Lawrence
we are trying to implement the webblock DownloadFile but is encountering problem with backgroundDownload property.
the exact error in console is " Uncaught TypeError: Cannot read property 'backgroundDownload' of undefined"
, and when navigating through DownloadFile.js, the line which contain the error is this line "cordova.plugins.backgroundDownload.backgroundDownload(url, targetFile, Success, Fail, Progress); " inside function MuxMobile_DownloadFile(RuntimeId, url, targetFile, fileName).
double checked config.xml and backgroundDownload plugin is listed, also checked using cordova CLI and it showed that backgroundDownload is installed in the package.
No Idea why project still does not detect cordova plugin backgrounddownload
Regards,
Lawrence