this is so complicated to show a notification.
I am still confused about this. İn iOS it asks for permission and when user dont allow notification, even if you send the notification, it doesn't arrive. İt is so simple. Here, with sdk33, we need to check the permission every time we show a notification. As I understand and Erel stated, we mustn't use the checkpermission sub in receiver module.
what if user doesn't allow notifications and we still show the notification withouy checking permission status?
- if it still arrives, system can be abused easily. This doesn't make sense.
- if it doesn't arrive, it makes sense but then why are we checking permission status everytime we show a notification?
sorry, I don't get the full picture here.