Skip to content

AliAghamirbabaei/iOSPushNotification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iOSPushNotification

Send notification for iOS with Firebase in Python

Use this code to send push notification to specific or group iOS devices.

Installation

  1. pip3 install requests
  2. add app_key and device_token from Firebase

Usage

For normal notification:

notification = PushNotification()
notification.send('Title', 'Body')

With subtitle:

notification = PushNotification()
notification.sendWithSubtitle('Title', 'Subtitle', 'Body')

Without sound:

notification = PushNotification()
notification.sendWithoutSound('Title', 'Body')

Enjoy 🙂

About

Send notification for iOS with Firebase in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages