Skip to content

Commit 7cc2fb2

Browse files
committed
Update the Android SDK documentation
1 parent 75cacfc commit 7cc2fb2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ For example:
430430

431431
The DevRev SDK provides observability features to help you understand how your users are interacting with your app.
432432

433-
### Opt in or out
433+
### Opting-in or out
434434

435435
Session analytics features are opted-in by default, enabling them from the start. However, you can opt-out using the following method:
436436

@@ -914,7 +914,7 @@ For example:
914914

915915
### Screen tracking
916916

917-
The DevRev SDK offers automatic screen tracking to help you understand how users navigate through your app. Although view controllers are automatically tracked, you can manually track screens using the following method:
917+
The DevRev SDK offers automatic screen tracking to help you understand how users navigate through your app. Although activities and fragments are automatically tracked, you can manually track screens using the following method:
918918

919919
<Tabs>
920920
<Tab title="Kotlin">
@@ -997,7 +997,7 @@ The DevRev backend sends push notifications to your app to notify users about ne
997997

998998
To receive push notifications, you need to configure your DevRev organization by following the instructions in the [push notifications](../push-notifications) section.
999999

1000-
You need to ensure that your Android app is configured to receive push notifications. You can follow the [Android documentation](https://developer.android.com/training/notify-user/build-notification) for guidance on registering your app with Firebase Cloud Messaging (FCM).
1000+
You need to ensure that your Android app is configured to receive push notifications. To set it up, follow the [Firebase documentation](https://firebase.google.com/docs/cloud-messaging/android/client).
10011001

10021002
### Register for push notifications
10031003

@@ -1011,18 +1011,18 @@ The DevRev SDK offers a method to register your device for receiving push notifi
10111011
<Tab title="Kotlin">
10121012
```kotlin
10131013
DevRev.registerDeviceToken(
1014-
context: Context,
1015-
deviceId: String,
1016-
deviceToken: String
1014+
context: Context,
1015+
deviceToken: String,
1016+
deviceId: String
10171017
)
10181018
```
10191019
</Tab>
10201020
<Tab title="Java">
10211021
```java
10221022
DevRev.INSTANCE.registerDeviceToken(
1023-
Context context,
1024-
String deviceId,
1025-
String deviceToken
1023+
Context context,
1024+
String deviceToken,
1025+
String deviceId
10261026
);
10271027
```
10281028
</Tab>

0 commit comments

Comments
 (0)