Vydia / react-native-background-upload

Upload files in your React Native app even while it's backgrounded. Supports Android and iOS, including camera roll assets.
MIT License
730 stars 333 forks source link

Notification #298

Open AlexCernik opened 2 years ago

AlexCernik commented 2 years ago

Hi, the notification not autoclear with autoClear: true

AlkanV commented 2 years ago

i am experiecing same issue, any update on this one?

also even tho enabled: false is passed, it still receive silent notification like 'upload completed succesfully in x sec'

audreygmrd1 commented 1 year ago

I also have the same issue, I understand that past Oreo we have to enable the notifications but the notification doesn't autoclear with the parameter set to true. Please advise

zatteo commented 1 year ago

You need to add enabled: true if you want autoClear: true to work. See https://github.com/Vydia/react-native-background-upload/blob/20dfb9b031d62fdf31f27855b78ae91c2bf75772/android/src/main/java/com/vydia/RNUploader/UploaderModule.kt#L206