Browse Source

sdk(react-native-sdk): update readme with jwt token example (#13587)

* sdk(react-native-sdk): update readme with jwt token example
factor2
Calinteodor 2 years ago
parent
commit
3927f3423f
No account linked to committer's email address
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      react-native-sdk/README.md

+ 10
- 0
react-native-sdk/README.md View File

@@ -71,3 +71,13 @@ If you want to test all the steps before applying them to your app, you can chec
71 71
 ```
72 72
 https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/react-native
73 73
 ```
74
+
75
+### Using JWT tokens
76
+- If you are planning to use tokens you can update your domain and room name inside meeting options.
77
+- For example:
78
+```
79
+  const meetingOptions = {
80
+     domain: 'YOUR_DOMAIN',
81
+     roomName: 'ROOM_NAME?jwt=JWT_TOKEN'
82
+  }
83
+```

Loading…
Cancel
Save