sgrebnov / cordova-plugin-background-download

Apache License 2.0
73 stars 77 forks source link

Rename notification mesage "org.apache.cordova.backgroundDownload plugin" on downloading #30

Closed arunap closed 6 years ago

arunap commented 8 years ago

When downloading files using this plugin on Android, It shows "org.apache.cordova.backgroundDownload plugin" message on notification drawer. I changed the plugin line no request.setTitle("org.apache.cordova.backgroundDownload plugin"); with a custom title, but it still shows the same message. Is there anyway to change this?

MichaelApproved commented 8 years ago

Changing that text worked for me. Remember that you need to either remove/add the plugin back in with the correct text or (I believe) remove the platform and re-add it. Without one of those steps, the platform will retain the old code from the plugin.

Would be awesome if this were an option that could be set at runtime.

posti85 commented 7 years ago

Anyway, configuring that title or just showing the name of the file being downloaded, it is more presentable than a static string with the name of the plugin...

NickToropov commented 6 years ago

Hi guys! Finally, we did it! (PR#61)

toadeelali commented 5 years ago

I added latest code in my app but no notification appeared need help.