Skip to content

Commit 404f4b3

Browse files
russellwheatleyLocLt-Mobile
authored andcommitted
feat: bump Firebase iOS SDK 10.16.0 (firebase#11698)
* feat: bump Firebase iOS SDK `10.16.0` * ci: use `iPhone 15 Pro` * ci: use `iPhone 14 Pro` * test(firestore): update exception message test. apple has changed * Discard changes to .github/workflows/e2e_tests.yaml * chore: analyze issue
1 parent 26167ac commit 404f4b3

File tree

3 files changed

+29
-13
lines changed

3 files changed

+29
-13
lines changed

packages/cloud_firestore/cloud_firestore/example/integration_test/query_e2e.dart

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,8 +2225,13 @@ void runQueryTests() {
22252225
.get();
22262226
} catch (e) {
22272227
expect(
2228-
(e as FirebaseException).message,
2229-
contains('An error occurred while parsing query arguments'),
2228+
(e as FirebaseException)
2229+
.message!
2230+
.contains('Client specified an invalid argument.') ||
2231+
e.message!.contains(
2232+
'An error occurred while parsing query arguments',
2233+
),
2234+
isTrue,
22302235
);
22312236
expect(e, isA<FirebaseException>());
22322237
}
@@ -2403,10 +2408,13 @@ void runQueryTests() {
24032408
.get();
24042409
} catch (e) {
24052410
expect(
2406-
(e as FirebaseException).message,
2407-
contains(
2408-
'An error occurred while parsing query arguments',
2409-
),
2411+
(e as FirebaseException)
2412+
.message!
2413+
.contains('Client specified an invalid argument.') ||
2414+
e.message!.contains(
2415+
'An error occurred while parsing query arguments',
2416+
),
2417+
isTrue,
24102418
);
24112419
expect(e, isA<FirebaseException>());
24122420
}

packages/cloud_firestore/cloud_firestore/example/integration_test/second_database.dart

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,8 +1813,13 @@ void runSecondDatabaseTests() {
18131813
.get();
18141814
} catch (e) {
18151815
expect(
1816-
(e as FirebaseException).message,
1817-
contains('An error occurred while parsing query arguments'),
1816+
(e as FirebaseException)
1817+
.message!
1818+
.contains('Client specified an invalid argument.') ||
1819+
e.message!.contains(
1820+
'An error occurred while parsing query arguments',
1821+
),
1822+
isTrue,
18181823
);
18191824
expect(e, isA<FirebaseException>());
18201825
}
@@ -1876,10 +1881,13 @@ void runSecondDatabaseTests() {
18761881
.get();
18771882
} catch (e) {
18781883
expect(
1879-
(e as FirebaseException).message,
1880-
contains(
1881-
'An error occurred while parsing query arguments',
1882-
),
1884+
(e as FirebaseException)
1885+
.message!
1886+
.contains('Client specified an invalid argument.') ||
1887+
e.message!.contains(
1888+
'An error occurred while parsing query arguments',
1889+
),
1890+
isTrue,
18831891
);
18841892
expect(e, isA<FirebaseException>());
18851893
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# https://firebase.google.com/support/release-notes/ios
22
def firebase_sdk_version!()
3-
'10.15.0'
3+
'10.16.0'
44
end

0 commit comments

Comments
 (0)