diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb2f35d..b2e4467 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b7743d..6d3b46a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.4 + +* Bump Android to 0.6.2 + ## 0.0.3 * Bump Android to 0.6.0 diff --git a/README.md b/README.md index e76d8a9..12e1d9c 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/android/build.gradle b/android/build.gradle index 2e790fd..0f3965b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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" } diff --git a/example/ios/Podfile b/example/ios/Podfile index ee9e7c2..d31b3d3 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -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 diff --git a/package.json b/package.json index 7841230..16fb9f6 100644 --- a/package.json +++ b/package.json @@ -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",