Add iOS/Android push notification integration guides#62
Closed
Conversation
Two implementation guides for the paid iOS/Android substrate clients (issue #58 PRs #3, #4) — what API contract to fulfill, capability / project setup, permission UX, token lifecycle (receive → POST → refresh → DELETE on sign-out), foreground vs background handling, testing tips. Each guide opens with a scope summary clarifying which concerns live in this Rails repo (notifier, AASM trigger, credentials) vs the client repo (token lifecycle, channels, permission UX). Free clients intentionally do not get push registration code — paid-edition gate is at the client layer. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Moved to docs-private/ — these docs are paid-edition-only client integration guides and shouldn't ship in the open-source repo's docs/ tree. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two implementation guides for paid iOS/Android substrate clients (issue #58 PRs #3, #4):
docs/push-ios-integration.md— APNs registration inAppDelegate, permission UX, token lifecycle, foreground/background handlers, sign-out cleanupdocs/push-android-integration.md— Firebase setup,FirebaseMessagingService,POST_NOTIFICATIONSpermission for API 33+, notification channels, token sync, sign-out cleanupScope split clarified in each doc
.p8/ FCM service account)ItemTagNotifierpayload + AASM triggerPOST /api/v1/shopkeeper/devicesAPI contractdocs/openapi.yaml)Each guide includes:
platform: "apple"/"google"(matches Action Push Native conventions, notios/android)Both guides follow the substrate rename-safety contract — no article-coupled domain words, so the agent's text-only rename pipeline won't produce article disagreements.
Test plan
docs/openapi.yamlandapp/models/item_tag.rbresolve🤖 Generated with Claude Code