You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+12-13Lines changed: 12 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ Use the `passage-flex-react-native` SDK to implement Passkey Flex in your React
6
6
7
7
For full documentation, including setting up a backend SDK, visit the [Passkey Flex documentation here](https://docs-v2.passage.id/flex).
8
8
9
+
9
10
## Prerequisites
10
11
11
12
### A Passkey Flex app
@@ -32,20 +33,20 @@ Install this package using npm:
32
33
npm i --save @passageidentity/passage-flex-react-native
33
34
```
34
35
36
+
35
37
## App configuration
36
38
37
39
### Expo
38
40
39
-
- Add plugin in app.json
41
+
- Add plugin in app.json:
40
42
41
43
```json
42
44
"plugins": [
43
-
"@passageidentity/passage-flex-react-native",
44
-
// ...
45
+
"@passageidentity/passage-flex-react-native"
45
46
]
46
47
```
47
48
48
-
- Add `ASSOCIATED_DOMAIN` value to `.env` (in your app root)
49
+
- Add `ASSOCIATED_DOMAIN` value to your app's `.env` file:
49
50
50
51
```
51
52
ASSOCIATED_DOMAIN=example.com
@@ -57,6 +58,7 @@ npm i --save @passageidentity/passage-flex-react-native
57
58
58
59
See our [Passkey Complete documentation](https://docs.passage.id/mobile/cross-platform/cross-platform-passkey-configuration) for setting up a React Native app for passkeys and Passage.
59
60
61
+
60
62
## Usage
61
63
62
64
Import PassageFlex:
@@ -79,9 +81,9 @@ Example:
79
81
80
82
```tsx
81
83
const onPressRegister =async () => {
82
-
// 1. Get transaction id string from your backend.
0 commit comments