Skip to content

sweebee/expo-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expo Notifcation

Send notifications with the Expo API

Example

$notification = new ExpoNotification();

$result = $notification
	->to([
		'ExponentPushToken[GoVJ_qPG41_nHi-4EQS5UU]',
		'ExponentPushToken[P7yjE4MojbyaqpOiwwANgB]'
	])
	->title('test')
	->body('message')
	->data([
		'row' => 'item'
	])
	->badge(1)
	->channel('default')
	->sound('default')
	//->silent()
	//->test()
	->send();

print_r($result);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages