|
4 | 4 |
|
5 | 5 | # Common Mobile Services
|
6 | 6 | [](https://jitpack.io/#Explore-In-HMS/common-mobile-services) [](https://jitpack.io/#Explore-In-HMS/common-mobile-services)
|
7 |
| -It is a library that provides a common interface for mobile services for Android developers. Its aim is removing special mobile service dependencies for your app code. |
| 7 | +It is a library that provides a common interface for mobile services for Android developers. Its aim is to remove special mobile service dependencies for your app code. |
8 | 8 | This has mainly two benefits:
|
9 |
| -1- It removes creation and lifecycle control code from your app code. So your classes get rid of one extra responsibility.(Separation of Concerns) |
10 |
| -2- Makes it possible to use different mobile services. For example not all Android devices has Google Mobile Services(GMS). By doing this library you can use |
| 9 | +1- It removes creation and lifecycle control code from your app code. So your classes get rid of one extra responsibility. (Separation of Concerns) |
| 10 | +2- Makes it possible to use different mobile services. For example, not all Android devices have Google Mobile Services(GMS). By doing this library you can use |
11 | 11 | different services without modifying your app code.
|
12 | 12 |
|
13 | 13 | This library contains 2 services for now: Google Mobile Services(GMS) and Huawei Mobile Services(HMS). This library will grow with the added services.
|
@@ -78,7 +78,9 @@ apmsInstrumentationEnabled=false
|
78 | 78 | ### Step 6. Add the dependency for module(s):
|
79 | 79 | com.github.Explore-In-HMS.common-mobile-services
|
80 | 80 |
|
81 |
| -`latest version: 3.0.3` |
| 81 | +Please write the latest version where the `versionName` is written below: |
| 82 | + |
| 83 | +[](https://jitpack.io/#Explore-In-HMS/common-mobile-services) |
82 | 84 | ### MapKit
|
83 | 85 | ```gradle
|
84 | 86 | implementation 'com.github.Explore-In-HMS.common-mobile-services:mapkit:<versionName>'
|
@@ -1197,7 +1199,9 @@ imageClassification.analyseImage(bitmap){ classificationResult ->
|
1197 | 1199 | ```
|
1198 | 1200 |
|
1199 | 1201 | ## Account
|
1200 |
| -This library provides AccountService interface to handle Google Account Service and Huawei Account Kit with single code base. |
| 1202 | +This library provides AccountService interface to handle Google Account Service and Huawei Account Kit with a single code base. |
| 1203 | + |
| 1204 | +Note: To enable Firebase Authentication, activate the Google sign-in method, add your Android app details (app name, package name, and SHA-1 fingerprint), and place the `google-services.json` file in your app directory; similarly, for HMS Account Kit, enter your SHA-256 fingerprint in the AppGallery Connect Project Settings, enable Account Kit, and place the downloaded `agconnect-services.json` file in the same directory. |
1201 | 1205 |
|
1202 | 1206 | ### How to use
|
1203 | 1207 |
|
|
0 commit comments