diff --git a/HealthSDK/GiniHealthSDK/Documentation/sections/Documentation.md b/HealthSDK/GiniHealthSDK/Documentation/sections/Documentation.md index b62cd7b5a..f4255b87d 100644 --- a/HealthSDK/GiniHealthSDK/Documentation/sections/Documentation.md +++ b/HealthSDK/GiniHealthSDK/Documentation/sections/Documentation.md @@ -15,13 +15,13 @@ The Gini Health API provides an information extraction service for analyzing hea ## Requirements -- iOS 12.0+ +- iOS 13.0+ - Xcode 15.3+ **Note:** In order to have better analysis results it is highly recommended to enable only devices with 8MP camera and flash. These devices would be: -* iPhones with iOS 12 or higher. +* iPhones with iOS 13 or higher. * iPad Pro devices (iPad Air 2 and iPad Mini 4 have 8MP camera but no flash). ## Author diff --git a/HealthSDK/GiniHealthSDK/Documentation/source/Customization guide.md b/HealthSDK/GiniHealthSDK/Documentation/source/Customization guide.md index e079b2c31..f378fcf32 100644 --- a/HealthSDK/GiniHealthSDK/Documentation/source/Customization guide.md +++ b/HealthSDK/GiniHealthSDK/Documentation/source/Customization guide.md @@ -30,7 +30,7 @@ If you want to override specific SDK images: ### Typography We provide global typography based on text appearance styles from UIFont.TextStyle. -Preview our typography and find the names of the style resources (you can also view it in Figma [here](https://www.figma.com/design/wBBjc38iihjxrKMnLfbOD4/iOS-Gini-Health-SDK-4.1-UI-Customisation?node-id=8906-1104&t=vNb6FqqGtzIAVdJl-1)). +Preview our typography and find the names of the style resources (you can also view it in Figma [here](https://www.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12906-11636&t=vzclpYe0B8kEePKJ-4)). In the example below you can see to override a font for `.body1` @@ -44,10 +44,10 @@ health.setConfiguration(configuration) ### Text Text customization is done via overriding of string resources. -For example you would like to customize pay invoice button label in the Payment Component: +For example you would like to customize pay invoice button label in the Payment Review screen: 1. Find a string key for a text that you would like to customize. -For the [Pay the invoice button label](https://www.figma.com/design/wBBjc38iihjxrKMnLfbOD4/iOS-Gini-Health-SDK-4.1-UI-Customisation?node-id=8987-2854&t=vNb6FqqGtzIAVdJl-1) in the Payment Component we use `ginihealth.paymentcomponent.payInvoice.label`. +For the [To the banking app button label](https://www.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12909-10929&t=vzclpYe0B8kEePKJ-4) in the Payment Review screen we use `gini.health.paymentcomponent.to.banking.app.label`. 2. Add the string key with a desired value to `Localizable.strings` in your app. ### Supporting dark mode @@ -56,7 +56,7 @@ We support dark mode in our SDK. If you decide to customize the color palette, p ## Payment Component -You can also view the UI customisation guide in Figma [here](https://www.figma.com/design/wBBjc38iihjxrKMnLfbOD4/iOS-Gini-Health-SDK-4.1-UI-Customisation?node-id=8987-2854&t=vNb6FqqGtzIAVdJl-1). +You can also view the UI customisation guide in Figma [here](https://www.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12906-23094&t=vzclpYe0B8kEePKJ-4). For configuring the the payment component height use `paymentComponentButtonsHeight` configuration option: @@ -71,34 +71,34 @@ healthSDK.setConfiguration(config) **Note:** To copy text from Figma you need to have a Figma account. If you don't have one, you can create one for free. - + ## Bank Selection Bottom Sheet -You can also view the UI customisation guide in Figma [here](https://www.figma.com/design/wBBjc38iihjxrKMnLfbOD4/iOS-Gini-Health-SDK-4.1-UI-Customisation?node-id=9008-1654&t=vNb6FqqGtzIAVdJl-1). +You can also view the UI customisation guide in Figma [here](https://www.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12907-10274&t=vzclpYe0B8kEePKJ-4). **Note:** To copy text from Figma you need to have a Figma account. If you don't have one, you can create one for free. - + ## Payment Feature Info Screen -You can also view the UI customisation guide in Figma [here](https://www.figma.com/design/wBBjc38iihjxrKMnLfbOD4/iOS-Gini-Health-SDK-4.1-UI-Customisation?node-id=9044-1582&t=vNb6FqqGtzIAVdJl-1). +You can also view the UI customisation guide in Figma [here](https://www.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12907-11429&t=vzclpYe0B8kEePKJ-4). **Note:** To copy text from Figma you need to have a Figma account. If you don't have one, you can create one for free. - + ## Payment Review screen -You can also view the UI customisation guide in Figma [here](https://www.figma.com/design/wBBjc38iihjxrKMnLfbOD4/iOS-Gini-Health-SDK-4.1-UI-Customisation?node-id=9008-1300&t=vNb6FqqGtzIAVdJl-1). +You can also view the UI customisation guide in Figma [here](https://www.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12907-12507&t=vzclpYe0B8kEePKJ-4). **Note:** To copy text from Figma you need to have a Figma account. If you don't have one, you can create one for free. - + > **Note:** > - PaymentReviewViewController contains the following configuration options: diff --git a/HealthSDK/GiniHealthSDK/Package-release.swift b/HealthSDK/GiniHealthSDK/Package-release.swift index a8c837f4e..7ef08fb48 100644 --- a/HealthSDK/GiniHealthSDK/Package-release.swift +++ b/HealthSDK/GiniHealthSDK/Package-release.swift @@ -16,9 +16,9 @@ let package = Package( dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), - .package(name: "GiniHealthAPILibrary", url: "https://github.com/gini/health-api-library-ios.git", .exact("4.3.1")), + .package(name: "GiniHealthAPILibrary", url: "https://github.com/gini/health-api-library-ios.git", .exact("5.0.0")), .package(name: "GiniInternalPaymentSDK", url: "https://github.com/gini/internal-payment-sdk-ios", .exact("1.0.0")), - .package(name: "GiniUtilites", url: "https://github.com/gini/utilites-ios.git", .exact("1.0.0")), + .package(name: "GiniUtilites", url: "https://github.com/gini/utilites-ios.git", .exact("1.1.0")), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. diff --git a/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/GiniHealthSDKVersion.swift b/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/GiniHealthSDKVersion.swift index 42471ccc5..9057455fc 100644 --- a/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/GiniHealthSDKVersion.swift +++ b/HealthSDK/GiniHealthSDK/Sources/GiniHealthSDK/GiniHealthSDKVersion.swift @@ -5,4 +5,4 @@ // Copyright © 2024 Gini GmbH. All rights reserved. // -public let GiniHealthSDKVersion = "4.3.0" +public let GiniHealthSDKVersion = "5.0.0"