Created
May 9, 2020 20:56
-
-
Save shreyakupadhyay/8847a9b91883b57ef0c06a1674e62e13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import firebase from 'react-native-firebase'; | |
import type { NotificationOpen } from 'react-native-firebase'; | |
export default async (notificationOpen: NotificationOpen) => { | |
if (notificationOpen.action === 'snooze') { | |
// handle notification. | |
} | |
return Promise.resolve(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment