Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
on:
pull_request:
push:
branches: [ main ]
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -16,8 +16,8 @@
- uses: actions/checkout@v5
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.32.0' # Set the desired Flutter version here
channel: 'stable'
flutter-version: "3.32.0" # Set the desired Flutter version here
channel: "stable"
- name: Install Dependencies
run: flutter pub get && cd sample && flutter pub get && cd ..
- name: Lint Flutter
Expand All @@ -29,7 +29,7 @@
timeout-minutes: 10
strategy:
matrix:
flutter-version: ['3.32.0']
flutter-version: ["3.32.0"]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-java@v5
Expand All @@ -41,7 +41,7 @@
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ matrix.flutter-version }}
channel: 'stable'
channel: "stable"
- name: Install Dependencies
run: flutter pub get && cd sample && flutter pub get && cd ..
- name: Lint Android
Expand All @@ -57,21 +57,24 @@
- name: Build Android Sample App
run: cd sample && flutter build apk && cd ..
iOS:
# TODO: Change back to macos-latest once it points to macOS 14 (Q2 '24)
runs-on: macos-14
runs-on: macos-15
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- run: touch sample/ios/smile_config.json
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.32.0' # Set the desired Flutter version here
channel: 'stable'
flutter-version: "3.32.0" # Set the desired Flutter version here
channel: "stable"
- name: Select Xcode 16.4
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "16.4"
Comment on lines +69 to +72
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Xcode 16.4 does not exist as of November 2025. The latest stable Xcode version is 16.1. Using a non-existent version will cause the workflow to fail. Verify the correct Xcode version for macOS 15 compatibility. [possible issue, importance: 9]

Suggested change
- name: Select Xcode 16.4
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "16.4"
- name: Select Xcode 16.1
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "16.1"

