Skip to content

Commit 6079db0

Browse files
committed
Fix the bug where users cannot sign in after resetting Face ID and setting up a new Face ID on iOS
1 parent 07766d1 commit 6079db0

9 files changed

Lines changed: 34 additions & 28 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.5
2+
3+
* Fix the bug where users cannot sign in after resetting Face ID and setting up a new Face ID on iOS
4+
15
## 1.0.4
26

37
* Update dependencies android-biometric-signature to 1.0.4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Generate key pair and signing (NIST P-256 EC key pair using ECDSA) using Local A
1111
It is really easy to use! You should ensure that you add the `local_auth_signature` as a dependency in your flutter project.
1212

1313
```yaml
14-
local_auth_signature: "^1.0.4"
14+
local_auth_signature: "^1.0.5"
1515
```
1616
1717
## Usage

example/ios/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- local_auth_signature (1.0.0):
3+
- local_auth_signature (1.0.1):
44
- Flutter
5-
- SignatureBiometricSwift (~> 1.0.6)
6-
- SignatureBiometricSwift (1.0.6)
5+
- SignatureBiometricSwift (~> 1.0.8)
6+
- SignatureBiometricSwift (1.0.8)
77

88
DEPENDENCIES:
99
- Flutter (from `Flutter`)
@@ -21,9 +21,9 @@ EXTERNAL SOURCES:
2121

2222
SPEC CHECKSUMS:
2323
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
24-
local_auth_signature: 733566170b5fee75709761f770801671c91daf9f
25-
SignatureBiometricSwift: 7447bcee210b0ace2d28ea9e564638ebe6de6bd6
24+
local_auth_signature: 9db9c5d2597cb314a7a1db136aaf210eb9bd7d33
25+
SignatureBiometricSwift: 5e14724cacaf0feaec439f074fe1785ece66396b
2626

2727
PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d
2828

