From 7f72c293f1de6972e599460ed704f2df96ec5efc Mon Sep 17 00:00:00 2001 From: webbjordy Date: Wed, 22 Apr 2026 17:23:07 -0700 Subject: [PATCH 1/2] docs(KNO-12856): point React Native SDK docs at the example app Adds a callout to the React Native Quickstart and a link from the SDK overview's Links section pointing at the new in-tree example at knocklabs/javascript/examples/react-native-example. Co-Authored-By: Claude Opus 4.7 (1M context) --- content/in-app-ui/react-native/overview.mdx | 1 + .../react-native/sdk/quick-start.mdx | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/content/in-app-ui/react-native/overview.mdx b/content/in-app-ui/react-native/overview.mdx index de4b0c83c..b35dfbaa9 100644 --- a/content/in-app-ui/react-native/overview.mdx +++ b/content/in-app-ui/react-native/overview.mdx @@ -38,6 +38,7 @@ npm install @knocklabs/expo ## Links - [React Native SDK reference](/in-app-ui/react-native/sdk/reference) +- [React Native example app](https://github.com/knocklabs/javascript/tree/main/examples/react-native-example) - [Expo SDK reference](/in-app-ui/expo/sdk/reference) - [JavaScript SDK reference](/in-app-ui/javascript/sdk/reference) - [`@knocklabs/react-native` on npm](https://www.npmjs.com/package/@knocklabs/react-native) diff --git a/content/in-app-ui/react-native/sdk/quick-start.mdx b/content/in-app-ui/react-native/sdk/quick-start.mdx index 6514ba68c..f03508236 100644 --- a/content/in-app-ui/react-native/sdk/quick-start.mdx +++ b/content/in-app-ui/react-native/sdk/quick-start.mdx @@ -10,6 +10,27 @@ To get started, you will need the following: - A public API key for the Knock environment (which you'll use in the `publishableKey`) - An in-app feed channel with a workflow that produces in-app feed messages (optional) + + The{" "} + + React Native example app + {" "} + in the knocklabs/javascript monorepo demonstrates the SDK + end-to-end: identifying a user, rendering the in-app feed with the + prebuilt NotificationFeed component, reading and writing + preferences, and switching tenants. Clone the repo, fill in{" "} + src/config.ts, and run yarn ios. + + } +/> + ## Installation - Via NPM: `npm install @knocklabs/react-native` From 36ca1c588d227f01e47f10653db0c414ab902127 Mon Sep 17 00:00:00 2001 From: webbjordy Date: Wed, 22 Apr 2026 17:28:39 -0700 Subject: [PATCH 2/2] docs(KNO-12856): add rel=noopener to example app callout link Per the Knock writing style guide, external links should use rel="noopener" alongside target="_blank". Co-Authored-By: Claude Opus 4.7 (1M context) --- content/in-app-ui/react-native/sdk/quick-start.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/content/in-app-ui/react-native/sdk/quick-start.mdx b/content/in-app-ui/react-native/sdk/quick-start.mdx index f03508236..b4eb8d545 100644 --- a/content/in-app-ui/react-native/sdk/quick-start.mdx +++ b/content/in-app-ui/react-native/sdk/quick-start.mdx @@ -19,6 +19,7 @@ To get started, you will need the following: React Native example app {" "}