Skip to content

Instantly share code, notes, and snippets.

@SaBenBurra
Created October 10, 2022 19:14
Show Gist options
  • Save SaBenBurra/08322e64d0627a21e1eb33627da42815 to your computer and use it in GitHub Desktop.
Save SaBenBurra/08322e64d0627a21e1eb33627da42815 to your computer and use it in GitHub Desktop.
public class Main {
public static void main(String[] args) {
FirebasePushNotification notificationService = new FirebasePushNotification();
notificationService.sendNotificationToSingleUser("Hello", "123456");
notificationService.sendNotificationToAllUsers("Hello world");
//...
notificationService.sendNotificationToSingleUser("Hello", "123456");
notificationService.sendNotificationToAllUsers("Hello world");
//...
notificationService.sendNotificationToSingleUser("Hello", "123456");
notificationService.sendNotificationToAllUsers("Hello world");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment