Closed ami-aman closed 1 year ago
Pull request title looks good 👍!
If this pull request gets merged, it will cause a new release of the software. Example: If this project's latest release version is 1.0.0
. If this pull request gets merged in, the next release of this project will be 1.1.0
. This pull request is not a breaking change.
All merged pull requests will eventually get deployed. But some types of pull requests will trigger a deployment (such as features and bug fixes) while some pull requests will wait to get deployed until a later time.
closes : https://github.com/customerio/issues/issues/10367
Customers reported that they are able to get push notification only in background and that the deeplinks do not work when the app is in killed state. With this feature fix, we are letting the user set
UNUserNotificationCenter
delegate as a configurable property i.e.disableNotificationCenter
.Setting
UNUserNotificationCenter
delegate allows the app to handlewillPresentNotification
&didReceiveNotificationResponse
methods and receive push notifications in foreground and cater push interactions.Default value of
disableNotificationCenter
istrue
.The code snippet to set delegate for
UNUserNotificationCenter
has been made a configurable property so that the customers usingexpo-notification
may prevent adding this snippet as it conflicts with the library.This PR has been Dev tested.