[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F2JA5TSPP8F5YEN9M4KGR0":3,"skill-same:01M7F2JA5TSPP8F5YEN9M4KGR0":383},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7F2JA5TSPP8F5YEN9M4KGR0","push-notifications",null,"Builds remote push on expo-notifications: in-context permission, token sync, server contract, channels, tap routing. Use when adding push, push tokens, FCM\u002FAPNs setup or notification taps. Not for local reminders (local-notifications).","zakariaf\u002FReactNative-Skills","zakariaf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2259803?v=4","01M7DEF0YMPS6Y6RQ4WGA0JH9R","Zakaria Fatahi","01M7F1VKYEK96M7SYJE1EPGD0A",13,"MIT","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: push-notifications\ndescription: \"Builds remote push on expo-notifications: in-context permission, token sync, server contract, channels, tap routing. Use when adding push, push tokens, FCM\u002FAPNs setup or notification taps. Not for local reminders (local-notifications).\"\n---\n\n# Push notifications\n\nMakes remote push correct on iOS and Android: the permission is asked only when the person sees why,\nthe server always holds this device's current token (and drops it at sign-out), Android channels and\ndata kinds match a written contract with the server, a tap opens exactly the screen it is about and\nnothing a payload names, and one foreground policy decides what shows while the app is open. A\nzero-dependency checker proves the structure; Jest tests over a fake port prove the behaviour.\n\n## Rules that must hold\n\n1. **Ask in context, never at launch; channels first.** The prompt comes from a person's action\n   that the notification extends (`optInToPush` from an `onPress`, after the explanation), never from\n   the root layout, the composition root or an effect. Android channels exist before the prompt;\n   `blocked` offers the system settings. Why: iOS shows its prompt once in an install's life, Android\n   issues no token before a channel exists (and an app targeting 12L or lower gets its prompt only\n   after the first channel), and a launch prompt is refused more often than any other.\n   (`permission-in-context`, `channel-setup`)\n2. **One adapter owns expo-notifications' push APIs.** Token, permission, handler and response calls\n   live only in `expo-notifications-push-adapter.ts` behind `PushPort`; everything else, tests\n   included, uses the port or `createFakePush()`. Why: the SDK's quirks (deprecated `*Async`, the iOS\n   `body` key, provisional status, error codes) stay in one tested file, and no test loads native code.\n   (`push-adapter-only`)\n3. **The token carries an explicit EAS project id and follows every change.** `getExpoPushTokenAsync`\n   gets `{ projectId }` from `readEasProjectId()` and the app config sets `extra.eas.projectId`;\n   `addPushTokenListener` re-registers each rotation with the token it replaces. Why: without the id a\n   non-EAS build gets no token, and a rotated token the server never learned is a silent dead end.\n   (`expo-project-id`, `token-rotation`)\n4. **One registration, serialized, idempotent, triggered, remembered.** `createPushRegistration`\n   syncs at launch, on every return to the foreground (after the channel sync), on rotation and on\n   account change, one sync at a time, through a `PushRegistrar` over the signed-in ApiClient, never\n   the plain `services.api` while registrations need an account (`PUT \u002Fpush\u002Fregistrations\u002F{token}`;\n   the server takes the account from the credentials only). The last\n   accepted registration is saved (`PushRecordPort`, kv-store), so the first sync after notifications\n   were switched off in Settings unregisters it, in the same process or a new one; a failure waits for\n   the next trigger (no retry timer); the server drops what is never seen again (`not-seen-270-days`).\n   Why: two concurrent registrations arrive in any order; an unsigned call is answered 401 and the\n   device never registers; Android ends the process when the permission is revoked; and iOS silently\n   drops pushes to a device that turned them off while the server counts them as sent.\n   (`push-wiring`, registration tests)\n5. **`contracts\u002Fpush.json` is the agreement with the server.** It names the provider, whether\n   registrations need an account, every data kind and every channel; `PUSH_KINDS` and `PUSH_CHANNELS`\n   equal it. Why: the server and the app ship separately; a kind or channel only one side knows is a\n   notification that never shows or never opens. (`push-contract`, `push-token`, `kinds-contract`,\n   `channel-contract`)\n6. **The payload is untrusted input.** `parsePushData` (valibot) reads `{ kind, \u003Cid> }` with opaque\n   ids; every value a string, the whole message at most 4096 bytes, no secret or personal content.\n   Why: anyone holding a token can send any JSON, a direct FCM message turns values into strings, and\n   the text passes through Apple, Google and Expo onto a locked screen. (`payload-parse`, `kinds-contract`)\n7. **A tap opens a destination from the table, never a route or URL from the payload.**\n   `destinationFor` maps a parsed kind to a `PushDestination`; the app maps it to a typed href. Why: a\n   forged or stale push could otherwise open debug routes, guarded screens or any website.\n   (`payload-navigation`)\n8. **Taps are handled at cold start and while running, once each, below the navigator.** The launch\n   tap is read once and cleared, the listener handles the rest, each notification id once; only\n   taps whose data parses as a push message are handled or cleared (a reminder's launch tap stays for\n   local-notifications); `usePushTaps` runs in the push root kit's effects, beside the root Stack. Why: at a cold start the same tap arrives twice,\n   and Expo Router refuses to navigate before the root layout mounts. (`tap-handling`, `push-wiring`)\n9. **Exactly one foreground handler decides for remote and local notifications.** The adapter installs\n   it from `foregroundPresentation`, answering at once with `shouldShowBanner`\u002F`shouldShowList` (never\n   the deprecated `shouldShowAlert`). Why: with no handler (or one slower than 3 s) a foreground\n   notification is not shown, and a second `setNotificationHandler` silently replaces the first.\n   (`foreground-handler`, `deprecated-api`)\n10. **Android channels are stable, translated and contracted.** Each id means one behaviour forever\n    (importance is fixed once created), names come from the catalogs, the plugin's `defaultChannel`\n    equals the contract's. Why: a push naming a channel the device lacks is dropped, and a reused id\n    keeps its old importance on every installed phone. (`channel-contract`, `plugin-config`)\n11. **Native config per variant; credentials by a person, never in the repo.** The plugin sets `mode`\n    (the APNs environment each variant states: `development` for the dev client, `production` for\n    builds that ship), `icon` and `defaultChannel`; `android.googleServicesFile` lists every variant's\n    package; the APNs key and the FCM V1 service account key go to EAS through `eas credentials`.\n    Why: distribution export signs with the profile's production entitlement (Expo's docs), so a\n    store build gets pushes only when its bundle id has the Push capability and an APNs key in EAS;\n    Android issues no token without FCM; a committed key lets anyone push as the app.\n    (`plugin-config`, `fcm-config`, `push-credentials`)\n12. **Sign-out removes the registration while the session is still valid.** `pushRegistrationStep`\n    is a server sign-out step named `push-registration` in `contracts\u002Fauth.json`; its `DELETE` carries\n    the step's own access token and removes the saved token first (the one the server holds), then a\n    newer one; the server also drops registrations of revoked or expired sessions and on\n    `DeviceNotRegistered`, and deletes only the caller's own registrations. Why: otherwise the next\n    person on the phone receives this person's notifications. (`sign-out-unregister`)\n13. **The app never sends pushes.** No Expo, FCM or APNs send endpoint, no `expo-server-sdk`, no push\n    access token in `EXPO_PUBLIC_*`. Why: sending needs a credential, and anything in the app is\n    public. (`client-send`, `push-credentials`)\n\n## Workflow\n\n1. Read `references\u002Farchitecture-and-contract.md` (the pieces, the registration, the contract, the\n   payload, taps, the foreground policy). Stop and ask the developer: the provider (`expo` unless the\n   server already talks to APNs and FCM), whether registrations need an account, the data kinds and\n   what each opens, and the channels a person may want to mute separately.\n2. Install and configure (`references\u002Fsetup-and-credentials.md` sections 1-3):\n   `npx expo install expo-notifications expo-constants`, then the plugin, `googleServicesFile` and\n   `extra.eas.projectId` in `app.config.ts` (`examples\u002Fapp.config.ts`). The credential steps\n   (section 4) create keys in outside accounts: hand them to the developer; never create, read or\n   commit a key.\n3. Copy every file under `templates\u002F` to the path its first line names (JSON files land at their path\n   under `templates\u002F`), tests included; the catalog keys merge into the app's catalogs, keys kept\n   in sorted order (i18n-strings-and-catalogs' linter fails on unsorted keys).\n4. Make the templates the app's: kinds in `push-message.ts`, destinations in `push-destination.ts`,\n   the policy in `foreground-presentation.ts`, channels in `push-channels.ts` plus their catalog keys\n   in every language, and the same facts in `contracts\u002Fpush.json`; update each test with them.\n5. Wire it as a root kit (`references\u002Farchitecture-and-contract.md` section 10): the adapter, the\n   saved-record adapter and the registration (`examples\u002Fcreate-app-push.ts`; with accounts they exist\n   before the session, which takes `pushRegistrationStep` and attaches itself to the signed-in client,\n   `\"push-registration\"` in `contracts\u002Fauth.json`, `examples\u002Fcreate-app-session.ts`), the registrar over\n   the signed-in client, never the plain `services.api` (`examples\u002Fpush-registrar.ts`,\n   `examples\u002Fsession-api-client.ts`), and `createPushKit({ push, registration, errorLog, account,\n   openSettings, hrefForDestination })` registered in app-startup-and-bootstrap's\n   `src\u002Fservices\u002Fcreate-root-kits.ts` (`examples\u002Fcreate-root-kits.ts`, with the route table\n   `examples\u002Fpush-destination-href.ts`). The kit provides the in-context ask's dependencies\n   (`usePushServices()`) and mounts `usePushSync`, the rotation watch (`registration.start()`) and\n   `usePushTaps` beside the root Stack; the root files stay unchanged. Add `expo-notifications` to the architecture contract's\n   `vendorSdks` (`\"LocalNotificationsPort\u002FPushPort\"` when local-notifications is adopted too). With\n   local-notifications adopted, create its adapter with `installForegroundHandler: false` (this\n   adapter's handler decides for both; never edit the copied local adapter).\n6. Build the in-context ask where the value is visible (`examples\u002Fuse-share-list-model.ts`). The\n   notification permission is the `notifications` kind of permissions-and-system-prompts'\n   `PermissionsPort`: bind `access.notifications` to this port's `permission`\u002F`requestPermission`\n   (architecture-and-contract.md section 2), ask through its `usePermissionGate` from the press, and\n   call `optInToPush` from `onAllowed` (it then only syncs channels and registers). Add a\n   `notifications` entry to `contracts\u002Fpermissions.json` (no `purposeKey`; explain and settings copy\n   keys in every catalog; `askedFrom` = that model, with a sibling test naming blocked and declined),\n   or check-permissions fails. Without that skill, `optInToPush` asks itself and `blocked` offers\n   `Linking.openSettings()`.\n7. Hand the store facts to privacy-and-store-declarations (`references\u002Fsetup-and-credentials.md`\n   section 6) and the server facts (`contracts\u002Fpush.json`, `examples\u002Fserver\u002Fsend-task-assigned.ts`) to\n   the backend developer.\n8. Test the copied registrar and session client too (testing-push.md section 1, \"The registrar\":\n   401 → rejected, 404 on DELETE → done, retryable → unavailable, the sign-out DELETE's bearer, the\n   unattached client → unauthorized). Run `npx jest --ci src\u002Fcore\u002Fpush src\u002Fservices\u002Fpush src\u002Fhooks`, then\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-push.mjs .`; fix and rerun until `RESULT: PASS`. Look up a\n   rule in `references\u002Fchecker-rules.md`, a symptom in `references\u002Fplatform-behaviour.md` section 8.\n9. Prove the native path on a named simulator (`xcrun simctl push \u003Cudid> ...` with\n   `examples\u002Ftask-assigned.apns`) and an emulator, then hand the device checklist\n   (`references\u002Ftesting-push.md` section 5) to a person for one iPhone and one Android phone.\n\n## Definition of done\n\n- [ ] No prompt at launch; the ask comes from an action, channels first, `blocked` offers Settings.\n- [ ] Only the push adapter calls expo-notifications' push APIs; tests use `createFakePush()`.\n- [ ] Explicit `projectId`; `extra.eas.projectId` set; rotations re-register with `previousToken`.\n- [ ] One registration service, synced at launch, foreground, rotation and account change; its record saved.\n- [ ] `contracts\u002Fpush.json` filled in and handed to the server; kinds and channels equal the code.\n- [ ] Payloads parsed with valibot; taps open only `destinationFor` destinations via typed hrefs.\n- [ ] Launch tap read once and cleared (push taps only); listener deduped; `usePushTaps` below the navigator.\n- [ ] One `setNotificationHandler`, from `foregroundPresentation`; no deprecated API.\n- [ ] Plugin with `mode` per variant, `icon`, `defaultChannel`; `googleServicesFile` with every variant.\n- [ ] Credentials uploaded to EAS by a person; no key or access token anywhere in the repo.\n- [ ] `push-registration` in `serverSignOutSteps` when registrations need an account.\n- [ ] The push root kit is registered in `src\u002Fservices\u002Fcreate-root-kits.ts`; no root file imports push code.\n- [ ] The registrar signs every call: `signedInApi` (attached by the session), never `services.api`\n  when registrations need an account; the sign-out `DELETE` carries the step's access token.\n- [ ] `npx jest --ci` passes, including every template test.\n- [ ] Device checklist done on one iPhone and one Android phone before release.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-push.mjs .` prints `RESULT: PASS` (the only allowed\n  SKIP is `SKIP contracts\u002Fauth.json [sign-out-unregister] not yet created (auth-and-secure-storage\n  creates it)`; `NOT APPLICABLE` only while expo-notifications is absent or nothing requests a token).\n\n## Anti-patterns\n\n- **`requestPermissionsAsync()` in the root layout \"so it is done\".** Asked before any value is\n  shown, refused, and on iOS never asked again. Ask from the action the notification extends.\n- **`router.push(response.notification.request.content.data.url)`** (Expo's own sample shape). Any\n  sender can open any route or site. Parse, map to a destination, map that to a typed href.\n- **Registering only after the prompt.** Tokens rotate and people flip Settings; sync on launch,\n  foreground, rotation and account change.\n- **A `setNotificationHandler` per feature.** The last one wins for every notification; one policy.\n- **`useLastNotificationResponse()` in a screen.** It is `undefined`, then `null`, then the response:\n  late, twice, and only on that screen. One router hook below the navigator.\n- **Custom keys at the top of a hand-made APNs payload.** iOS hands `content.data` from `\"body\"`\n  only; the tap finds no data.\n- **Reusing a channel id with new importance.** Installed phones keep the old one; new id instead.\n- **Unregistering after the token wipe at sign-out.** It goes out unauthenticated and fails\n  silently; make it a server sign-out step.\n- **Data-only pushes as a sync mechanism.** iOS throttles and drops them; refresh on foreground.\n- **Sending a push from the app or putting the Expo access token in `EXPO_PUBLIC_*`.** Public the\n  moment the app ships.\n- **Testing push in Expo Go on Android.** Removed in SDK 53; use a development build.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| `references\u002Farchitecture-and-contract.md` | The pieces, port, provider choice, registration, contract keys and server duties, payload layout per platform, taps, foreground policy, sign-out, tests, multi-package | Steps 1, 4, 5 |\n| `references\u002Fplatform-behaviour.md` | Permission, tokens, channels, delivery by app state, taps, badges and icons, Expo Go and simulators; pitfalls with fixes | Building; a push misbehaves |\n| `references\u002Fsetup-and-credentials.md` | Packages, plugin options, variants, credential steps a person does, contracts, store facts | Steps 2, 7 |\n| `references\u002Ftesting-push.md` | Jest recipes, simulator and emulator pushes, a real push in development, the device checklist, Maestro | Steps 8, 9 |\n| `references\u002Fchecker-rules.md` | Each check-push rule, when it applies, contract and config keys | Reading a check-push result |\n| `templates\u002Fsrc\u002Fcore\u002Fpush\u002F` | `push-message.ts` (kinds, schema, `parsePushData`), `push-destination.ts`, `foreground-presentation.ts`, `registration-plan.ts`, `push-registration.ts` (registration and registrar types), tests | Steps 3, 4 |\n| `templates\u002Fsrc\u002Fservices\u002Fpush\u002F` | `PushPort`, the expo-notifications adapter (+ iOS and Android tests), the fake, channels, registration service and sign-out step, the saved record (`PushRecordPort`, kv-store adapter, fake), opt-in, tap router, project id reader, the root kit `push-root-kit.tsx` and `push-context.tsx` (`usePushServices`), tests | Steps 3-5 |\n| `templates\u002Fsrc\u002Fhooks\u002F` | `use-push-sync.ts`, `use-push-taps.ts` (+ tests); `use-is-app-active.ts` (+ test, synced, react-components-and-hooks owns it) | Steps 3, 5 |\n| `templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002F` | Channel names and descriptions in `en` and `ar` (merged into the app's catalogs) | Step 4 |\n| `templates\u002Fcontracts\u002F` | `push.json` (the app's push facts, shared with the server) and its schema | Steps 3, 4 |\n| `templates\u002Fsrc\u002Fcore\u002Fresult.ts` | Canonical Result type the templates import (synced; never edit here) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fcore\u002Fresult.test.ts` | Its test (synced) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fservices\u002Fclock\u002Fclock-port.ts` | Canonical clock port (synced) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ferror-log-port.ts` | Canonical error log port (synced) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ffake-error-log.ts` | Canonical fake error log (synced) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ffake-error-log.test.ts` | Its test (synced) | Only if the app lacks it |\n| `templates\u002Ftest\u002Fflush-microtasks.ts` | Canonical test helper (synced) | Only if the app lacks it |\n| `examples\u002Fcreate-app-push.ts` | The push parts of an app with accounts: the signed-in client, the adapter, the saved record and the registration, created before the session | Step 5 |\n| `examples\u002Fcreate-root-kits.ts` | The root-kit registry with the push kit: the session as the account source, `openSettings`, the route table | Step 5 |\n| `examples\u002Fpush-registrar.ts` | The registrar over the signed-in ApiClient; the sign-out DELETE carries the step's access token (404 as done) | Step 5 |\n| `examples\u002Fsession-api-client.ts` | The signed-in client created before the session and attached by it (breaks the session\u002Fregistration cycle) | Step 5 |\n| `examples\u002Fpush-destination-href.ts` | Destinations to typed routes | Step 5 |\n| `examples\u002Fcreate-app-session.ts` | `pushRegistrationStep` in `serverSignOutSteps`; the session attached to the push parts' `signedInApi` | Step 5 |\n| `examples\u002Fuse-share-list-model.ts` | The in-context ask from a feature model through permissions-and-system-prompts' gate, then `optInToPush` | Step 6 |\n| `examples\u002Fapp.config.ts` | Plugin options, `googleServicesFile`, `extra.eas.projectId` | Step 2 |\n| `examples\u002Fserver\u002Fsend-task-assigned.ts` | The server half: language, string data, channel, tickets and receipts | Step 7 |\n| `examples\u002Ftask-assigned.apns` | A simulator payload (`xcrun simctl push`), data under `body` | Step 9 |\n| `scripts\u002Fcheck-push.mjs` | The checker (20 rules) | Step 8 and the definition of done |\n| `scripts\u002Flib\u002Fpush-rules.mjs` | The checker's rules | Changing the checker |\n| `scripts\u002Flib\u002Fpush-source.mjs` | Source loading, import and call helpers for the rules | Changing the checker |\n| `scripts\u002Fcheck-lib.mjs` | Shared checker library (synced; never edit here) | Never by hand |\n| `scripts\u002Flib\u002Fsource-scan.mjs` | Shared source scanner (synced; never edit here) | Never by hand |\n| `scripts\u002Fselftest.mjs` | Proves the checker on planted bugs | After changing the checker |\n| `tests\u002Fbases\u002Fapp\u002F` | The fixture base app, with planted findings in installed skills that must stay silent | The self-test reads it |\n| `tests\u002Ffixtures\u002Fcheck-push\u002F` | One overlay case per rule (good, bad-*, pass-*, error-*) on the base, templates and examples | The self-test reads them |\n| `assets\u002Fshared.json` | Which shared files are synced into this skill | Maintenance |\n\n## Related skills\n\n- `local-notifications` - reminders scheduled on the device; they share the one foreground handler.\n- `permissions-and-system-prompts` - the explanation before the prompt, denied versus blocked.\n- `deep-links-and-universal-links` - links from outside; push taps reuse destinations, not URLs.\n- `auth-and-secure-storage` - the server sign-out step that removes the registration.\n- `networking-and-server-state` - the ApiClient the registrar uses.\n- `architecture-and-boundaries` - ports, adapters, the composition root, `vendorSdks`.\n- `app-variants-and-environment` - per-variant ids, `mode` and Firebase apps.\n- `expo-prebuild-and-config-plugins` - the plugin and the native snapshot.\n- `privacy-and-store-declarations` - the push token in App Privacy and Data safety.\n- `i18n-strings-and-catalogs` - channel names in every language.\n- `background-tasks` - data-only pushes and headless tasks.\n- `unit-and-component-tests` - fakes, render helpers and mocks.\n- `e2e-maestro` - flows for the opt-in and the screens a tap opens.\n- `eas-build-and-submit` - the builds and credentials push needs.\n","# Push notifications\n\nMakes remote push correct on iOS and Android: the permission is asked only when the person sees why,\nthe server always holds this device's current token (and drops it at sign-out), Android channels and\ndata kinds match a written contract with the server, a tap opens exactly the screen it is about and\nnothing a payload names, and one foreground policy decides what shows while the app is open. A\nzero-dependency checker proves the structure; Jest tests over a fake port prove the behaviour.\n\n## Rules that must hold\n\n1. **Ask in context, never at launch; channels first.** The prompt comes from a person's action\n   that the notification extends (`optInToPush` from an `onPress`, after the explanation), never from\n   the root layout, the composition root or an effect. Android channels exist before the prompt;\n   `blocked` offers the system settings. Why: iOS shows its prompt once in an install's life, Android\n   issues no token before a channel exists (and an app targeting 12L or lower gets its prompt only\n   after the first channel), and a launch prompt is refused more often than any other.\n   (`permission-in-context`, `channel-setup`)\n2. **One adapter owns expo-notifications' push APIs.** Token, permission, handler and response calls\n   live only in `expo-notifications-push-adapter.ts` behind `PushPort`; everything else, tests\n   included, uses the port or `createFakePush()`. Why: the SDK's quirks (deprecated `*Async`, the iOS\n   `body` key, provisional status, error codes) stay in one tested file, and no test loads native code.\n   (`push-adapter-only`)\n3. **The token carries an explicit EAS project id and follows every change.** `getExpoPushTokenAsync`\n   gets `{ projectId }` from `readEasProjectId()` and the app config sets `extra.eas.projectId`;\n   `addPushTokenListener` re-registers each rotation with the token it replaces. Why: without the id a\n   non-EAS build gets no token, and a rotated token the server never learned is a silent dead end.\n   (`expo-project-id`, `token-rotation`)\n4. **One registration, serialized, idempotent, triggered, remembered.** `createPushRegistration`\n   syncs at launch, on every return to the foreground (after the channel sync), on rotation and on\n   account change, one sync at a time, through a `PushRegistrar` over the signed-in ApiClient, never\n   the plain `services.api` while registrations need an account (`PUT \u002Fpush\u002Fregistrations\u002F{token}`;\n   the server takes the account from the credentials only). The last\n   accepted registration is saved (`PushRecordPort`, kv-store), so the first sync after notifications\n   were switched off in Settings unregisters it, in the same process or a new one; a failure waits for\n   the next trigger (no retry timer); the server drops what is never seen again (`not-seen-270-days`).\n   Why: two concurrent registrations arrive in any order; an unsigned call is answered 401 and the\n   device never registers; Android ends the process when the permission is revoked; and iOS silently\n   drops pushes to a device that turned them off while the server counts them as sent.\n   (`push-wiring`, registration tests)\n5. **`contracts\u002Fpush.json` is the agreement with the server.** It names the provider, whether\n   registrations need an account, every data kind and every channel; `PUSH_KINDS` and `PUSH_CHANNELS`\n   equal it. Why: the server and the app ship separately; a kind or channel only one side knows is a\n   notification that never shows or never opens. (`push-contract`, `push-token`, `kinds-contract`,\n   `channel-contract`)\n6. **The payload is untrusted input.** `parsePushData` (valibot) reads `{ kind, \u003Cid> }` with opaque\n   ids; every value a string, the whole message at most 4096 bytes, no secret or personal content.\n   Why: anyone holding a token can send any JSON, a direct FCM message turns values into strings, and\n   the text passes through Apple, Google and Expo onto a locked screen. (`payload-parse`, `kinds-contract`)\n7. **A tap opens a destination from the table, never a route or URL from the payload.**\n   `destinationFor` maps a parsed kind to a `PushDestination`; the app maps it to a typed href. Why: a\n   forged or stale push could otherwise open debug routes, guarded screens or any website.\n   (`payload-navigation`)\n8. **Taps are handled at cold start and while running, once each, below the navigator.** The launch\n   tap is read once and cleared, the listener handles the rest, each notification id once; only\n   taps whose data parses as a push message are handled or cleared (a reminder's launch tap stays for\n   local-notifications); `usePushTaps` runs in the push root kit's effects, beside the root Stack. Why: at a cold start the same tap arrives twice,\n   and Expo Router refuses to navigate before the root layout mounts. (`tap-handling`, `push-wiring`)\n9. **Exactly one foreground handler decides for remote and local notifications.** The adapter installs\n   it from `foregroundPresentation`, answering at once with `shouldShowBanner`\u002F`shouldShowList` (never\n   the deprecated `shouldShowAlert`). Why: with no handler (or one slower than 3 s) a foreground\n   notification is not shown, and a second `setNotificationHandler` silently replaces the first.\n   (`foreground-handler`, `deprecated-api`)\n10. **Android channels are stable, translated and contracted.** Each id means one behaviour forever\n    (importance is fixed once created), names come from the catalogs, the plugin's `defaultChannel`\n    equals the contract's. Why: a push naming a channel the device lacks is dropped, and a reused id\n    keeps its old importance on every installed phone. (`channel-contract`, `plugin-config`)\n11. **Native config per variant; credentials by a person, never in the repo.** The plugin sets `mode`\n    (the APNs environment each variant states: `development` for the dev client, `production` for\n    builds that ship), `icon` and `defaultChannel`; `android.googleServicesFile` lists every variant's\n    package; the APNs key and the FCM V1 service account key go to EAS through `eas credentials`.\n    Why: distribution export signs with the profile's production entitlement (Expo's docs), so a\n    store build gets pushes only when its bundle id has the Push capability and an APNs key in EAS;\n    Android issues no token without FCM; a committed key lets anyone push as the app.\n    (`plugin-config`, `fcm-config`, `push-credentials`)\n12. **Sign-out removes the registration while the session is still valid.** `pushRegistrationStep`\n    is a server sign-out step named `push-registration` in `contracts\u002Fauth.json`; its `DELETE` carries\n    the step's own access token and removes the saved token first (the one the server holds), then a\n    newer one; the server also drops registrations of revoked or expired sessions and on\n    `DeviceNotRegistered`, and deletes only the caller's own registrations. Why: otherwise the next\n    person on the phone receives this person's notifications. (`sign-out-unregister`)\n13. **The app never sends pushes.** No Expo, FCM or APNs send endpoint, no `expo-server-sdk`, no push\n    access token in `EXPO_PUBLIC_*`. Why: sending needs a credential, and anything in the app is\n    public. (`client-send`, `push-credentials`)\n\n## Workflow\n\n1. Read `references\u002Farchitecture-and-contract.md` (the pieces, the registration, the contract, the\n   payload, taps, the foreground policy). Stop and ask the developer: the provider (`expo` unless the\n   server already talks to APNs and FCM), whether registrations need an account, the data kinds and\n   what each opens, and the channels a person may want to mute separately.\n2. Install and configure (`references\u002Fsetup-and-credentials.md` sections 1-3):\n   `npx expo install expo-notifications expo-constants`, then the plugin, `googleServicesFile` and\n   `extra.eas.projectId` in `app.config.ts` (`examples\u002Fapp.config.ts`). The credential steps\n   (section 4) create keys in outside accounts: hand them to the developer; never create, read or\n   commit a key.\n3. Copy every file under `templates\u002F` to the path its first line names (JSON files land at their path\n   under `templates\u002F`), tests included; the catalog keys merge into the app's catalogs, keys kept\n   in sorted order (i18n-strings-and-catalogs' linter fails on unsorted keys).\n4. Make the templates the app's: kinds in `push-message.ts`, destinations in `push-destination.ts`,\n   the policy in `foreground-presentation.ts`, channels in `push-channels.ts` plus their catalog keys\n   in every language, and the same facts in `contracts\u002Fpush.json`; update each test with them.\n5. Wire it as a root kit (`references\u002Farchitecture-and-contract.md` section 10): the adapter, the\n   saved-record adapter and the registration (`examples\u002Fcreate-app-push.ts`; with accounts they exist\n   before the session, which takes `pushRegistrationStep` and attaches itself to the signed-in client,\n   `\"push-registration\"` in `contracts\u002Fauth.json`, `examples\u002Fcreate-app-session.ts`), the registrar over\n   the signed-in client, never the plain `services.api` (`examples\u002Fpush-registrar.ts`,\n   `examples\u002Fsession-api-client.ts`), and `createPushKit({ push, registration, errorLog, account,\n   openSettings, hrefForDestination })` registered in app-startup-and-bootstrap's\n   `src\u002Fservices\u002Fcreate-root-kits.ts` (`examples\u002Fcreate-root-kits.ts`, with the route table\n   `examples\u002Fpush-destination-href.ts`). The kit provides the in-context ask's dependencies\n   (`usePushServices()`) and mounts `usePushSync`, the rotation watch (`registration.start()`) and\n   `usePushTaps` beside the root Stack; the root files stay unchanged. Add `expo-notifications` to the architecture contract's\n   `vendorSdks` (`\"LocalNotificationsPort\u002FPushPort\"` when local-notifications is adopted too). With\n   local-notifications adopted, create its adapter with `installForegroundHandler: false` (this\n   adapter's handler decides for both; never edit the copied local adapter).\n6. Build the in-context ask where the value is visible (`examples\u002Fuse-share-list-model.ts`). The\n   notification permission is the `notifications` kind of permissions-and-system-prompts'\n   `PermissionsPort`: bind `access.notifications` to this port's `permission`\u002F`requestPermission`\n   (architecture-and-contract.md section 2), ask through its `usePermissionGate` from the press, and\n   call `optInToPush` from `onAllowed` (it then only syncs channels and registers). Add a\n   `notifications` entry to `contracts\u002Fpermissions.json` (no `purposeKey`; explain and settings copy\n   keys in every catalog; `askedFrom` = that model, with a sibling test naming blocked and declined),\n   or check-permissions fails. Without that skill, `optInToPush` asks itself and `blocked` offers\n   `Linking.openSettings()`.\n7. Hand the store facts to privacy-and-store-declarations (`references\u002Fsetup-and-credentials.md`\n   section 6) and the server facts (`contracts\u002Fpush.json`, `examples\u002Fserver\u002Fsend-task-assigned.ts`) to\n   the backend developer.\n8. Test the copied registrar and session client too (testing-push.md section 1, \"The registrar\":\n   401 → rejected, 404 on DELETE → done, retryable → unavailable, the sign-out DELETE's bearer, the\n   unattached client → unauthorized). Run `npx jest --ci src\u002Fcore\u002Fpush src\u002Fservices\u002Fpush src\u002Fhooks`, then\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-push.mjs .`; fix and rerun until `RESULT: PASS`. Look up a\n   rule in `references\u002Fchecker-rules.md`, a symptom in `references\u002Fplatform-behaviour.md` section 8.\n9. Prove the native path on a named simulator (`xcrun simctl push \u003Cudid> ...` with\n   `examples\u002Ftask-assigned.apns`) and an emulator, then hand the device checklist\n   (`references\u002Ftesting-push.md` section 5) to a person for one iPhone and one Android phone.\n\n## Definition of done\n\n- [ ] No prompt at launch; the ask comes from an action, channels first, `blocked` offers Settings.\n- [ ] Only the push adapter calls expo-notifications' push APIs; tests use `createFakePush()`.\n- [ ] Explicit `projectId`; `extra.eas.projectId` set; rotations re-register with `previousToken`.\n- [ ] One registration service, synced at launch, foreground, rotation and account change; its record saved.\n- [ ] `contracts\u002Fpush.json` filled in and handed to the server; kinds and channels equal the code.\n- [ ] Payloads parsed with valibot; taps open only `destinationFor` destinations via typed hrefs.\n- [ ] Launch tap read once and cleared (push taps only); listener deduped; `usePushTaps` below the navigator.\n- [ ] One `setNotificationHandler`, from `foregroundPresentation`; no deprecated API.\n- [ ] Plugin with `mode` per variant, `icon`, `defaultChannel`; `googleServicesFile` with every variant.\n- [ ] Credentials uploaded to EAS by a person; no key or access token anywhere in the repo.\n- [ ] `push-registration` in `serverSignOutSteps` when registrations need an account.\n- [ ] The push root kit is registered in `src\u002Fservices\u002Fcreate-root-kits.ts`; no root file imports push code.\n- [ ] The registrar signs every call: `signedInApi` (attached by the session), never `services.api`\n  when registrations need an account; the sign-out `DELETE` carries the step's access token.\n- [ ] `npx jest --ci` passes, including every template test.\n- [ ] Device checklist done on one iPhone and one Android phone before release.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-push.mjs .` prints `RESULT: PASS` (the only allowed\n  SKIP is `SKIP contracts\u002Fauth.json [sign-out-unregister] not yet created (auth-and-secure-storage\n  creates it)`; `NOT APPLICABLE` only while expo-notifications is absent or nothing requests a token).\n\n## Anti-patterns\n\n- **`requestPermissionsAsync()` in the root layout \"so it is done\".** Asked before any value is\n  shown, refused, and on iOS never asked again. Ask from the action the notification extends.\n- **`router.push(response.notification.request.content.data.url)`** (Expo's own sample shape). Any\n  sender can open any route or site. Parse, map to a destination, map that to a typed href.\n- **Registering only after the prompt.** Tokens rotate and people flip Settings; sync on launch,\n  foreground, rotation and account change.\n- **A `setNotificationHandler` per feature.** The last one wins for every notification; one policy.\n- **`useLastNotificationResponse()` in a screen.** It is `undefined`, then `null`, then the response:\n  late, twice, and only on that screen. One router hook below the navigator.\n- **Custom keys at the top of a hand-made APNs payload.** iOS hands `content.data` from `\"body\"`\n  only; the tap finds no data.\n- **Reusing a channel id with new importance.** Installed phones keep the old one; new id instead.\n- **Unregistering after the token wipe at sign-out.** It goes out unauthenticated and fails\n  silently; make it a server sign-out step.\n- **Data-only pushes as a sync mechanism.** iOS throttles and drops them; refresh on foreground.\n- **Sending a push from the app or putting the Expo access token in `EXPO_PUBLIC_*`.** Public the\n  moment the app ships.\n- **Testing push in Expo Go on Android.** Removed in SDK 53; use a development build.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| `references\u002Farchitecture-and-contract.md` | The pieces, port, provider choice, registration, contract keys and server duties, payload layout per platform, taps, foreground policy, sign-out, tests, multi-package | Steps 1, 4, 5 |\n| `references\u002Fplatform-behaviour.md` | Permission, tokens, channels, delivery by app state, taps, badges and icons, Expo Go and simulators; pitfalls with fixes | Building; a push misbehaves |\n| `references\u002Fsetup-and-credentials.md` | Packages, plugin options, variants, credential steps a person does, contracts, store facts | Steps 2, 7 |\n| `references\u002Ftesting-push.md` | Jest recipes, simulator and emulator pushes, a real push in development, the device checklist, Maestro | Steps 8, 9 |\n| `references\u002Fchecker-rules.md` | Each check-push rule, when it applies, contract and config keys | Reading a check-push result |\n| `templates\u002Fsrc\u002Fcore\u002Fpush\u002F` | `push-message.ts` (kinds, schema, `parsePushData`), `push-destination.ts`, `foreground-presentation.ts`, `registration-plan.ts`, `push-registration.ts` (registration and registrar types), tests | Steps 3, 4 |\n| `templates\u002Fsrc\u002Fservices\u002Fpush\u002F` | `PushPort`, the expo-notifications adapter (+ iOS and Android tests), the fake, channels, registration service and sign-out step, the saved record (`PushRecordPort`, kv-store adapter, fake), opt-in, tap router, project id reader, the root kit `push-root-kit.tsx` and `push-context.tsx` (`usePushServices`), tests | Steps 3-5 |\n| `templates\u002Fsrc\u002Fhooks\u002F` | `use-push-sync.ts`, `use-push-taps.ts` (+ tests); `use-is-app-active.ts` (+ test, synced, react-components-and-hooks owns it) | Steps 3, 5 |\n| `templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002F` | Channel names and descriptions in `en` and `ar` (merged into the app's catalogs) | Step 4 |\n| `templates\u002Fcontracts\u002F` | `push.json` (the app's push facts, shared with the server) and its schema | Steps 3, 4 |\n| `templates\u002Fsrc\u002Fcore\u002Fresult.ts` | Canonical Result type the templates import (synced; never edit here) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fcore\u002Fresult.test.ts` | Its test (synced) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fservices\u002Fclock\u002Fclock-port.ts` | Canonical clock port (synced) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ferror-log-port.ts` | Canonical error log port (synced) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ffake-error-log.ts` | Canonical fake error log (synced) | Only if the app lacks it |\n| `templates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ffake-error-log.test.ts` | Its test (synced) | Only if the app lacks it |\n| `templates\u002Ftest\u002Fflush-microtasks.ts` | Canonical test helper (synced) | Only if the app lacks it |\n| `examples\u002Fcreate-app-push.ts` | The push parts of an app with accounts: the signed-in client, the adapter, the saved record and the registration, created before the session | Step 5 |\n| `examples\u002Fcreate-root-kits.ts` | The root-kit registry with the push kit: the session as the account source, `openSettings`, the route table | Step 5 |\n| `examples\u002Fpush-registrar.ts` | The registrar over the signed-in ApiClient; the sign-out DELETE carries the step's access token (404 as done) | Step 5 |\n| `examples\u002Fsession-api-client.ts` | The signed-in client created before the session and attached by it (breaks the session\u002Fregistration cycle) | Step 5 |\n| `examples\u002Fpush-destination-href.ts` | Destinations to typed routes | Step 5 |\n| `examples\u002Fcreate-app-session.ts` | `pushRegistrationStep` in `serverSignOutSteps`; the session attached to the push parts' `signedInApi` | Step 5 |\n| `examples\u002Fuse-share-list-model.ts` | The in-context ask from a feature model through permissions-and-system-prompts' gate, then `optInToPush` | Step 6 |\n| `examples\u002Fapp.config.ts` | Plugin options, `googleServicesFile`, `extra.eas.projectId` | Step 2 |\n| `examples\u002Fserver\u002Fsend-task-assigned.ts` | The server half: language, string data, channel, tickets and receipts | Step 7 |\n| `examples\u002Ftask-assigned.apns` | A simulator payload (`xcrun simctl push`), data under `body` | Step 9 |\n| `scripts\u002Fcheck-push.mjs` | The checker (20 rules) | Step 8 and the definition of done |\n| `scripts\u002Flib\u002Fpush-rules.mjs` | The checker's rules | Changing the checker |\n| `scripts\u002Flib\u002Fpush-source.mjs` | Source loading, import and call helpers for the rules | Changing the checker |\n| `scripts\u002Fcheck-lib.mjs` | Shared checker library (synced; never edit here) | Never by hand |\n| `scripts\u002Flib\u002Fsource-scan.mjs` | Shared source scanner (synced; never edit here) | Never by hand |\n| `scripts\u002Fselftest.mjs` | Proves the checker on planted bugs | After changing the checker |\n| `tests\u002Fbases\u002Fapp\u002F` | The fixture base app, with planted findings in installed skills that must stay silent | The self-test reads it |\n| `tests\u002Ffixtures\u002Fcheck-push\u002F` | One overlay case per rule (good, bad-*, pass-*, error-*) on the base, templates and examples | The self-test reads them |\n| `assets\u002Fshared.json` | Which shared files are synced into this skill | Maintenance |\n\n## Related skills\n\n- `local-notifications` - reminders scheduled on the device; they share the one foreground handler.\n- `permissions-and-system-prompts` - the explanation before the prompt, denied versus blocked.\n- `deep-links-and-universal-links` - links from outside; push taps reuse destinations, not URLs.\n- `auth-and-secure-storage` - the server sign-out step that removes the registration.\n- `networking-and-server-state` - the ApiClient the registrar uses.\n- `architecture-and-boundaries` - ports, adapters, the composition root, `vendorSdks`.\n- `app-variants-and-environment` - per-variant ids, `mode` and Firebase apps.\n- `expo-prebuild-and-config-plugins` - the plugin and the native snapshot.\n- `privacy-and-store-declarations` - the push token in App Privacy and Data safety.\n- `i18n-strings-and-catalogs` - channel names in every language.\n- `background-tasks` - data-only pushes and headless tasks.\n- `unit-and-component-tests` - fakes, render helpers and mocks.\n- `e2e-maestro` - flows for the opt-in and the screens a tap opens.\n- `eas-build-and-submit` - the builds and credentials push needs.\n",{"name":5,"description":7},"main","41a0e66d4d09de5b46e6537f59a97c7192473486","skills\u002Fpush-notifications",2,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills","https:\u002F\u002Fzakaria.dev\u002FReactNative-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fzakariaf","https:\u002F\u002Fzakaria.dev","Seniore Software Engineer","2026-10-22 07:05:00",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add zakariaf\u002FReactNative-Skills --skill push-notifications",{"tool":40,"command":41},"bunx","bunx skills add zakariaf\u002FReactNative-Skills --skill push-notifications",{"tool":43,"command":44},"pnpm","pnpm dlx skills add zakariaf\u002FReactNative-Skills --skill push-notifications","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002FSKILL.md",true,[48,54,60,64,68,72,76,80,84,88,94,98,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,379],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"assets\u002Fshared.json","ASSET","资产文件",1206,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fassets\u002Fshared.json",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"examples\u002Fapp.config.ts","SCRIPT","脚本",2568,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Fapp.config.ts",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"examples\u002Fcreate-app-push.ts",3908,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Fcreate-app-push.ts",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"examples\u002Fcreate-app-session.ts",2067,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Fcreate-app-session.ts",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"examples\u002Fcreate-root-kits.ts",2727,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Fcreate-root-kits.ts",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"examples\u002Fpush-destination-href.ts",774,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Fpush-destination-href.ts",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"examples\u002Fpush-registrar.ts",2856,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Fpush-registrar.ts",{"path":81,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":82,"sourceHtmlUrl":83},"examples\u002Fserver\u002Fsend-task-assigned.ts",2097,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Fserver\u002Fsend-task-assigned.ts",{"path":85,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":86,"sourceHtmlUrl":87},"examples\u002Fsession-api-client.ts",1669,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Fsession-api-client.ts",{"path":89,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"examples\u002Ftask-assigned.apns","OTHER","其他",233,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Ftask-assigned.apns",{"path":95,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":96,"sourceHtmlUrl":97},"examples\u002Fuse-share-list-model.ts",3370,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fexamples\u002Fuse-share-list-model.ts",{"path":99,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Farchitecture-and-contract.md","REFERENCE","参考文档",24987,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Freferences\u002Farchitecture-and-contract.md",{"path":105,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fchecker-rules.md",8954,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Freferences\u002Fchecker-rules.md",{"path":109,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fplatform-behaviour.md",11977,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Freferences\u002Fplatform-behaviour.md",{"path":113,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fsetup-and-credentials.md",6898,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Freferences\u002Fsetup-and-credentials.md",{"path":117,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Ftesting-push.md",9670,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Freferences\u002Ftesting-push.md",{"path":121,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":122,"sourceHtmlUrl":123},"scripts\u002Fcheck-lib.mjs",119923,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fscripts\u002Fcheck-lib.mjs",{"path":125,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":126,"sourceHtmlUrl":127},"scripts\u002Fcheck-push.mjs",8300,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fscripts\u002Fcheck-push.mjs",{"path":129,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":130,"sourceHtmlUrl":131},"scripts\u002Flib\u002Fpush-rules.mjs",28375,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fscripts\u002Flib\u002Fpush-rules.mjs",{"path":133,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":134,"sourceHtmlUrl":135},"scripts\u002Flib\u002Fpush-source.mjs",7303,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fscripts\u002Flib\u002Fpush-source.mjs",{"path":137,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":138,"sourceHtmlUrl":139},"scripts\u002Flib\u002Fsource-scan.mjs",35908,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fscripts\u002Flib\u002Fsource-scan.mjs",{"path":141,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":142,"sourceHtmlUrl":143},"scripts\u002Fselftest.mjs",840,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Fscripts\u002Fselftest.mjs",{"path":145,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":146,"sourceHtmlUrl":147},"templates\u002Fcontracts\u002Fpush.json",906,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fcontracts\u002Fpush.json",{"path":149,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":150,"sourceHtmlUrl":151},"templates\u002Fcontracts\u002Fpush.schema.json",2201,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fcontracts\u002Fpush.schema.json",{"path":153,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":154,"sourceHtmlUrl":155},"templates\u002Fsrc\u002Fcore\u002Fpush\u002Fforeground-presentation.test.ts",1166,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fpush\u002Fforeground-presentation.test.ts",{"path":157,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":158,"sourceHtmlUrl":159},"templates\u002Fsrc\u002Fcore\u002Fpush\u002Fforeground-presentation.ts",2019,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fpush\u002Fforeground-presentation.ts",{"path":161,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":162,"sourceHtmlUrl":163},"templates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-destination.test.ts",836,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-destination.test.ts",{"path":165,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":166,"sourceHtmlUrl":167},"templates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-destination.ts",1482,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-destination.ts",{"path":169,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":170,"sourceHtmlUrl":171},"templates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-message.test.ts",2054,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-message.test.ts",{"path":173,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":174,"sourceHtmlUrl":175},"templates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-message.ts",1853,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-message.ts",{"path":177,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":178,"sourceHtmlUrl":179},"templates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-registration.ts",2515,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fpush\u002Fpush-registration.ts",{"path":181,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":182,"sourceHtmlUrl":183},"templates\u002Fsrc\u002Fcore\u002Fpush\u002Fregistration-plan.test.ts",4448,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fpush\u002Fregistration-plan.test.ts",{"path":185,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":186,"sourceHtmlUrl":187},"templates\u002Fsrc\u002Fcore\u002Fpush\u002Fregistration-plan.ts",4440,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fpush\u002Fregistration-plan.ts",{"path":189,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":190,"sourceHtmlUrl":191},"templates\u002Fsrc\u002Fcore\u002Fresult.test.ts",2722,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fresult.test.ts",{"path":193,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":194,"sourceHtmlUrl":195},"templates\u002Fsrc\u002Fcore\u002Fresult.ts",1831,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fcore\u002Fresult.ts",{"path":197,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":198,"sourceHtmlUrl":199},"templates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.test.ts",2830,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.test.ts",{"path":201,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":202,"sourceHtmlUrl":203},"templates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.ts",1501,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.ts",{"path":205,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":206,"sourceHtmlUrl":207},"templates\u002Fsrc\u002Fhooks\u002Fuse-push-sync.test.ts",4231,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-push-sync.test.ts",{"path":209,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":210,"sourceHtmlUrl":211},"templates\u002Fsrc\u002Fhooks\u002Fuse-push-sync.ts",2218,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-push-sync.ts",{"path":213,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":214,"sourceHtmlUrl":215},"templates\u002Fsrc\u002Fhooks\u002Fuse-push-taps.test.ts",1456,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-push-taps.test.ts",{"path":217,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":218,"sourceHtmlUrl":219},"templates\u002Fsrc\u002Fhooks\u002Fuse-push-taps.ts",1169,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-push-taps.ts",{"path":221,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":222,"sourceHtmlUrl":223},"templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002Far.json",322,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002Far.json",{"path":225,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":226,"sourceHtmlUrl":227},"templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002Fen.json",273,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002Fen.json",{"path":229,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":230,"sourceHtmlUrl":231},"templates\u002Fsrc\u002Fservices\u002Fclock\u002Fclock-port.ts",955,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fclock\u002Fclock-port.ts",{"path":233,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":234,"sourceHtmlUrl":235},"templates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ferror-log-port.ts",941,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ferror-log-port.ts",{"path":237,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":238,"sourceHtmlUrl":239},"templates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ffake-error-log.test.ts",796,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ffake-error-log.test.ts",{"path":241,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":242,"sourceHtmlUrl":243},"templates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ffake-error-log.ts",1176,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Ferror-log\u002Ffake-error-log.ts",{"path":245,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":246,"sourceHtmlUrl":247},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fexpo-notifications-push-adapter.android.test.ts",3206,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fexpo-notifications-push-adapter.android.test.ts",{"path":249,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":250,"sourceHtmlUrl":251},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fexpo-notifications-push-adapter.test.ts",10466,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fexpo-notifications-push-adapter.test.ts",{"path":253,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":254,"sourceHtmlUrl":255},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fexpo-notifications-push-adapter.ts",10768,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fexpo-notifications-push-adapter.ts",{"path":257,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":258,"sourceHtmlUrl":259},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Ffake-push-record.test.ts",721,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Ffake-push-record.test.ts",{"path":261,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":262,"sourceHtmlUrl":263},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Ffake-push-record.ts",709,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Ffake-push-record.ts",{"path":265,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":266,"sourceHtmlUrl":267},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Ffake-push.test.ts",2422,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Ffake-push.test.ts",{"path":269,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":270,"sourceHtmlUrl":271},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Ffake-push.ts",4271,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Ffake-push.ts",{"path":273,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":274,"sourceHtmlUrl":275},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fkv-push-record-adapter.test.ts",2136,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fkv-push-record-adapter.test.ts",{"path":277,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":278,"sourceHtmlUrl":279},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fkv-push-record-adapter.ts",1637,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fkv-push-record-adapter.ts",{"path":281,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":282,"sourceHtmlUrl":283},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-channels.test.ts",1287,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-channels.test.ts",{"path":285,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":286,"sourceHtmlUrl":287},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-channels.ts",1773,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-channels.ts",{"path":289,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":290,"sourceHtmlUrl":291},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-context.test.tsx",1225,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-context.test.tsx",{"path":293,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":294,"sourceHtmlUrl":295},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-context.tsx",1848,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-context.tsx",{"path":297,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":298,"sourceHtmlUrl":299},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-opt-in.test.ts",2639,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-opt-in.test.ts",{"path":301,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":302,"sourceHtmlUrl":303},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-opt-in.ts",2342,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-opt-in.ts",{"path":305,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":306,"sourceHtmlUrl":307},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-port.test.ts",456,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-port.test.ts",{"path":309,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":310,"sourceHtmlUrl":311},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-port.ts",5310,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-port.ts",{"path":313,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":314,"sourceHtmlUrl":315},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-record-port.ts",1087,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-record-port.ts",{"path":317,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":318,"sourceHtmlUrl":319},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-registration.test.ts",11426,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-registration.test.ts",{"path":321,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":322,"sourceHtmlUrl":323},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-registration.ts",9388,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-registration.ts",{"path":325,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":326,"sourceHtmlUrl":327},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-root-kit.test.tsx",6123,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-root-kit.test.tsx",{"path":329,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":330,"sourceHtmlUrl":331},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-root-kit.tsx",4136,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-root-kit.tsx",{"path":333,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":334,"sourceHtmlUrl":335},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-tap-router.test.ts",2356,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-tap-router.test.ts",{"path":337,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":338,"sourceHtmlUrl":339},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-tap-router.ts",2124,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fpush-tap-router.ts",{"path":341,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":342,"sourceHtmlUrl":343},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fread-eas-project-id.test.ts",992,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fread-eas-project-id.test.ts",{"path":345,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":346,"sourceHtmlUrl":347},"templates\u002Fsrc\u002Fservices\u002Fpush\u002Fread-eas-project-id.ts",1454,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Fsrc\u002Fservices\u002Fpush\u002Fread-eas-project-id.ts",{"path":349,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":350,"sourceHtmlUrl":351},"templates\u002Ftest\u002Fflush-microtasks.ts",358,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftemplates\u002Ftest\u002Fflush-microtasks.ts",{"path":353,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":354,"sourceHtmlUrl":355},"tests\u002Fbases\u002Fapp\u002Fcontracts\u002Fauth.json",223,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftests\u002Fbases\u002Fapp\u002Fcontracts\u002Fauth.json",{"path":357,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":358,"sourceHtmlUrl":359},"tests\u002Fbases\u002Fapp\u002Fpackage.json",277,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftests\u002Fbases\u002Fapp\u002Fpackage.json",{"path":361,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":362,"sourceHtmlUrl":363},"tests\u002Fbases\u002Fapp\u002Fskills\u002Fplanted\u002Fplanted.ts",471,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftests\u002Fbases\u002Fapp\u002Fskills\u002Fplanted\u002Fplanted.ts",{"path":365,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":366,"sourceHtmlUrl":367},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Fapp\u002F_layout.tsx",171,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Fapp\u002F_layout.tsx",{"path":369,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":370,"sourceHtmlUrl":371},"tests\u002Fbases\u002Fapp\u002Ftsconfig.json",121,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftests\u002Fbases\u002Fapp\u002Ftsconfig.json",{"path":373,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":374,"sourceHtmlUrl":375},"tests\u002Ffixtures\u002Fcheck-push\u002FCASES.json",18075,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftests\u002Ffixtures\u002Fcheck-push\u002FCASES.json",{"path":377,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":14,"sourceHtmlUrl":378},"tests\u002Ffixtures\u002Fcheck-push\u002Fgood\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftests\u002Ffixtures\u002Fcheck-push\u002Fgood\u002FEXPECT.txt",{"path":380,"resourceType":100,"resourceTypeDesc":101,"sizeBytes":381,"sourceHtmlUrl":382},"tests\u002Ffixtures\u002Fcheck-push\u002FSUITE.json",151,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fpush-notifications\u002Ftests\u002Ffixtures\u002Fcheck-push\u002FSUITE.json",[384,391,397,404,411,418],{"skillNo":385,"name":386,"nameZh":6,"description":387,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":388,"categories":389,"keywords":390,"publishedAt":19},"01M7F2S4KZG97D21GEJ2GKKYK1","demo","Planted skill folder (never scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":392,"name":386,"nameZh":6,"description":393,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":394,"categories":395,"keywords":396,"publishedAt":19},"01M7F2S1F4ATZ49909EDKWA9E6","Planted installed skill (its files must never be scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002F.agents\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":398,"name":399,"nameZh":6,"description":400,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":401,"categories":402,"keywords":403,"publishedAt":19},"01M7F2RXGPZJ5Q1FV2HQ1PJ6AX","web-support","Ships the web build of an Expo app: platform files, APIs missing in react-native-web, expo-sqlite headers. Use when adding web, a .web.tsx file or expo export --platform web. Not for responsive layout (adaptive-layout).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002FSKILL.md",[],[],{"skillNo":405,"name":406,"nameZh":6,"description":407,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":408,"categories":409,"keywords":410,"publishedAt":19},"01M7F2RQ43JFA4QFWQEHBET08G","value-objects-money-and-units","Stores money as ISO 4217 minor units, quantities in canonical units, instants as epoch ms. Use when adding a price, currency, tax, split, unit or timestamp, or a total is a cent off. Not for calendar days (dates-streaks-and-statistics).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalue-objects-money-and-units\u002FSKILL.md",[],[],{"skillNo":412,"name":413,"nameZh":6,"description":414,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":415,"categories":416,"keywords":417,"publishedAt":19},"01M7F2RHR7H8VVZDP16FJNJV11","unit-and-component-tests","Sets up Jest, checks unit, component and route tests (RNTL 14, renderWithProviders, SDK mocks, fakes, fast-check, Stryker). Use when writing a test or mock, or Jest fails or flakes. Not for goldens (golden-and-snapshot-tests).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Funit-and-component-tests\u002FSKILL.md",[],[],{"skillNo":419,"name":420,"nameZh":6,"description":421,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":422,"categories":423,"keywords":424,"publishedAt":19},"01M7F2RAEDWQ6H4514HFRWJAE6","ui-states-and-feedback","Builds loading, empty, failed and offline states, delayed skeletons, toasts, banners, confirms, Undo. Use when a screen loads data, shows a spinner, toast, retry or delete prompt. Not for failure values (error-handling-typed-results).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fui-states-and-feedback\u002FSKILL.md",[],[]]