{
  "manifest": {
    "spekkr": 1,
    "id": "rook/push-notifications",
    "name": "Push notifications",
    "summary": "Push notifications for iOS and Android: device tokens kept clean, quiet hours in each person's time zone and delivery you can trace.",
    "keywords": [
      "apns",
      "fcm",
      "firebase",
      "mobile notifications",
      "alerts",
      "apple push",
      "expo"
    ],
    "kind": "app part",
    "version": "0.1.2",
    "author": {
      "id": "rook",
      "name": "Rook"
    },
    "targets": {
      "platforms": [
        "mobile",
        "backend"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "quiet_start",
          "label": "Quiet hours start",
          "default": "22:00",
          "help": "Local time on the device, as HH:MM."
        },
        {
          "key": "quiet_end",
          "label": "Quiet hours end",
          "default": "08:00",
          "help": "Local time on the device, as HH:MM."
        }
      ],
      "options": [
        {
          "key": "quiet_hours",
          "label": "Quiet hours",
          "default": true,
          "help": "Notifications that are not urgent wait until morning."
        },
        {
          "key": "badge_counts",
          "label": "Badge counts",
          "default": true,
          "help": "The app's icon shows how many notifications are unread."
        }
      ],
      "swaps": [
        {
          "key": "database",
          "label": "Database",
          "choices": [
            "postgres",
            "sqlite"
          ],
          "default": "postgres"
        },
        {
          "key": "targets",
          "label": "Which phones",
          "choices": [
            "ios_and_android",
            "ios",
            "android"
          ],
          "default": "ios_and_android"
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance criteria."
      },
      {
        "path": "design.md",
        "about": "Data model, rules and flows."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      }
    ],
    "needs": {
      "accounts": [
        "An Apple Developer account with a push key, for iOS",
        "A Firebase project, for Android"
      ],
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/push-desk-ledger.png",
        "shots/push-desk-quiet-hours.png",
        "shots/push-desk-mobile.png",
        "shots/push-desk-sign-in.png"
      ]
    },
    "safety": {
      "secrets": [
        "DATABASE_URL",
        "APNS_KEY",
        "APNS_KEY_ID",
        "APNS_TEAM_ID",
        "APNS_BUNDLE_ID",
        "FCM_SERVICE_ACCOUNT"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.2",
        "date": "2026-11-15",
        "note": "Names what it builds."
      },
      {
        "version": "0.1.1",
        "date": "2026-11-14",
        "note": "Says \"person\" where it said \"buyer\"."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "Moved from dwrtz/push-notifications."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "shots/push-desk-ledger.png": "files/shots/push-desk-ledger.png",
      "shots/push-desk-mobile.png": "files/shots/push-desk-mobile.png",
      "shots/push-desk-quiet-hours.png": "files/shots/push-desk-quiet-hours.png",
      "shots/push-desk-sign-in.png": "files/shots/push-desk-sign-in.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "rook",
  "uploaded": {
    "shots/push-desk-ledger.png": {
      "bytes": 135414,
      "type": "image/png"
    },
    "shots/push-desk-mobile.png": {
      "bytes": 202869,
      "type": "image/png"
    },
    "shots/push-desk-quiet-hours.png": {
      "bytes": 55827,
      "type": "image/png"
    },
    "shots/push-desk-sign-in.png": {
      "bytes": 32423,
      "type": "image/png"
    }
  }
}
