isRegistered()
function. If the account is not registered, developers should call prepareRegistration()
and then register()
function to register the account.
getActiveSubscriptions()
.
getNotificationHistory()
.
getNotificationTypes()
function.
You can use the scope
object of the subscription to get the available notification types.
unregister()
. This will remove all subscriptions and messages for this account from the client’s storage.
FlatList
which introduces infinite scroll functionality with a basic example:
Please make sure you have better handling of the notify client instance which handles worst cases by checking initialization status, account status, for production ready apps.
@react-native-firebase/app
, @react-native-firebase/messaging
and @notifee/react-native
to handle Push Notifications.
Please refer to the respective package documentation to configure them properly.
index.js
file to include the following logic.