Setting up Badges for React Native
How to implement Badges for your React Native project
Last updated
How to implement Badges for your React Native project
Last updated
Since the React Native plugin does not contain the PWNotificationExtensionManager header, you have to perform several additional steps to implement Badges for your React Native project.
That's what you need for setting Badges up:
To implement badges for iOS Native app, please refer to the Setting up Badges guide.
Replace the name of extension used in the line #import "NotificationService.h"
with the name of your extension.
React Native does not automatically link all required dependencies to a target that was created manually, so you should update the target's Build Phases and provide the necessary info:
Just click on the + sign under the Compile Sources and Link Binary With Libraries and search for the required libs/frameworks.