Receive file from server in cordova app

In the browser, when a Method on the server writes a file I get the ‘save as’ window automatically and I can save the file in downloads, …whatever.

In the Cordova app, this doesn’t happen. So I’ve been trying to learn what is the extra I have to do (do I?). I’ve installed cordova-plugins-file but don’t know how to use it in my client-side
should I be using this - File - Apache Cordova
Ive have a standard mobile-config.js and Im wondering what items I need to add there (for permissions, etc.)
I’ve tried googling a lot so any help would be great!
Thank you and kind regards.

You can try cordova-plugin-file-transfer - npm . Examples are given. It has not been maintained, but I think it works if the necessary permissions are set