Rapsssito / react-native-background-actions

React Native background service library for running background tasks forever in Android & iOS.
MIT License
819 stars 117 forks source link

📱 Background Task it working, but Notification now showing on IOS. #190

Closed smiley717 closed 1 year ago

smiley717 commented 1 year ago

Hello, It's working fine with android, but I am having some troubles to use this library on IOS. It looks like the background task works, but the notification is not being shown like android. can anyone tell me is it supposed to show or not? image

mohammadrajabraza commented 1 year ago

Hey @smiley717 , I think this is he mentioned in the docs that Notification Icon and progressbar are Android only.

Screenshot 2023-07-26 at 1 48 14 PM
smiley717 commented 1 year ago

Yes, I confirmed it only works with android. Thank you @mohammadrajabraza

arifrohmanhakim commented 1 year ago

@smiley717 Could you provide me with an example code, please? I've attempted it, but I'm facing issues on both Android and iOS.

The 'veryIntensiveTask' doesn't seem to be triggering, and the notifications aren't appearing either

Rapsssito commented 1 year ago

The notification is only visible in Android. I will update the documentation.