This repository was archived by the owner on Mar 26, 2023. It is now read-only.
File tree 9 files changed +26
-25
lines changed
9 files changed +26
-25
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.2.3
2
+
3
+ * Replace CryptoKit pod with Apple's CryptoKit framework
4
+
1
5
## 0.2.2
2
- * Fixed crash on iOS when using Microsoft sign in. Thanks to [ @camillobucciarelli ] ( https://github.com/camillobucciarelli ) .
6
+
7
+ * Fixed crash on iOS when using Microsoft sign in. Thanks
8
+ to [ @camillobucciarelli ] ( https://github.com/camillobucciarelli ) .
3
9
4
10
## 0.2.1
11
+
5
12
* Fixed Firebase not initialised issue when using this plugin
6
13
7
14
## 0.2.0
15
+
8
16
* Migrated to ` firebase_auth ` ^0.18.0+1
9
17
* Migrated to ` firebase_auth ` ^0.5.0
10
18
* Added ` linkExistingUserWithCredentials ` to link existing user with OAuth credentials
Original file line number Diff line number Diff line change 1
1
PODS:
2
- - CryptoKit (0.4.0)
3
2
- Firebase/Auth (6.26.0):
4
3
- Firebase/CoreOnly
5
4
- FirebaseAuth (~> 6.5.3)
11
10
- firebase_core
12
11
- Flutter
13
12
- firebase_auth_oauth (0.0.1):
14
- - CryptoKit (~> 0.4)
15
13
- firebase_auth
16
14
- Flutter
17
15
- firebase_core (0.5.0):
@@ -69,7 +67,6 @@ DEPENDENCIES:
69
67
70
68
SPEC REPOS:
71
69
trunk:
72
- - CryptoKit
73
70
- Firebase
74
71
- FirebaseAuth
75
72
- FirebaseAuthInterop
@@ -93,10 +90,9 @@ EXTERNAL SOURCES:
93
90
:path: Flutter
94
91
95
92
SPEC CHECKSUMS:
96
- CryptoKit: 778b0eb14434535f70fd1037b297841dd83e3c37
97
93
Firebase: 7cf5f9c67f03cb3b606d1d6535286e1080e57eb6
98
94
firebase_auth: c42c06a212439824b5da53437da905931e8e6b9a
99
- firebase_auth_oauth: e8041e29e7004b8656784c64b367e94ea97c1010
95
+ firebase_auth_oauth: db7ad66aa729b98ed87ce68cfaa6bbf96cd65c74
100
96
firebase_core: 3134fe79d257d430f163b558caf52a10a87efe8a
101
97
FirebaseAuth: 7047aec89c0b17ecd924a550c853f0c27ac6015e
102
98
FirebaseAuthInterop: a0f37ae05833af156e72028f648d313f7e7592e9
Original file line number Diff line number Diff line change 219
219
);
220
220
inputPaths = (
221
221
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
222
- "${BUILT_PRODUCTS_DIR}/CryptoKit/CryptoKit.framework",
223
222
"${PODS_ROOT}/../Flutter/Flutter.framework",
224
223
"${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework",
225
224
"${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework",
228
227
);
229
228
name = "[CP] Embed Pods Frameworks";
230
229
outputPaths = (
231
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CryptoKit.framework",
232
230
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
233
231
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework",
234
232
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework",
Original file line number Diff line number Diff line change @@ -77,21 +77,21 @@ packages:
77
77
path: ".."
78
78
relative: true
79
79
source: path
80
- version: "0.2.0 "
80
+ version: "0.2.3 "
81
81
firebase_auth_oauth_platform_interface:
82
82
dependency: transitive
83
83
description:
84
84
name: firebase_auth_oauth_platform_interface
85
85
url: "https://pub.dartlang.org"
86
86
source: hosted
87
- version: "0.2.0 "
87
+ version: "0.2.1 "
88
88
firebase_auth_oauth_web:
89
89
dependency: transitive
90
90
description:
91
- path: "../../ firebase_auth_oauth_web"
92
- relative: true
93
- source: path
94
- version: "0.2.0 "
91
+ name: firebase_auth_oauth_web
92
+ url: "https://pub.dartlang.org"
93
+ source: hosted
94
+ version: "0.2.1 "
95
95
firebase_auth_platform_interface:
96
96
dependency: transitive
97
97
description:
Original file line number Diff line number Diff line change @@ -55,11 +55,9 @@ extension FirebaseAuthOAuthViewController: ASAuthorizationControllerDelegate {
55
55
56
56
@available ( iOS 13 , * )
57
57
private func sha256( _ input: String ) -> String {
58
- let inputData = Data ( input. utf8)
59
- return inputData. digest ( using: . sha256) . compactMap {
58
+ return SHA256 . hash ( data: Data ( input. utf8) ) . compactMap {
60
59
return String ( format: " %02x " , $0)
61
60
} . joined ( )
62
-
63
61
}
64
62
65
63
// Adapted from https://auth0.com/docs/api-auth/tutorials/nonce#generate-a-cryptographically-random-nonce
Original file line number Diff line number Diff line change @@ -16,8 +16,9 @@ A new flutter plugin project.
16
16
s . source_files = 'Classes/**/*'
17
17
s . dependency 'Flutter'
18
18
s . dependency 'firebase_auth'
19
- s . dependency 'CryptoKit ' , '~> 0.4 '
19
+ # s.dependency 'CryptoSwift ', '~> 1.2.0 '
20
20
s . framework = 'AuthenticationServices'
21
+ s . framework = 'CryptoKit'
21
22
s . static_framework = true
22
23
s . platform = :ios , '9.0'
23
24
Original file line number Diff line number Diff line change @@ -70,14 +70,14 @@ packages:
70
70
name: firebase_auth_oauth_platform_interface
71
71
url: "https://pub.dartlang.org"
72
72
source: hosted
73
- version: "0.2.0 "
73
+ version: "0.2.1 "
74
74
firebase_auth_oauth_web:
75
75
dependency: "direct main"
76
76
description:
77
- path: "../ firebase_auth_oauth_web"
78
- relative: true
79
- source: path
80
- version: "0.2.0 "
77
+ name: firebase_auth_oauth_web
78
+ url: "https://pub.dartlang.org"
79
+ source: hosted
80
+ version: "0.2.1 "
81
81
firebase_auth_platform_interface:
82
82
dependency: transitive
83
83
description:
Original file line number Diff line number Diff line change 1
1
name : firebase_auth_oauth
2
2
description : A Flutter plugin that makes it easy to perform OAuth sign in flows using FirebaseAuth. It also includes support for Sign in by Apple for Firebase.
3
- version : 0.2.2
3
+ version : 0.2.3
4
4
author :
Amr Yousef <[email protected] >
5
5
homepage : https://github.com/amrfarid140/firebase_auth_oauth/tree/master/firebase_auth_oauth
6
6
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ packages:
70
70
name: firebase_auth_oauth_platform_interface
71
71
url: "https://pub.dartlang.org"
72
72
source: hosted
73
- version: "0.2.0 "
73
+ version: "0.2.1 "
74
74
firebase_auth_platform_interface:
75
75
dependency: transitive
76
76
description:
You can’t perform that action at this time.
0 commit comments