- name: Setup Cocoapods
uses: maxim-lobanov/setup-cocoapods@v1
with:
version: 1.14.3
- name: Install Dependencies
run: flutter pub get && cd sample && flutter pub get && cd ..
- name: Build iOS Sample App
run: cd sample/ios && pod install && flutter build ios --no-codesign && cd ..

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Changed
* Bump Android SDK to [v11.1.3](https://github.com/smileidentity/android/releases/tag/v11.1.3)
* Bump iOS SDK to [v11.1.3](https://github.com/smileidentity/ios/releases/tag/v11.1.3)

## 11.2.2 - September 18, 2025

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class SmileIDPlugin :
context = flutterPluginBinding.applicationContext

// Set wrapper info for Flutter SDK
SmileID.setWrapperInfo(WrapperSdkName.Flutter, "11.2.2")
SmileID.setWrapperInfo(WrapperSdkName.Flutter, "11.2.3")

flutterPluginBinding.platformViewRegistry.registerViewFactory(
SmileIDBiometricKYC.VIEW_TYPE_ID,
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/SmileIDPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class SmileIDPlugin: NSObject, FlutterPlugin, SmileIDApi {
let api: SmileIDApi & NSObjectProtocol = SmileIDPlugin()
SmileIDApiSetup.setUp(binaryMessenger: messenger, api: api)

SmileID.setWrapperInfo(name: .flutter, version: "11.2.2")
SmileID.setWrapperInfo(name: .flutter, version: "11.2.3")

let documentVerificationFactory = SmileIDDocumentVerification.Factory(
messenger: registrar.messenger()
Expand Down
2 changes: 1 addition & 1 deletion ios/smile_id.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'SmileID', '11.1.1'
s.dependency 'SmileID', '11.1.3'
# for development alongside sample/ios/Podfile uncomment the version and specify
# tag or branch in sample/ios/Podfile
# s.dependency "SmileID"
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: smile_id
description: The Official Smile ID Flutter SDK
version: 11.2.2
version: 11.2.3
homepage: "https://usesmileid.com"

environment:
Expand Down
2 changes: 2 additions & 0 deletions sample/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/

# IntelliJ related
Expand Down
2 changes: 1 addition & 1 deletion sample/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>13.0</string>
</dict>
</plist>
40 changes: 18 additions & 22 deletions sample/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,19 @@ PODS:
- FingerprintJS/SystemControl
- FingerprintJS/SystemControl (1.6.0)
- Flutter (1.0.0)
- lottie-ios (4.5.2)
- Sentry (8.55.0):
- Sentry/Core (= 8.55.0)
- Sentry/Core (8.55.0)
- smile_id (11.2.0):
- Sentry (8.57.1):
- Sentry/Core (= 8.57.1)
- Sentry/Core (8.57.1)
- smile_id (11.2.3):
- Flutter
- SmileID (= 11.1.1)
- SmileID (11.1.1):
- SmileID (= 11.1.3)
- SmileID (11.1.3):
- SmileIDSDK (= 11.1.3)
- SmileIDSDK (11.1.3):
- FingerprintJS (= 1.6.0)
- lottie-ios (= 4.5.2)
- Sentry (= 8.55.0)
- SmileIDSecurity (= 11.1.1)
- ZIPFoundation (= 0.9.19)
- SmileIDSecurity (11.1.1)
- ZIPFoundation (0.9.19)
- Sentry (= 8.57.1)
- ZIPFoundation (= 0.9.20)
- ZIPFoundation (0.9.20)

DEPENDENCIES:
- Flutter (from `Flutter`)
Expand All @@ -28,10 +26,9 @@ DEPENDENCIES:
SPEC REPOS:
trunk:
- FingerprintJS
- lottie-ios
- Sentry
- SmileID
- SmileIDSecurity
- SmileIDSDK
- ZIPFoundation

EXTERNAL SOURCES:
Expand All @@ -42,13 +39,12 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
FingerprintJS: 3a0c3e7f5035ecae199e5e5836200d9b20f1266a
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
lottie-ios: 96784afc26ea031d3e2b6cae342a4b8915072489
Sentry: f7dddfabe691274d6d630f04621e1345f9d6b9e0
smile_id: 34d2793c6fb8c2116e38b78f69ecaf6e84f01b89
SmileID: 814fac7c88593349680276789688496f1a948403
SmileIDSecurity: 2849074a33fa738cb7478f90b32b7f7333a14630
ZIPFoundation: b8c29ea7ae353b309bc810586181fd073cb3312c
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
Sentry: ea4ca7cd1a46c77dcc8123804ce36d8f5603a841
smile_id: d74d72d2c1faf8efe22b0fd092621dfa73d1c668
SmileID: ba24cf68edfaecebec15997a1f493427dad21b1c
SmileIDSDK: e648d298cf8d9af10292836e4f861aba03eff374
ZIPFoundation: dfd3d681c4053ff7e2f7350bc4e53b5dba3f5351

PODFILE CHECKSUM: 81be4fc09878044dc75c762493ad56e861d5bf57

Expand Down
28 changes: 26 additions & 2 deletions sample/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
5B80C33C8AA5AEC1DEEE0454 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61B805DA5C7C6EBD647CDE99 /* Pods_Runner.framework */; };
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
Expand Down Expand Up @@ -54,6 +55,7 @@
61B805DA5C7C6EBD647CDE99 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
857D4E11B730E02CEB2ADE45 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
Expand Down Expand Up @@ -82,6 +84,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
5B80C33C8AA5AEC1DEEE0454 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -122,6 +125,7 @@
9740EEB11CF90186004384FC /* Flutter */ = {
isa = PBXGroup;
children = (
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */,
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
9740EEB21CF90195004384FC /* Debug.xcconfig */,
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
Expand Down Expand Up @@ -207,6 +211,9 @@
dependencies = (
);
name = Runner;
packageProductDependencies = (
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */,
);
productName = Runner;
productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
productType = "com.apple.product-type.application";
Expand All @@ -218,7 +225,7 @@
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 1430;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
331C8080294A63A400263BE5 = {
Expand All @@ -240,6 +247,9 @@
Base,
);
mainGroup = 97C146E51CF9000F007C117D;
packageReferences = (
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */,
);
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
projectDirPath = "";
projectRoot = "";
Expand Down Expand Up @@ -304,7 +314,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin\n";
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -729,6 +739,20 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCLocalSwiftPackageReference section */
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
};
/* End XCLocalSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */ = {
isa = XCSwiftPackageProductDependency;
productName = FlutterGeneratedPluginSwiftPackage;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Prepare Flutter Framework Script"
scriptText = "/bin/sh &quot;$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh&quot; prepare&#10;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PreActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
Expand All @@ -26,6 +44,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
Expand Down Expand Up @@ -54,11 +73,13 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
enableGPUValidationMode = "1"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand Down
2 changes: 1 addition & 1 deletion sample/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
Loading