Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 592ebd7

Browse files
Release 6.0.0.
1 parent cf1c61c commit 592ebd7

File tree

550 files changed

+3578
-46948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

550 files changed

+3578
-46948
lines changed

LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014 Global Collect Services B.V.
1+
Copyright (c) 2022 Global Collect Services B.V.
22

33
Permission is hereby granted, free of charge, to any person
44
obtaining a copy of this software and associated documentation
@@ -181,4 +181,4 @@ Unless required by applicable law or agreed to in writing, software
181181
distributed under the License is distributed on an "AS IS" BASIS,
182182
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
183183
See the License for the specific language governing permissions and
184-
limitations under the License.
184+
limitations under the License.

README.md

Lines changed: 9 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,19 @@
1-
Ingenico Connect - Android SDK
2-
=======================
1+
## Ingenico Connect - Android SDK
32

43
The Ingenico Connect Android SDK provides a convenient way to support a large number of payment methods inside your Android app.
5-
It supports Gingerbread (Android version 2.3.3) and up out-of-the box.
6-
The Android SDK comes with an example app that illustrates the use of the SDK and the services provided by Ingenico ePayments on the Ingenico ePayments platform.
4+
It supports Lollipop (Api version 21) and up out-of-the box.
5+
The Android SDK comes with an [example application](https:/github.com/Ingenico-ePayments/connect-sdk-client-android-example-kotlin) that illustrates the use of the SDK and the services provided by Ingenico ePayments on the Ingenico ePayments platform.
76

87
See the [Ingenico Connect Developer Hub](https://epayments.developer-ingenico.com/documentation/sdk/mobile/android/) for more information on how to use the SDK.
98

10-
Installation via Gradle
11-
------------
12-
13-
Add a requirement to the SDK to your `build.gradle` file, where `x.y.z` is the version number:
9+
# Installation via Gradle
10+
Add an implementation to your build configuration by adding the dependency to your project build.gradle file where `x.y.z` is the version number:
1411

1512
dependencies {
16-
// other dependencies
17-
compile 'com.ingenico.connect.gateway:connect-sdk-client-android:x.y.z'
13+
implementation "com.ingenico.connect.gateway:connect-sdk-client-android:x.y.z'
1814
}
1915

20-
Manual installation
21-
------------
22-
23-
To install the Android SDK and the example app, first download the code from GitHub.
24-
25-
```
26-
$ git clone https://github.com/Ingenico-ePayments/connect-sdk-client-android.git
27-
```
28-
29-
Afterwards, you can open the project you just downloaded in Android Studio to execute the example app.
30-
31-
To use the Android SDK in your own app, you need to add the `ingenicoconnect-sdk` gradle module to the build path of your project as follows:
32-
33-
1. Open your app in Android Studio.
34-
2. Select `File`, `New`, `Import Module`.
35-
3. Select source directory by clicking on the `...` button.
36-
4. Browse to the downloaded Android SDK project, select the folder `ingenicoconnect-sdk` which contains all the SDK source code, and click `OK`.
37-
5. Click on `Finish` to add the `ingenicoconnect-sdk` module to your project.
38-
6. Wait until Android Studio is done building/cleaning the project, and you see a module named `ingenicoconnect` appear in your Android Studio project browser.
39-
7. The last step is now to tell your App to use the added module.
40-
8. Select your app, and click `File`, `Project Structure`. In the `Modules` section select your app, and go to the tab `Dependencies`.
41-
9. Click on the `+` sign and select `Module dependency`.
42-
10.Select the `ingenicoconnect-sdk` module and press `OK`.
43-
11. You now have access to use all the Android SDK classes.
44-
45-
Running tests
46-
-------------
47-
48-
The Android SDK comes with a set of integration tests. To run these tests, you will first need to modify file `ingenicoconnect-sdk-integrationtest/src/test/resources/itconfiguration.properties`. This file is mostly complete, but you need to fill in the actual values for the following keys:
49-
* `connect.api.apiKeyId` for the API key id to use. This can be retrieved from the Configuration Center.
50-
* `connect.api.secretApiKey` for the secret API key to use. This can be retrieved from the Configuration Center.
51-
* `connect.api.merchantId` for your merchant ID.
52-
53-
Besides these settings, you can also modify the settings for the [Java SDK](https://epayments.developer-ingenico.com/documentation/sdk/server/java/), which is used to create the sessions and tokens needed to run the tests.
16+
# Migration Guide
17+
A migration guide was written to help you migrate from version 5 to version 6 of the SDK. This guide explains the new architecture of the SDK, as well as the breaking changes made for version 6.
5418

55-
Afterwards, you can run the tests as follows:
56-
1. Open the SDK in Android Studio. If you haven't opened it before, choose to import a project and browse to the Android SDK project.
57-
2. On the `Project` tab, open `ingenicoconnect-sdk-integrationtest`, then `java`. Right click on the `com.ingenico.connect.gateway.sdk.client.android.integrationtest` package, and click on `Run 'Tests in 'com.ingenicoconnect.ga...'`.
19+
You can find the migration guide [here](/documentation/Migration%20Guide%20v5%20to%20v6.md).

app/build.gradle

Lines changed: 0 additions & 42 deletions
This file was deleted.

app/proguard-rules.pro

Lines changed: 0 additions & 17 deletions
This file was deleted.

app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 56 deletions
This file was deleted.

app/src/main/assets/initial_logo_mapping.list

Lines changed: 0 additions & 157 deletions
This file was deleted.

0 commit comments

Comments
 (0)