Skip to content

Lanson2232/sanity-onesignal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sanity-plugin-onesignal

OneSignal Push Notification support for Sanity.io

Installation

sanity install onesignal

Usage

Use it in your schema types:

// [...]
{
  fields: [
    // [...]
    {
      name: 'onesignal',
      title: 'Notification',
      type: 'onesignal',
    },
  ]
}

Configuration

To use it you need to define your API Key and APP ID

// .../studio/config/onesignal.json
{
  "onesignalApiKey": "exampleKey",
  "onesignalAppId": "exampleID"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published