Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content/in-app-ui/react-native/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
22 changes: 22 additions & 0 deletions content/in-app-ui/react-native/sdk/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,28 @@ 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)

<Callout
type="info"
title="Try the example app"
text={
<>
The{" "}
<a
href="https://github.com/knocklabs/javascript/tree/main/examples/react-native-example"
target="_blank"
rel="noopener"
>
React Native example app
</a>{" "}
in the <code>knocklabs/javascript</code> monorepo demonstrates the SDK
end-to-end: identifying a user, rendering the in-app feed with the
prebuilt <code>NotificationFeed</code> component, reading and writing
preferences, and switching tenants. Clone the repo, fill in{" "}
<code>src/config.ts</code>, and run <code>yarn ios</code>.
</>
}
/>

## Installation

- Via NPM: `npm install @knocklabs/react-native`
Expand Down
Loading