Skip to content

Commit

Permalink
feat(GiniHealthSDK): Bumps version 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinaIancu-Gini committed Nov 26, 2024
1 parent 37ad461 commit e242321
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 11 additions & 11 deletions HealthSDK/GiniHealthSDK/Documentation/source/Customization guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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
Expand All @@ -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:

Expand All @@ -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.

<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="800" height="450" src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Fdesign%2FwBBjc38iihjxrKMnLfbOD4%2FiOS-Gini-Health-SDK-4.1-UI-Customisation%3Fnode-id%3D8987-2854%26t%3DvNb6FqqGtzIAVdJl-1" allowfullscreen></iframe>
<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="800" height="450" src="https://embed.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12906-23094&embed-host=share" allowfullscreen></iframe>

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

<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="800" height="450" src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Fdesign%2FwBBjc38iihjxrKMnLfbOD4%2FiOS-Gini-Health-SDK-4.1-UI-Customisation%3Fnode-id%3D9008-1654%26t%3DvNb6FqqGtzIAVdJl-1" allowfullscreen></iframe>
<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="800" height="450" src="https://embed.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12907-10274&embed-host=share" allowfullscreen></iframe>

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

<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="800" height="450" src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Fdesign%2FwBBjc38iihjxrKMnLfbOD4%2FiOS-Gini-Health-SDK-4.1-UI-Customisation%3Fnode-id%3D9044-1582%26t%3DvNb6FqqGtzIAVdJl-1" allowfullscreen></iframe>
<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="800" height="450" src="https://embed.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12907-11429&embed-host=share" allowfullscreen></iframe>

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

<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="800" height="450" src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Fdesign%2FwBBjc38iihjxrKMnLfbOD4%2FiOS-Gini-Health-SDK-4.1-UI-Customisation%3Fnode-id%3D9008-1300%26t%3DvNb6FqqGtzIAVdJl-1" allowfullscreen></iframe>
<iframe style="border: 1px solid rgba(0, 0, 0, 0.1);" width="800" height="450" src="https://embed.figma.com/design/fHf3b3XxE59wymH7gvoMrJ/iOS-Gini-Health-SDK-5.0-UI-Customisation?node-id=12907-12507&embed-host=share" allowfullscreen></iframe>

> **Note:**
> - PaymentReviewViewController contains the following configuration options:
Expand Down
4 changes: 2 additions & 2 deletions HealthSDK/GiniHealthSDK/Package-release.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Copyright © 2024 Gini GmbH. All rights reserved.
//

public let GiniHealthSDKVersion = "4.3.0"
public let GiniHealthSDKVersion = "5.0.0"

0 comments on commit e242321

Please sign in to comment.