Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #18 from onfido/task/upgrade-sdk-version-to-16.1.0
Browse files Browse the repository at this point in the history
Updating iOS sample project with latest version of SDK
  • Loading branch information
anuragajwani authored Dec 19, 2019
2 parents eebdc3e + bb3fb88 commit c20da5b
Show file tree
Hide file tree
Showing 7 changed files with 486 additions and 475 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Don't use it straight away in production without reviewing it and without carefu

### iOS

- Xcode 10.2
- Xcode 11.3

## How to run it

Expand Down
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
target 'ReactNativeSampleApp' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
use_frameworks!
pod 'Onfido', '13.0.0'
pod 'Onfido', '16.1.0'

# Pods for ReactNativeSampleApp

Expand Down
12 changes: 6 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
PODS:
- Onfido (13.0.0)
- Onfido (16.1.0)

DEPENDENCIES:
- Onfido (= 13.0.0)
- Onfido (= 16.1.0)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
trunk:
- Onfido

SPEC CHECKSUMS:
Onfido: 1ae4d2260ac81331be91fb0bba32af3b080cd378
Onfido: 9ad5aa9c4c858c9a496d8d956cd8a951e1ce6c17

PODFILE CHECKSUM: d83db93d4ebfa59f57cf16627dce8948e222aafa
PODFILE CHECKSUM: ea672f2cb44104e8e0ce7757bf80f0ee63e91354

COCOAPODS: 1.6.1
COCOAPODS: 1.8.4
11 changes: 5 additions & 6 deletions ios/ReactNativeSampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
Expand Down Expand Up @@ -1160,15 +1161,11 @@
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ReactNativeSampleApp/Pods-ReactNativeSampleApp-frameworks.sh",
"${PODS_ROOT}/Onfido/Onfido.framework",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
);
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Onfido.framework",
);
Expand Down Expand Up @@ -1363,6 +1360,7 @@
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = ReactNativeSampleApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
Expand All @@ -1387,6 +1385,7 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = ReactNativeSampleApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
"$(inherited)",
Expand Down Expand Up @@ -1423,7 +1422,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = appletvos;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.2;
TVOS_DEPLOYMENT_TARGET = 10.0;
};
name = Debug;
};
Expand All @@ -1449,7 +1448,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = appletvos;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.2;
TVOS_DEPLOYMENT_TARGET = 10.0;
};
name = Release;
};
Expand Down
1 change: 1 addition & 0 deletions ios/ReactNativeSampleApp/OnfidoSDK.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class OnfidoSDK: NSObject {

do {
let onfidoRun = try onfidoFlow.run()
onfidoRun.modalPresentationStyle = .fullScreen
UIApplication.shared.windows.first?.rootViewController?.present(onfidoRun, animated: true)
} catch {
// iOS simulator does not work because of camera
Expand Down
Loading

0 comments on commit c20da5b

Please sign in to comment.