Skip to content

Commit be05a93

Browse files
authored
Release 20.11 (#4)
1 parent 543b449 commit be05a93

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ This repository contains test project and instructions on how to use Aspose.Barc
88

99
## Prerequisites
1010

11-
To use Aspose Barcode Cloud for Android you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
11+
To use Aspose Barcode Cloud for Android you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create Client Secret and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/applications). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
1212

1313
## Getting Started
1414

1515
* Open project in Android Studio
1616

17-
* Go to file *app/src/main/java/com/example/asposebarcodecloud/MainActivity.kt* and set *appSid* and *appKey* to apropriate values from <https://dashboard.aspose.cloud/#/apps>
17+
* Go to file *app/src/main/java/com/example/asposebarcodecloud/MainActivity.kt* and set *clientId* and *clientSecret* to apropriate values from <https://dashboard.aspose.cloud/applications>
1818

1919
* Build project and run application on connected device or emulator.
2020

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies {
3434
implementation 'androidx.core:core-ktx:1.3.2'
3535
implementation 'androidx.appcompat:appcompat:1.2.0'
3636
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
37-
implementation 'com.aspose:aspose-barcode-cloud:20.10.0'
37+
implementation 'com.aspose:aspose-barcode-cloud:20.11.0'
3838
implementation 'com.google.android.material:material:1.2.1'
3939
testImplementation 'junit:junit:4.13.1'
4040
androidTestImplementation 'androidx.test.ext:junit:1.1.2'

app/src/main/java/com/example/asposebarcodecloud/MainActivity.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ class MainActivity : AppCompatActivity() {
101101
setContentView(R.layout.activity_main)
102102

103103
val client = ApiClient(
104-
"App SID from https://dashboard.aspose.cloud/#/apps",
105-
"App Key from https://dashboard.aspose.cloud/#/apps"
104+
"Client Id from https://dashboard.aspose.cloud/applications",
105+
"Client Secret from https://dashboard.aspose.cloud/applications"
106106
)
107107

108108
client.writeTimeout = 60_000
@@ -271,7 +271,7 @@ class MainActivity : AppCompatActivity() {
271271

272272
var message = e.message + ": " + e.details
273273
if (e.code == 0) {
274-
message = "Check AppSid and AppKey in ApiClient $message"
274+
message = "Check ClientId and ClientSecret in ApiClient $message"
275275
}
276276
showErrorMessage(message)
277277
}
@@ -347,7 +347,7 @@ class MainActivity : AppCompatActivity() {
347347
runOnUiThread {
348348
var message = e.message + ": " + e.details
349349
if (e.code == 0) {
350-
message = "Check AppSid and AppKey in ApiClient $message"
350+
message = "Check ClientId and ClientSecret in ApiClient $message"
351351
}
352352
showErrorMessage(message)
353353
}

0 commit comments

Comments
 (0)