29-
COCOAPODS: 1.11.3
29+
COCOAPODS: 1.12.1

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -68,7 +68,6 @@
6868
6CF537F568D727F89F8957AF /* Pods-Runner.release.xcconfig */,
6969
C745E87A05B6DECF2D01A5A9 /* Pods-Runner.profile.xcconfig */,
7070
);
71-
name = Pods;
7271
path = Pods;
7372
sourceTree = "<group>";
7473
};
@@ -156,7 +155,7 @@
156155
97C146E61CF9000F007C117D /* Project object */ = {
157156
isa = PBXProject;
158157
attributes = {
159-
LastUpgradeCheck = 1300;
158+
LastUpgradeCheck = 1430;
160159
ORGANIZATIONNAME = "";
161160
TargetAttributes = {
162161
97C146ED1CF9000F007C117D = {
@@ -200,10 +199,12 @@
200199
/* Begin PBXShellScriptBuildPhase section */
201200
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
202201
isa = PBXShellScriptBuildPhase;
202+
alwaysOutOfDate = 1;
203203
buildActionMask = 2147483647;
204204
files = (
205205
);
206206
inputPaths = (
207+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
207208
);
208209
name = "Thin Binary";
209210
outputPaths = (
@@ -253,6 +254,7 @@
253254
};
254255
9740EEB61CF901F6004384FC /* Run Script */ = {
255256
isa = PBXShellScriptBuildPhase;
257+
alwaysOutOfDate = 1;
256258
buildActionMask = 2147483647;
257259
files = (
258260
);
@@ -356,14 +358,14 @@
356358
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
357359
CLANG_ENABLE_MODULES = YES;
358360
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
359-
DEVELOPMENT_TEAM = 84SHK54Q5B;
361+
DEVELOPMENT_TEAM = 3ATXW43MG6;
360362
ENABLE_BITCODE = NO;
361363
INFOPLIST_FILE = Runner/Info.plist;
362364
LD_RUNPATH_SEARCH_PATHS = (
363365
"$(inherited)",
364366
"@executable_path/Frameworks",
365367
);
366-
PRODUCT_BUNDLE_IDENTIFIER = com.prongbang.localAuthSignatureExample;
368+
PRODUCT_BUNDLE_IDENTIFIER = com.prongbang.localAuthSignature;
367369
PRODUCT_NAME = "$(TARGET_NAME)";
368370
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
369371
SWIFT_VERSION = 5.0;
@@ -485,14 +487,14 @@
485487
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
486488
CLANG_ENABLE_MODULES = YES;
487489
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
488-
DEVELOPMENT_TEAM = 84SHK54Q5B;
490+
DEVELOPMENT_TEAM = 3ATXW43MG6;
489491
ENABLE_BITCODE = NO;
490492
INFOPLIST_FILE = Runner/Info.plist;
491493
LD_RUNPATH_SEARCH_PATHS = (
492494
"$(inherited)",
493495
"@executable_path/Frameworks",
494496
);
495-
PRODUCT_BUNDLE_IDENTIFIER = com.prongbang.localAuthSignatureExample;
497+
PRODUCT_BUNDLE_IDENTIFIER = com.prongbang.localAuthSignature;
496498
PRODUCT_NAME = "$(TARGET_NAME)";
497499
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
498500
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -508,14 +510,14 @@
508510
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
509511
CLANG_ENABLE_MODULES = YES;
510512
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
511-
DEVELOPMENT_TEAM = 84SHK54Q5B;
513+
DEVELOPMENT_TEAM = 3ATXW43MG6;
512514
ENABLE_BITCODE = NO;
513515
INFOPLIST_FILE = Runner/Info.plist;
514516
LD_RUNPATH_SEARCH_PATHS = (
515517
"$(inherited)",
516518
"@executable_path/Frameworks",
517519
);
518-
PRODUCT_BUNDLE_IDENTIFIER = com.prongbang.localAuthSignatureExample;
520+
PRODUCT_BUNDLE_IDENTIFIER = com.prongbang.localAuthSignature;
519521
PRODUCT_NAME = "$(TARGET_NAME)";
520522
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
521523
SWIFT_VERSION = 5.0;

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1300"
3+
LastUpgradeVersion = "1430"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/ios/Runner/Info.plist

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>CADisableMinimumFrameDurationOnPhone</key>
6+
<true/>
57
<key>CFBundleDevelopmentRegion</key>
68
<string>$(DEVELOPMENT_LANGUAGE)</string>
79
<key>CFBundleDisplayName</key>
@@ -24,6 +26,10 @@
2426
<string>$(FLUTTER_BUILD_NUMBER)</string>
2527
<key>LSRequiresIPhoneOS</key>
2628
<true/>
29+
<key>NSFaceIDUsageDescription</key>
30+
<string>This application wants to access your TouchID or FaceID</string>
31+
<key>UIApplicationSupportsIndirectInputEvents</key>
32+
<true/>
2733
<key>UILaunchStoryboardName</key>
2834
<string>LaunchScreen</string>
2935
<key>UIMainStoryboardFile</key>
@@ -43,11 +49,5 @@
4349
</array>
4450
<key>UIViewControllerBasedStatusBarAppearance</key>
4551
<false/>
46-
<key>CADisableMinimumFrameDurationOnPhone</key>
47-
<true/>
48-
<key>UIApplicationSupportsIndirectInputEvents</key>
49-
<true/>
50-
<key>NSFaceIDUsageDescription</key>
51-
<string>This application wants to access your TouchID or FaceID</string>
5252
</dict>
5353
</plist>

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ packages:
8989
path: ".."
9090
relative: true
9191
source: path
92-
version: "1.0.3"
92+
version: "1.0.5"
9393
matcher:
9494
dependency: transitive
9595
description:

ios/local_auth_signature.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
Pod::Spec.new do |s|
77
s.name = 'local_auth_signature'
8-
s.version = '1.0.0'
8+
s.version = '1.0.1'
99
s.summary = 'Generate key pair and signing using Local Authentication for Android and iOS.'
1010
s.description = <<-DESC
1111
Generate key pair and signing using Local Authentication for Android and iOS.
@@ -16,7 +16,7 @@ Generate key pair and signing using Local Authentication for Android and iOS.
1616
s.source = { :path => '.' }
1717
s.source_files = 'Classes/**/*'
1818
s.dependency 'Flutter'
19-
s.dependency 'SignatureBiometricSwift', '~> 1.0.6'
19+
s.dependency 'SignatureBiometricSwift', '~> 1.0.8'
2020
s.platform = :ios, '11.0'
21-
s.swift_version = ["4.0", "4.1", "4.2", "5.0", "5.1", "5.2", "5.3", "5.4", "5.5"]
21+
s.swift_version = ["4.0", "4.1", "4.2", "5.0", "5.1", "5.2", "5.3", "5.4", "5.5", "5.6", "5.7", "5.8", "5.9"]
2222
end

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: local_auth_signature
22
description: Generate key pair and signing (NIST P-256 EC key pair using ECDSA) using Local Authentication for Android and iOS.
3-
version: 1.0.4
3+
version: 1.0.5
44
homepage: https://github.com/prongbang/local_auth_signature
55

66
environment:

0 commit comments

Comments
 (0)