Use the proper logic on iOS to increment the badge (#4233)
This commit is contained in:
parent
c58aedf050
commit
480a40862f
7 changed files with 34 additions and 15 deletions
|
@ -66,5 +66,9 @@ class ExpoBackgroundNotificationHandlerModule : Module() {
|
|||
AsyncFunction("removeManyFromStringArrayAsync") { forKey: String, strings: Array<String> ->
|
||||
NotificationPrefs(appContext.reactContext).removeManyFromStringArray(forKey, strings)
|
||||
}
|
||||
|
||||
AsyncFunction("setBadgeCountAsync") { _: Int ->
|
||||
// This does nothing on Android
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue