After installing as recommended, the function call as given in Usage: "Call the cordova.plugins.MediaScannerPlugin.scanFile(fileUri, successCallback, errorCallback) method after download." is not recognized to be a function. This is on Cordova 6.3.1.
Have you declared cordova variable in component file. It works for me. I worked on an ionic project and declared the variable after the project imports
After installing as recommended, the function call as given in Usage: "Call the cordova.plugins.MediaScannerPlugin.scanFile(fileUri, successCallback, errorCallback) method after download." is not recognized to be a function. This is on Cordova 6.3.1.