Skip to content

Commit 6cf9d1c

Browse files
committed
Fix the references in the mobile SDK
(cherry picked from commit c43c80f)
1 parent df807e8 commit 6cf9d1c

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

fern/docs/pages/sdks/mobile/android/features.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The verified identification method is used to identify users with an identifier
8080
The steps to identify a verified user are as follows:
8181
1. Generate an AAT for your system (preferably through your backend).
8282
2. Exchange your AAT for a session token for each user of your system.
83-
3. Pass the user identifier and the exchanged session token to the `DevRev.identifyVerifiedUser(_:sessionToken:)` method.
83+
3. Pass the user identifier and the exchanged session token to the `DevRev.identifyVerifiedUser(userId: String, sessionToken: String)` method.
8484

8585
<Callout intent="warning">
8686
For security reasons, it is **strongly recommended** that the token exchange is executed on your backend to prevent exposing your application access token (AAT).
@@ -148,18 +148,18 @@ To update a user's information, use the following method:
148148

149149
<Tabs>
150150
<Tab title="Kotlin">
151-
```kotlin
152-
DevRev.updateUser(
153-
identity: Identity
154-
)
155-
```
151+
```kotlin
152+
DevRev.updateUser(
153+
identity: Identity
154+
)
155+
```
156156
</Tab>
157157
<Tab title="Java">
158158
```java
159-
DevRev.INSTANCE.updateUser(
160-
Identity identity
161-
);
162-
```
159+
DevRev.INSTANCE.updateUser(
160+
Identity identity
161+
);
162+
```
163163
</Tab>
164164
</Tabs>
165165

@@ -190,7 +190,7 @@ The user is logged out by clearing their credentials, as well as unregistering t
190190

191191
### Identity model
192192

193-
The `Identity` class is used to provide user, organization, and account information when identifying users or updating their details. This class is used primarily with the `identifyUnverifiedUser(_:)` and `updateUser(_:)` methods.
193+
The `Identity` class is used to provide user, organization, and account information when identifying users or updating their details. This class is used primarily with the `identifyUnverifiedUser(identity: Identity)` and `updateUser(identity: Identity)` methods.
194194

195195
#### Properties
196196

fern/docs/pages/sdks/mobile/android/quickstart.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
- Android Gradle Plugin 8.2 or later.
77
- Gradle 8.9 or later.
88
- The minimum Android API level should be 24.
9-
- Recommended: An SSH key configured locally and registered with [GitHub](https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh).
109

1110
## Integration
1211

fern/docs/pages/sdks/mobile/flutter/features.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
To access certain features of the DevRev SDK, user identification is required.
66

7-
The identification function should be placed appropriately in your app after the user logs in. If you have the user information available at app launch, call the function after the `DevRev.configure(appID:)` method.
7+
The identification function should be placed appropriately in your app after the user logs in. If you have the user information available at app launch, call the function after the `DevRev.configure(appID)` method.
88

99
<Callout intent="tip">
1010
On iOS, if you haven't previously identified the user, the DevRev SDK will automatically create an anonymous user for you immediately after the SDK is configured.

fern/docs/pages/sdks/mobile/react-native/features.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
To access certain features of the DevRev SDK, user identification is required.
66

7-
The identification function should be placed appropriately in your app after the user logs in. If you have the user information available at app launch, call the function after the `DevRev.configure(appID:)` method.
7+
The identification function should be placed appropriately in your app after the user logs in. If you have the user information available at app launch, call the function after the `DevRev.configure(appID: string)` method.
88

99
<Callout intent="tip">
1010
On iOS, if you haven't previously identified the user, the DevRev SDK will automatically create an anonymous user for you immediately after the SDK is configured.
@@ -39,7 +39,7 @@ The verified identification method is used to identify users with an identifier
3939
The steps to identify a verified user are as follows:
4040
1. Generate an AAT for your system (preferably through your backend).
4141
2. Exchange your AAT for a session token for each user of your system.
42-
3. Pass the user identifier and the exchanged session token to the `DevRev.identifyVerifiedUser(_:sessionToken:)` method.
42+
3. Pass the user identifier and the exchanged session token to the `DevRev.identifyVerifiedUser(userID: string, sessionToken: string)` method.
4343

4444
<Callout intent="warning">
4545
For security reasons, it is **strongly recommended** that the token exchange is executed on your backend to prevent exposing your application access token (AAT).

0 commit comments

Comments
 (0)