Little help needed : I want to send push notification in mobile apps from react website
- 0
- Android

I want to send push notification in mobile apps from react website, i am not using server side code so can you tell me how will i send push notification directly from react and appwrite function ? i am using one signal for sending push notification

It seems like OneSignal has a good Node SDK
You can then create a Node cloud-function. Within it add the One Signal Package Then the rest is like a regular JavaScript code.
Then you can use the client SDK to execute the function from the device.

You can also use many more SDKs of OneSignal that has function runtime within Appwrite.

but when i upload node js function in appwrite function , it does not submit

they asked for .gz file

Use Appwrite cli to create and deploy the function https://appwrite.io/docs/functions-deploy#cli
Recommended threads
- Error: Invalid `userId` param: Parameter...
- Upload file
i got this error when try upload file (.Net). I use this line to check my buucket and its all right var buckets = await appWriterInit.Storage.List...
- Need help on Flutter OAuth2
Am trying to use Appwrite OAuth (google, apple and facebook), am been on it for sometimes now which have tried many things but still not able to make it work: ...
