Skip to content

Commit 69b2ff3

Browse files
author
Pedro Martins
authored
Merge pull request #24 from getyoti/YM-25986
[YM-25986] Add configurable app packages
2 parents 19bac26 + ff94011 commit 69b2ff3

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
3+
## [1.3.3] - 2022-04-04
4+
### Changed
5+
- Add configurable app packages (automation fix)
6+
37
## [1.3.2] - 2022-03-30
48
### Fixed
59
- Fix crash when returning from Digital IDs Apps.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ easyIDScheme=easyid://
5656
pomId=yoti-button-sdk
5757
pomGroup=com.yoti.mobile.android.sdk
5858
pomPackaging=aar
59-
pomVersion=1.3.2
59+
pomVersion=1.3.3
6060
pomDescription=Button SDK that allows 3rd party to trigger Yoti as support app
61-
currentVersionCode=000012
61+
currentVersionCode=000013
6262

6363
pomLicenseName=MIT
6464
pomLicenseUrl=https://github.com/getyoti/android-sdk-button/blob/master/LICENSE.md

yoti-sdk/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ android {
1717

1818
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1919

20-
buildConfigField 'String', 'YOTI_APP_PACKAGE', "\"$yotiAppPackage\""
21-
buildConfigField 'String', 'EASY_ID_APP_PACKAGE', "\"$easyIdAppPackage\""
20+
def yotiAppPackageValue = "$yotiAppPackage"
21+
def easyIdAppPackageValue = "$easyIdAppPackage"
22+
23+
manifestPlaceholders = [yotiAppPackage: yotiAppPackageValue, easyIdAppPackage: easyIdAppPackageValue]
24+
25+
buildConfigField 'String', 'YOTI_APP_PACKAGE', "\"${yotiAppPackageValue}\""
26+
buildConfigField 'String', 'EASY_ID_APP_PACKAGE', "\"$easyIdAppPackageValue\""
2227
buildConfigField 'int', 'YOTI_APP_MIN_VERSION', yotiAppMinVersion
2328
buildConfigField 'String', 'YOTI_BACKEND_URL', "\"$yotiBackendUrl\""
2429
buildConfigField 'int', 'YOTI_BACKEND_PORT', "$yotiBackendPort"

yoti-sdk/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
package="com.yoti.mobile.android.sdk">
44

55
<queries>
6-
<package android:name="com.yoti.mobile.android.live" />
7-
<package android:name="com.postofficeid.mobile.android.live" />
6+
<package android:name="${yotiAppPackage}" />
7+
<package android:name="${easyIdAppPackage}" />
88
</queries>
99

1010
<application

0 commit comments

Comments
 (0)