useNovu
Learn how to use the useNovu hook to access the Novu client instance in your React Native application
The useNovu
hook provides access to the Novu client instance from anywhere in your React Native application. This hook must be used within a component that is wrapped by the NovuProvider
.
Return Value
Example Usage
Here's how to use the useNovu
hook to interact with the Novu client:
Accessing Notification Methods
The Novu client provides methods for managing notifications:
Managing Preferences
You can also manage notification preferences:
The Novu client instance provides access to all the functionality available in the Headless API.