Skip to content

Commit e8b8577

Browse files
authored
Merge pull request #193 from Explore-In-HMS/dev
CMS 191 Update Master
2 parents c5b6c4f + d25b3f3 commit e8b8577

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
# Common Mobile Services
66
[![](https://jitpack.io/v/Explore-In-HMS/common-mobile-services/month.svg)](https://jitpack.io/#Explore-In-HMS/common-mobile-services) [![](https://jitpack.io/v/Explore-In-HMS/common-mobile-services.svg)](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.
88
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
1111
different services without modifying your app code.
1212

1313
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
7878
### Step 6. Add the dependency for module(s):
7979
com.github.Explore-In-HMS.common-mobile-services
8080

81-
`latest version: 3.0.3`
81+
Please write the latest version where the `versionName` is written below:
82+
83+
[![](https://jitpack.io/v/Explore-In-HMS/common-mobile-services.svg)](https://jitpack.io/#Explore-In-HMS/common-mobile-services)
8284
### MapKit
8385
```gradle
8486
implementation 'com.github.Explore-In-HMS.common-mobile-services:mapkit:<versionName>'
@@ -1197,7 +1199,9 @@ imageClassification.analyseImage(bitmap){ classificationResult ->
11971199
```
11981200

11991201
## 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.
12011205

12021206
### How to use
12031207

translate/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apply from: "$project.rootDir/base_sdk.gradle"
22

33
dependencies {
4-
implementation 'com.huawei.hms:ml-computer-translate:3.6.0.312'
5-
implementation 'com.google.mlkit:translate:17.0.1'
4+
implementation 'com.huawei.hms:ml-computer-translate:3.11.0.302'
5+
implementation 'com.google.mlkit:translate:17.0.3'
66
api project(':core')
77
}
88

0 commit comments

Comments
 (0)