Skip to content

tari-labs/ios_aurora_push

Repository files navigation

Aurora Push Notifications server

Push notification server for Tari Aurora

Register device token for remote push notifications

POST http://localhost:4000/register/:pub_key
{
    "token": "device_token_goes_here",
    "platform": "ios", //"ios" or "android"
    "signature": "abc123", //Message to sign is "app_api_key" + "pub_key" + "token"
    "public_nonce": "def456",
    "sandbox": false //Set this to true if token was registered from an app running in debug
}

Send a push notification to transaction recipient

POST http://localhost:4000/send/:to_pub_key
{
    "from_pub_key": "abc123", //Your public key
    "signature": "abc123", //Message to sign is "app_api_key" + "from_pub_key" + "to_pub_key"
    "public_nonce": "def456" 
}

Cancel scheduled notifications

POST http://localhost:4000/cancel-reminders
{
    "pub_key": "abc123", //Your public key
    "signature": "abc123", //Message to sign is "app_api_key" + "pub_key" + "cancel-reminders"
    "public_nonce": "def456" 
}

About

Push notification server for Aurora iOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages