mirzemehdi / KMPNotifier

Kotlin Multiplatform Push Notification Library targetting android and iOS
http://mirzemehdi.com/KMPNotifier/
Apache License 2.0
172 stars 10 forks source link

Request permission optional at init #22

Closed corneloaie closed 2 months ago

corneloaie commented 2 months ago

Hello, I want to inform the user before requesting the permission for notifications which is done now at lib init which is done when the app starts. Could you please make the permission request optional in order to have the possibility to request ourselves this when deemed necessary? And later as an improvement expose the request permission method so we can use directly your impl.

Thank you for your great work.

mirzemehdi commented 2 months ago

@corneloaie I'll consider to implement this. Thank you!

mirzemehdi commented 2 months ago

This is implemented in version 0.6.0

For more information about usage you can check comment in PR: https://github.com/mirzemehdi/KMPNotifier/pull/27