-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<p align="center"> | ||
<a href="https://logto.io" target="_blank" align="center" alt="Logto Logo"> | ||
<img src="./logo.png" height="120"> | ||
</a> | ||
</p> | ||
|
||
# Logto React Native | ||
|
||
[![Discord](https://img.shields.io/discord/965845662535147551?logo=discord&logoColor=ffffff&color=7389D8&cacheSeconds=600)](https://discord.gg/UEPaF3j5e6) | ||
[![Build Status](https://github.com/logto-io/react-native/actions/workflows/main.yml/badge.svg)](https://github.com/logto-io/react-native/actions/workflows/main.yml) | ||
|
||
The monorepo for Logto React Native (Expo) SDK and sample. | ||
|
||
- [@logto/rn](./packages/rn) - Logto React Native SDK | ||
- [@logto/rn-sample](./packages/rn-sample) - Sample app using Logto React Native SDK | ||
|
||
## Resources | ||
|
||
- [📖 Logto docs](https://docs.logto.io/?utm_source=github&utm_medium=repo_logto) | ||
- [✍️ Blog](https://blog.logto.io/?utm_source=github&utm_medium=repo_logto) |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Logto React Native (Expo) sample | ||
|
||
This is the sample app using [Logto React Native SDK](../rn/) with [Expo](https://expo.dev/) managed workflow. | ||
|
||
## Get started | ||
|
||
Replace the following parameters in `App.tsx` with your Logto project's values: | ||
|
||
```ts | ||
const redirectUri = 'io.logto://callback'; | ||
const endpoint = 'https://<your-logto-endpoint>'; | ||
const appId = '<your-app-id>'; | ||
``` | ||
|
||
Then run the app for development. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Logto React Native SDK | ||
|
||
The Logto JavaScript Core SDK written in TypeScript. Check out our [docs](https://docs.logto.io/sdk/react-native/) for more information. | ||
|
||
## Installation | ||
|
||
### Using npm | ||
|
||
```bash | ||
npm install @logto/rn | ||
``` | ||
|
||
### Using yarn | ||
|
||
```bash | ||
yarn add @logto/rn | ||
``` | ||
|
||
### Using pnpm | ||
|
||
```bash | ||
pnpm add @logto/rn | ||
``` | ||
|
||
## Resources | ||
|
||
[![Website](https://img.shields.io/badge/website-logto.io-8262F8.svg)](https://logto.io/) | ||
[![Docs](https://img.shields.io/badge/docs-logto.io-green.svg)](https://docs.logto.io/) | ||
[![Discord](https://img.shields.io/discord/965845662535147551?logo=discord&logoColor=ffffff&color=7389D8&cacheSeconds=600)](https://discord.gg/UEPaF3j5e6) |