Skip to content

Commit

Permalink
Updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart Ziemba authored and Bart Ziemba committed Jan 28, 2019
1 parent a73a961 commit 0aa1cd9
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 19 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

**Note**: If the strings translations change it will result in a MINOR version change, therefore you are responsible for testing your translated layout in case you are using custom translations. [More on language localisation](README.md#language-customisation)

## [10.2.0] - 2019-01-14
## [10.3.0] - 2019-01-28

### Added
- UI: Ability to customise Font-Family

### Fixed
- UI: Subtitle text truncate issue fixed on document selection screen
- UI: Fix for the crash on iPad when switch to landscape mode

### Changed
- UI: Changed button colors on country selection screen.

## [10.2.0] - 2019-01-04

### Added
- UI: Document and face capturing processes are now properly followed by screen readers
Expand All @@ -17,10 +29,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- UI: Fix sdk crash on capture during the backside capture of two sided document on Cordova
- UI: Fix for the Segment SDK name clash
- UI: Fix infinite spinning wheel not removed when liveness upload failed.
- UI: Fixed custom localisation of text in liveness confirmation screen now going over multiple lines when text too long (max three)

### Changed
- UI: Changed colors of the UI elements regarding to the new Onfido branding.
- UI: Onfido logo updated.
- UI: Improved UI for sdk flow with `formSheet` modal presentation style

## [10.1.0] - 2018-11-14

Expand Down
4 changes: 4 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

These guides below are provided to ease the transition of existing applications using the Onfido SDK from one version to another that introduces breaking API changes.

* [Onfido iOS SDK 10.3.0 Migration Guide](#onfido-sdk-1030-migration-guide)
* [Onfido iOS SDK 10.2.0 Migration Guide](#onfido-sdk-1020-migration-guide)
* [Onfido iOS SDK 10.1.0 Migration Guide](#onfido-sdk-1010-migration-guide)
* [Onfido iOS SDK 10.0.0 Migration Guide](#onfido-sdk-1000-migration-guide)
Expand All @@ -18,6 +19,9 @@ These guides below are provided to ease the transition of existing applications
* [Onfido iOS SDK 4.0.0 Migration Guide](#onfido-sdk-400-migration-guide)
* [Onfido iOS SDK 3.0.0 Migration Guide](#onfido-sdk-300-migration-guide)


## Onfido iOS SDK 10.3.0 Migration Guide

## Onfido iOS SDK 10.2.0 Migration Guide

### Strings
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ ONFlowConfig *config = [configBuilder buildAndReturnError:&configError];
### UI customisation
In order to enhance the user experience on the transition between your application and the SDK, you can customise some of the colors used in the SDK flow.
In order to enhance the user experience on the transition between your application and the SDK, you can customise some of the colors and fonts used in the SDK flow.
To customise:
Expand All @@ -510,7 +510,9 @@ let appearance = Appearance(
primaryColor: <DESIRED_UI_COLOR_HERE>,
primaryTitleColor: <DESIRED_UI_COLOR_HERE>,
primaryBackgroundPressedColor: <DESIRED_UI_COLOR_HERE>,
secondaryBackgroundPressedColor: <DESIRED_UI_COLOR_HERE>)
secondaryBackgroundPressedColor: <DESIRED_UI_COLOR_HERE>,
fontRegular: <DESIRED_FONT_NAME_HERE>,
fontBold: <DESIRED_FONT_NAME_HERE>))
let configBuilder = OnfidoConfig.builder()
configBuilder.withAppearance(appearance)
```
Expand All @@ -521,7 +523,9 @@ ONAppearance *appearance = [[ONAppearance alloc]
initWithPrimaryColor:<DESIRED_UI_COLOR_HERE>
primaryTitleColor:<DESIRED_UI_COLOR_HERE>
primaryBackgroundPressedColor:<DESIRED_UI_COLOR_HERE>
secondaryBackgroundPressedColor:<DESIRED_UI_COLOR_HERE>];
secondaryBackgroundPressedColor:<DESIRED_UI_COLOR_HERE>
fontRegular: <DESIRED_FONT_NAME_HERE>
fontBold: <DESIRED_FONT_NAME_HERE>];
ONFlowConfigBuilder *configBuilder = [ONFlowConfig builder];
[configBuilder withAppearance:appearance];
```
Expand All @@ -530,6 +534,8 @@ ONFlowConfigBuilder *configBuilder = [ONFlowConfig builder];
`primaryTitleColor`: Defines the text color of labels included in views such as capture confirmation buttons.
`primaryBackgroundPressedColor`: Defines the background color of capture confirmation buttons when pressed.
`secondaryBackgroundPressedColor`: Defines the background color of capture cancel buttons when pressed.
`fontRegular`: Defines the custom font name for the regular style labels.
`fontBold`: Defines the custom font name for the bold style labels.
### Localisation
Expand Down
3 changes: 2 additions & 1 deletion SampleAppObjC/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment the next line to define a global platform for your project
platform :ios, 8.0
platform :ios, 9.0

target 'SampleAppObjC' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
Expand All @@ -9,4 +9,5 @@ target 'SampleAppObjC' do
pod 'Onfido', :configurations => ['Debug']
pod 'Onfido-Release', :configurations => ['Release']
pod 'AFNetworking', '~> 3.1'
pod 'MBProgressHUD'
end
23 changes: 9 additions & 14 deletions SampleAppObjC/SampleAppObjC.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
013D95A221FF5F9400F3A654 /* TestFile.swift in Sources */ = {isa = PBXBuildFile; fileRef = 013D95A121FF5F9400F3A654 /* TestFile.swift */; };
454A79E9E4E1B4AEC48DF78A /* Pods_SampleAppObjC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DE0751CE919D4E18E58B06A0 /* Pods_SampleAppObjC.framework */; };
7F6301291FC58A43001C0309 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7F6301281FC58A43001C0309 /* AppDelegate.m */; };
7F63012C1FC58A43001C0309 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7F63012B1FC58A43001C0309 /* ViewController.m */; };
Expand All @@ -17,6 +18,8 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
013D959E21FF5F6800F3A654 /* SampleAppObjC-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SampleAppObjC-Bridging-Header.h"; sourceTree = "<group>"; };
013D95A121FF5F9400F3A654 /* TestFile.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestFile.swift; sourceTree = "<group>"; };
63BDDE1348CE568092C7FB31 /* Pods-SampleAppObjC.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SampleAppObjC.release.xcconfig"; path = "Pods/Target Support Files/Pods-SampleAppObjC/Pods-SampleAppObjC.release.xcconfig"; sourceTree = "<group>"; };
7F6301241FC58A43001C0309 /* SampleAppObjC.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleAppObjC.app; sourceTree = BUILT_PRODUCTS_DIR; };
7F6301271FC58A43001C0309 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -91,6 +94,8 @@
7F6301321FC58A43001C0309 /* LaunchScreen.storyboard */,
7F6301351FC58A43001C0309 /* Info.plist */,
7F6301361FC58A43001C0309 /* main.m */,
013D959E21FF5F6800F3A654 /* SampleAppObjC-Bridging-Header.h */,
013D95A121FF5F9400F3A654 /* TestFile.swift */,
);
path = SampleAppObjC;
sourceTree = "<group>";
Expand Down Expand Up @@ -128,7 +133,7 @@
TargetAttributes = {
7F6301231FC58A43001C0309 = {
CreatedOnToolsVersion = 9.1;
LastSwiftMigration = 0910;
LastSwiftMigration = 1010;
ProvisioningStyle = Automatic;
};
};
Expand Down Expand Up @@ -189,31 +194,20 @@
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-SampleAppObjC/Pods-SampleAppObjC-frameworks.sh",
"${PODS_ROOT}/Target Support Files/Pods-SampleAppObjC/Pods-SampleAppObjC-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework",
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/MBProgressHUD/MBProgressHUD.framework",
"${PODS_ROOT}/Onfido/Onfido.framework",
"${BUILT_PRODUCTS_DIR}/SwiftyJSON/SwiftyJSON.framework",
"${BUILT_PRODUCTS_DIR}/Swinject/Swinject.framework",
"${BUILT_PRODUCTS_DIR}/ZSWTaggedString/ZSWTaggedString.framework",
"${BUILT_PRODUCTS_DIR}/ZSWTappableLabel/ZSWTappableLabel.framework",
"${PODS_ROOT}/Onfido-Release/Onfido.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MBProgressHUD.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Onfido.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftyJSON.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Swinject.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ZSWTaggedString.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ZSWTappableLabel.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SampleAppObjC/Pods-SampleAppObjC-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SampleAppObjC/Pods-SampleAppObjC-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand All @@ -224,6 +218,7 @@
buildActionMask = 2147483647;
files = (
7F63012C1FC58A43001C0309 /* ViewController.m in Sources */,
013D95A221FF5F9400F3A654 /* TestFile.swift in Sources */,
7F6301371FC58A43001C0309 /* main.m in Sources */,
7F6301291FC58A43001C0309 /* AppDelegate.m in Sources */,
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//

0 comments on commit 0aa1cd9

Please sign in to comment.