Skip to content

Commit

Permalink
Merge pull request #6 from klippa-app/version-upgrade
Browse files Browse the repository at this point in the history
Upgrade android version and update SDK import command.
  • Loading branch information
RobinFarmer authored Aug 10, 2023
2 parents 969cfad + ad09823 commit 8d894c9
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-11]
os: [macos-13]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
Expand All @@ -48,7 +48,7 @@ jobs:
KLIPPA_IDENTITY_VERIFICATION_SDK_PASSWORD: ${{ secrets.KLIPPA_IDENTITY_VERIFICATION_SDK_PASSWORD }}
- run: |
pod install
xcodebuild -workspace KlippaIdentityVerificationSdkExample.xcworkspace -scheme KlippaIdentityVerificationSdkExample -sdk iphonesimulator SKIP_INSTALL=no ARCHS="x86_64" ONLY_ACTIVE_ARCH=NO build
xcodebuild -workspace KlippaIdentityVerificationSdkExample.xcworkspace -scheme KlippaIdentityVerificationSdkExample CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator ARCHS="x86_64" SKIP_INSTALL=NO ONLY_ACTIVE_ARCH=NO build
working-directory: ./example/ios
env:
KLIPPA_IDENTITY_VERIFICATION_SDK_URL: ${{ secrets.KLIPPA_IDENTITY_VERIFICATION_SDK_URL_IOS }}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.4

* Bump Android to 0.6.2

## 0.0.3

* Bump Android to 0.6.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Edit the file `ios/{project-name}/Info.plist` and add the `NSCameraUsageDescript

### React Native

`$ npm install @klippa/react-native/klippa-identity-verification-sdk --save`
`$ npm i @klippa/react-native-klippa-identity-verification-sdk`

Don't forget to run `pod install` in the ios folder when running the iOS app.

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ dependencies {
implementation "com.facebook.react:react-native"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

def fallbackKlippaVersion = "0.6.0"
def fallbackKlippaVersion = "0.6.2"
def klippaIdentityVerificationVersion = project.hasProperty('klippaIdentityVerificationVersion') ? project.klippaIdentityVerificationVersion : fallbackKlippaVersion
implementation "com.klippa:identity_verification:$klippaIdentityVerificationVersion"
}
Expand Down
7 changes: 7 additions & 0 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ target 'KlippaIdentityVerificationSdkExample' do
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
end


react_native_post_install(
installer,
# Set `mac_catalyst_enabled` to `true` in order to apply patches
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@klippa/react-native-klippa-identity-verification-sdk",
"title": "React Native Klippa Identity Verification SDK",
"version": "0.0.3",
"version": "0.0.4",
"description": "A React Native plugin to use the Klippa Identity Verification SDK",
"homepage": "https://github.com/klippa-app/react-native-klippa-identity-verification-sdk",
"main": "lib/commonjs/index",
Expand Down

0 comments on commit 8d894c9

Please sign in to comment.