Skip to content

Commit 6f4204f

Browse files
committed
Readme Updated
1 parent f60e736 commit 6f4204f

File tree

5 files changed

+49
-63
lines changed

5 files changed

+49
-63
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ experience into an existing or a new app.
1515
<img src="screenshots/overview_cometchat_screens.png">
1616
</div>
1717

18+
## 🚀 Explore the Sample Apps!
19+
20+
Dive straight into our Sample Apps to see CometChat UI Kit in action! Whether you're building a messaging app or enhancing your existing project, this sample app showcases the full potential of our React UI components.
21+
- [Sample App for Java](sample-app-java#readme)
22+
- [Sample App for Java with Push Notifications](sample-app-java%2Bpush-notification#readme)
23+
- [Sample App for Kotlin](sample-app-kotlin#readme)
24+
- [Sample App for Kotlin with Push Notifications](sample-app-kotlin%2Bpush-notification#readme)
25+
1826
## Prerequisites
1927

2028
- Android Studio
@@ -30,12 +38,12 @@ To set up CometChat Android UI Kit and utilize CometChat for your chat functiona
3038
2. After registering, log into your CometChat account and create a new app. Once created, CometChat will generate an Auth Key and App ID for you. Keep
3139
these credentials secure as you'll need them later.
3240

33-
3. Check the [Key Concepts](https://www.cometchat.com/docs/android-uikit/key-concepts) to understand the basic components of CometChat.
41+
3. Check the [Key Concepts](https://www.cometchat.com/docs/fundamentals/key-concepts) to understand the basic components of CometChat.
3442

35-
4. Refer to the [Integration Steps](https://www.cometchat.com/docs/android-uikit/integration) in our documentation to integrate the UI Kit into your
43+
4. Refer to the [Integration Steps](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started) in our documentation to integrate the UI Kit into your
3644
Android app.
3745

3846
## Help and Support
3947

40-
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/android-uikit/integration)
41-
or create a [support ticket](https://help.cometchat.com/hc/en-us) or seek real-time support via the [CometChat Dashboard](https://app.cometchat.com/).
48+
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started)
49+
or create a [support ticket](https://help.cometchat.com/hc/en-us) or seek real-time support via the [CometChat Dashboard](https://app.cometchat.com/).

sample-app-java+push-notification/README.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img alt="CometChat" src="https://assets.cometchat.io/website/images/logos/banner.png">
44
</p>
55

6-
# Android Sample App by CometChat
6+
# Android Sample App with Push Notifications for Java by CometChat
77

88
This is a reference application showcasing the integration of [CometChat's Android UI Kit](https://www.cometchat.com/docs/ui-kit/android/5.0/overview) in a native Android application using Kotlin. It demonstrates how to implement real-time messaging and voice/video calling features with ease.
99

@@ -31,30 +31,26 @@ This is a reference application showcasing the integration of [CometChat's Andro
3131
git checkout v5
3232
```
3333

34-
3. Open the project in Android Studio by navigating to the cloned directory and open the `sample-app-java+push-notification` folder.
34+
3. Sync Gradle to ensure all dependencies are downloaded.
3535

36-
4. Sync Gradle to ensure all dependencies are downloaded.
37-
38-
5. `[Optional]` Configure CometChat credentials:
39-
- Open the `AppCredentials.java` file located at `sample-app-java+push-notification/src/main/java/com/cometchat/sampleapp/java/fcm/AppCredentials.java` and enter your CometChat _`App ID`_, _`Region`_, and _`Auth Key`_:
40-
```java
41-
public class AppCredentials {
42-
public static final String APP_ID = "YOUR_APP_ID";
43-
public static final String REGION = "YOUR_REGION";
44-
public static final String AUTH_KEY = "YOUR_AUTH_KEY";
45-
}
46-
```
47-
6. Set up Firebase Cloud Messaging (FCM) by following the below steps
36+
4. `[Optional]` Enter your CometChat _`App ID`_, _`Region`_, and _`Auth Key`_ in the [AppCredentials.java](src/main/java/com/cometchat/sampleapp/java/fcm/AppCredentials.java) file:
37+
file:https://github.com/cometchat/cometchat-uikit-android/blob/b7b7c0d76eb70960728e6622ed7f70ab4e45b4af/sample-app-java%2Bpush-notification/src/main/java/com/cometchat/sampleapp/java/fcm/AppCredentials.java#L3-L11
38+
39+
5. Set up Firebase Cloud Messaging (FCM) by following the below steps
4840
- Go to the [Firebase Console](https://console.firebase.google.com/) and create a project.
4941
- Add your Android app to the Firebase project and download the `google-services.json` file.
5042
- Place the `google-services.json` file in the `sample-app-java+push-notification/` directory of your project.
5143

52-
7. Set up CometChat Push Notification:
44+
6. Set up CometChat Push Notification:
5345
- Go to the [Notification Documentation](https://www.cometchat.com/docs/notifications/push-integration) and follow integration steps.
46+
- Note the provider id entered while configuring the Push Notifications in CometChat Dashboard.
47+
48+
7. Update the provider id from the step 7 in [AppConstants.java](src/main/java/com/cometchat/sampleapp/java/fcm/utils/AppConstants.java) file:https://github.com/cometchat/cometchat-uikit-android/blob/aa63fc07e27822175f9cba03c789a0d08b367d01/sample-app-java+push-notification/src/main/java/com/cometchat/sampleapp/java/fcm/utils/AppConstants.java#L34-L36
49+
50+
8. In the Android Studio toolbar, select the `sample-app-java+push-notification` module from the module dropdown and run the project using an emulator or a physical device
5451

55-
8. Run the project using an emulator or a physical device to build and run the sample app.
5652

5753

5854
## Help and Support
5955

60-
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started) or create a [support ticket](https://help.cometchat.com/hc/en-us). You can also access real-time support via the [CometChat Dashboard](http://app.cometchat.com/).
56+
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started) or create a [support ticket](https://help.cometchat.com/hc/en-us). You can also access real-time support via the [CometChat Dashboard](http://app.cometchat.com/).

sample-app-java/README.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img alt="CometChat" src="https://assets.cometchat.io/website/images/logos/banner.png">
44
</p>
55

6-
# Android Sample App by CometChat
6+
# Android Sample App for Java by CometChat
77

88
This is a reference application showcasing the integration of [CometChat's Android UI Kit](https://www.cometchat.com/docs/ui-kit/android/5.0/overview) in a native Android application. It demonstrates how to implement real-time messaging and voice/video calling features with ease.
99

@@ -31,22 +31,16 @@ This is a reference application showcasing the integration of [CometChat's Andro
3131
git checkout v5
3232
```
3333

34-
3. Open the project in Android Studio by navigating to the cloned directory and open the `sample-app-java` folder.
34+
3. Open the project in Android Studio.
3535

36-
4. Sync Gradle to ensure all dependencies are downloaded.
36+
4. Sync Gradle to ensure all dependencies are downloaded.
3737

38-
5. `[Optional]` Configure CometChat credentials:
39-
- Open the `AppCredentials.java` file located at `sample-app-java/src/main/java/com/cometchat/sampleapp/java/AppCredentials.java` and enter your CometChat _`App ID`_, _`Region`_, and _`Auth Key`_:
40-
```java
41-
public class AppCredentials {
42-
public static final String APP_ID = "YOUR_APP_ID";
43-
public static final String REGION = "YOUR_REGION";
44-
public static final String AUTH_KEY = "YOUR_AUTH_KEY";
45-
}
46-
```
38+
5. `[Optional]` Enter your CometChat _`App ID`_, _`Region`_, and _`Auth Key`_ in the [AppCredentials.java](src/main/java/com/cometchat/sampleapp/java/AppCredentials.java) file:
39+
file:https://github.com/cometchat/cometchat-uikit-android/blob/b7b7c0d76eb70960728e6622ed7f70ab4e45b4af/sample-app-java/src/main/java/com/cometchat/sampleapp/java/AppCredentials.java#L3-L7
40+
41+
6. In the Android Studio toolbar, select the `sample-app-java` module from the module dropdown and run the project using an emulator or a physical device
4742

48-
6. Run the project using an emulator or a physical device to build and run the sample app.
4943

5044
## Help and Support
5145

52-
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started) or create a [support ticket](https://help.cometchat.com/hc/en-us). You can also access real-time support via the [CometChat Dashboard](http://app.cometchat.com/).
46+
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started) or create a [support ticket](https://help.cometchat.com/hc/en-us). You can also access real-time support via the [CometChat Dashboard](http://app.cometchat.com/).

sample-app-kotlin+push-notification/README.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img alt="CometChat" src="https://assets.cometchat.io/website/images/logos/banner.png">
44
</p>
55

6-
# Android Sample App by CometChat
6+
# Android Sample App with Push Notifications for Kotlin by CometChat
77

88
This is a reference application showcasing the integration of [CometChat's Android UI Kit](https://www.cometchat.com/docs/ui-kit/android/5.0/overview) in a native Android application using Kotlin. It demonstrates how to implement real-time messaging and voice/video calling features with ease.
99

@@ -31,29 +31,24 @@ This is a reference application showcasing the integration of [CometChat's Andro
3131
git checkout v5
3232
```
3333

34-
3. Open the project in Android Studio by navigating to the cloned directory and open the `sample-app-kotlin+push-notification` folder.
34+
3. Sync Gradle to ensure all dependencies are downloaded.
3535

36-
4. Sync Gradle to ensure all dependencies are downloaded.
36+
4. `[Optional]` Enter your CometChat _`App ID`_, _`Region`_, and _`Auth Key`_ in the [AppCredentials.java](src/main/java/com/cometchat/sampleapp/kotlin/fcm/AppCredentials.kt) file:
37+
file:https://github.com/cometchat/cometchat-uikit-android/blob/b7b7c0d76eb70960728e6622ed7f70ab4e45b4af/sample-app-kotlin+push-notification/src/main/java/com/cometchat/sampleapp/kotlin/fcm/AppCredentials.kt#L3-L11
3738

38-
5. `[Optional]` Configure CometChat credentials:
39-
- Open the `AppCredentials.kt` file located at `sample-app-kotlin+push-notification/src/main/java/com/cometchat/sampleapp/kotlin/fcm/AppCredentials.kt` and enter your CometChat _`App ID`_, _`Region`_, and _`Auth Key`_:
40-
```kotlin
41-
object AppConstants {
42-
const val APP_ID = "YOUR_APP_ID"
43-
const val REGION = "YOUR_REGION"
44-
const val AUTH_KEY = "YOUR_AUTH_KEY"
45-
}
46-
```
47-
6. Set up Firebase Cloud Messaging (FCM):
39+
5. Set up Firebase Cloud Messaging (FCM):
4840
- Go to the [Firebase Console](https://console.firebase.google.com/) and create a project.
4941
- Add your Android app to the Firebase project and download the `google-services.json` file.
5042
- Place the `google-services.json` file in the `sample-app-kotlin+push-notification/` directory of your project.
5143

52-
7. Set up CometChat Push Notification:
44+
6. Set up CometChat Push Notification:
5345
- Go to the [Notification Documentation](https://www.cometchat.com/docs/notifications/push-integration) and follow integration steps.
46+
- Note the provider id entered while configuring the Push Notifications in CometChat Dashboard.
5447

55-
8. Run the project Use an emulator or a physical device to build and run the sample app.
48+
7. Update the provider id from the step 7 in [AppConstants.kt](src/main/java/com/cometchat/sampleapp/kotlin/fcm/utils/AppConstants.kt) file:https://github.com/cometchat/cometchat-uikit-android/blob/aa63fc07e27822175f9cba03c789a0d08b367d01/sample-app-kotlin+push-notification/src/main/java/com/cometchat/sampleapp/kotlin/fcm/utils/AppConstants.kt#L24-L26
49+
50+
8. In the Android Studio toolbar, select the `sample-app-kotlin+push-notification` module from the module dropdown and run the project using an emulator or a physical device
5651

5752
## Help and Support
5853

59-
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started) or create a [support ticket](https://help.cometchat.com/hc/en-us). You can also access real-time support via the [CometChat Dashboard](http://app.cometchat.com/).
54+
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started) or create a [support ticket](https://help.cometchat.com/hc/en-us). You can also access real-time support via the [CometChat Dashboard](http://app.cometchat.com/).

sample-app-kotlin/README.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img alt="CometChat" src="https://assets.cometchat.io/website/images/logos/banner.png">
44
</p>
55

6-
# Android Sample App by CometChat
6+
# Android Sample App for Kotlin by CometChat
77

88
This is a reference application showcasing the integration of [CometChat's Android UI Kit](https://www.cometchat.com/docs/ui-kit/android/5.0/overview) in a native Android application using Kotlin. It demonstrates how to implement real-time messaging and voice/video calling features with ease.
99

@@ -35,18 +35,11 @@ This is a reference application showcasing the integration of [CometChat's Andro
3535

3636
4. Sync Gradle to ensure all dependencies are downloaded.
3737

38-
5. `[Optional]` Configure CometChat credentials:
39-
- Open the `AppCredentials.kt` file located at `sample-app-kotlin+push-notification/src/main/java/com/cometchat/sampleapp/kotlin/fcm/AppCredentials.kt` and enter your CometChat _`App ID`_, _`Region`_, and _`Auth Key`_:
40-
```kotlin
41-
object AppConstants {
42-
const val APP_ID = "YOUR_APP_ID"
43-
const val REGION = "YOUR_REGION"
44-
const val AUTH_KEY = "YOUR_AUTH_KEY"
45-
}
46-
```
38+
5. `[Optional]` Enter your CometChat _`App ID`_, _`Region`_, and _`Auth Key`_ in the [AppCredentials.java](src/main/java/com/cometchat/sampleapp/kotlin/AppCredentials.kt) file:
39+
file:https://github.com/cometchat/cometchat-uikit-android/blob/b7b7c0d76eb70960728e6622ed7f70ab4e45b4af/sample-app-kotlin/src/main/java/com/cometchat/sampleapp/kotlin/AppCredentials.kt#L3-L11
4740

48-
6. Run the project using an emulator or a physical device to build and run the sample app.
41+
6. In the Android Studio toolbar, select the `sample-app-kotlin` module from the module dropdown and run the project using an emulator or a physical device
4942

5043
## Help and Support
5144

52-
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started) or create a [support ticket](https://help.cometchat.com/hc/en-us). You can also access real-time support via the [CometChat Dashboard](http://app.cometchat.com/).
45+
For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/ui-kit/android/5.0/getting-started) or create a [support ticket](https://help.cometchat.com/hc/en-us). You can also access real-time support via the [CometChat Dashboard](http://app.cometchat.com/).

0 commit comments

Comments
 (0)