Skip to content

Commit f31d898

Browse files
authored
Merge 4c2f58c into 1448bb2
2 parents 1448bb2 + 4c2f58c commit f31d898

File tree

12 files changed

+953
-1901
lines changed

12 files changed

+953
-1901
lines changed

babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ module.exports = {
1414
],
1515
},
1616
},
17+
plugins: [['@babel/plugin-proposal-private-property-in-object', { loose: true }]],
1718
};

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ First, add the `google-services` plugin as a dependency inside of your `/android
6161
buildscript {
6262
dependencies {
6363
// ... other dependencies
64-
classpath 'com.google.gms:google-services:4.3.8'
64+
classpath 'com.google.gms:google-services:4.3.10'
6565
// Add me --- /\
6666
}
6767
}
@@ -193,7 +193,7 @@ project.ext {
193193
// Overriding Library SDK Versions
194194
firebase: [
195195
// Override Firebase SDK Version
196-
bom : "28.0.1"
196+
bom : "28.3.1"
197197
],
198198
],
199199
])
@@ -208,7 +208,7 @@ Open your projects `/ios/Podfile` and add any of the globals shown below to the
208208

209209
```ruby
210210
# Override Firebase SDK Version
211-
$FirebaseSDKVersion = '8.0.0'
211+
$FirebaseSDKVersion = '8.5.0'
212212
```
213213

214214
Once changed, reinstall your projects pods via pod install and rebuild your project with `npx react-native run-ios`.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
},
4545
"devDependencies": {
4646
"@babel/core": "^7.14.8",
47-
"@babel/preset-env": "7.14.9",
47+
"@babel/preset-env": "7.15.0",
4848
"@octokit/core": "^3.5.1",
4949
"@tsconfig/node12": "^1.0.9",
50-
"@types/jest": "^26.0.24",
51-
"@types/react": "^17.0.15",
52-
"@types/react-native": "^0.64.12",
53-
"@typescript-eslint/eslint-plugin": "^4.29.0",
54-
"@typescript-eslint/parser": "^4.29.0",
50+
"@types/jest": "^27.0.0",
51+
"@types/react": "^17.0.17",
52+
"@types/react-native": "^0.64.13",
53+
"@typescript-eslint/eslint-plugin": "^4.29.1",
54+
"@typescript-eslint/parser": "^4.29.1",
5555
"babel-jest": "^27.0.6",
5656
"codecov": "^3.8.3",
5757
"conventional-changelog-cli": "^2.0.34",
@@ -72,7 +72,7 @@
7272
"typescript": "^4.3.5"
7373
},
7474
"resolutions": {
75-
"@types/react": "^17.0.15"
75+
"@types/react": "^17.0.17"
7676
},
7777
"workspaces": {
7878
"packages": [

packages/app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"react-native": "*"
5757
},
5858
"dependencies": {
59-
"@expo/config-plugins": "^3.0.6",
59+
"@expo/config-plugins": "^3.0.7",
6060
"opencollective-postinstall": "^2.0.1",
6161
"superstruct": "^0.6.2"
6262
},
@@ -72,10 +72,10 @@
7272
"targetSdk": 30,
7373
"compileSdk": 30,
7474
"buildTools": "30.0.2",
75-
"firebase": "28.3.0",
75+
"firebase": "28.3.1",
7676
"firebaseCrashlyticsGradle": "2.7.1",
7777
"firebasePerfGradle": "1.4.0",
78-
"gmsGoogleServicesGradle": "4.3.8",
78+
"gmsGoogleServicesGradle": "4.3.10",
7979
"playServicesAuth": "19.2.0"
8080
}
8181
}

packages/app/plugin/__tests__/__snapshots__/androidPlugin.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ buildscript {
138138
jcenter()
139139
}
140140
dependencies {
141-
classpath 'com.google.gms:google-services:4.3.8'
141+
classpath 'com.google.gms:google-services:4.3.10'
142142
classpath(\\"com.android.tools.build:gradle:4.1.0\\")
143143
144144
// NOTE: Do not place your application dependencies here; they belong

packages/crashlytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@react-native-firebase/app": "12.5.0"
3333
},
3434
"dependencies": {
35-
"@expo/config-plugins": "^3.0.6",
35+
"@expo/config-plugins": "^3.0.7",
3636
"stacktrace-js": "^2.0.0"
3737
},
3838
"publishConfig": {

packages/firestore/__tests__/firestore.test.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ describe('Storage', function () {
144144
expect(query.constructor.name).toEqual('FirestoreQuery');
145145
});
146146

147-
it('throws if id is not a string', function () {
147+
it('throws if id is not a string', async function () {
148148
try {
149149
// @ts-ignore the type is incorrect *on purpose* to test type checking in javascript
150150
firebase.firestore().collectionGroup(123);
@@ -154,7 +154,7 @@ describe('Storage', function () {
154154
}
155155
});
156156

157-
it('throws if id is empty', function () {
157+
it('throws if id is empty', async function () {
158158
try {
159159
firebase.firestore().collectionGroup('');
160160
return Promise.reject(new Error('Did not throw an Error.'));
@@ -163,7 +163,7 @@ describe('Storage', function () {
163163
}
164164
});
165165

166-
it('throws if id contains forward-slash', function () {
166+
it('throws if id contains forward-slash', async function () {
167167
try {
168168
firebase.firestore().collectionGroup(`someCollection/bar`);
169169
return Promise.reject(new Error('Did not throw an Error.'));
@@ -174,7 +174,7 @@ describe('Storage', function () {
174174
});
175175

176176
describe('collection()', function () {
177-
it('throws if path is not a string', function () {
177+
it('throws if path is not a string', async function () {
178178
try {
179179
// @ts-ignore the type is incorrect *on purpose* to test type checking in javascript
180180
firebase.firestore().collection(123);
@@ -184,7 +184,7 @@ describe('Storage', function () {
184184
}
185185
});
186186

187-
it('throws if path is empty string', function () {
187+
it('throws if path is empty string', async function () {
188188
try {
189189
firebase.firestore().collection('');
190190
return Promise.reject(new Error('Did not throw an Error.'));
@@ -193,7 +193,7 @@ describe('Storage', function () {
193193
}
194194
});
195195

196-
it('throws if path does not point to a collection', function () {
196+
it('throws if path does not point to a collection', async function () {
197197
try {
198198
firebase.firestore().collection(`firestore/bar`);
199199
return Promise.reject(new Error('Did not throw an Error.'));
@@ -202,15 +202,15 @@ describe('Storage', function () {
202202
}
203203
});
204204

205-
it('returns a new CollectionReference', function () {
205+
it('returns a new CollectionReference', async function () {
206206
const collectionReference = firebase.firestore().collection('firestore');
207207
expect(collectionReference.constructor.name).toEqual('FirestoreCollectionReference');
208208
expect(collectionReference.path).toEqual('firestore');
209209
});
210210
});
211211

212212
describe('doc()', function () {
213-
it('throws if path is not a string', function () {
213+
it('throws if path is not a string', async function () {
214214
try {
215215
// @ts-ignore the type is incorrect *on purpose* to test type checking in javascript
216216
firebase.firestore().doc(123);
@@ -220,7 +220,7 @@ describe('Storage', function () {
220220
}
221221
});
222222

223-
it('throws if path is empty string', function () {
223+
it('throws if path is empty string', async function () {
224224
try {
225225
firebase.firestore().doc('');
226226
return Promise.reject(new Error('Did not throw an Error.'));
@@ -229,7 +229,7 @@ describe('Storage', function () {
229229
}
230230
});
231231

232-
it('throws if path does not point to a document', function () {
232+
it('throws if path does not point to a document', async function () {
233233
try {
234234
firebase.firestore().doc(`${COLLECTION}/bar/baz`);
235235
return Promise.reject(new Error('Did not throw an Error.'));
@@ -238,7 +238,7 @@ describe('Storage', function () {
238238
}
239239
});
240240

241-
it('returns a new DocumentReference', function () {
241+
it('returns a new DocumentReference', async function () {
242242
const docRef = firebase.firestore().doc(`${COLLECTION}/bar`);
243243
expect(docRef.constructor.name).toEqual('FirestoreDocumentReference');
244244
expect(docRef.path).toEqual(`${COLLECTION}/bar`);

packages/perf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@react-native-firebase/app": "12.5.0"
3333
},
3434
"dependencies": {
35-
"@expo/config-plugins": "^3.0.6"
35+
"@expo/config-plugins": "^3.0.7"
3636
},
3737
"publishConfig": {
3838
"access": "public"

tests/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ buildscript {
3131
mavenCentral()
3232
}
3333
dependencies {
34-
classpath 'com.google.gms:google-services:4.3.8' // https://developers.google.com/android/guides/google-services-plugin
34+
classpath 'com.google.gms:google-services:4.3.10' // https://developers.google.com/android/guides/google-services-plugin
3535
classpath 'com.android.tools.build:gradle:7.0.0'
3636
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
3737
classpath 'com.google.firebase:perf-plugin:1.4.0'

tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"react-native": "0.64.2"
2828
},
2929
"devDependencies": {
30-
"@firebase/rules-unit-testing": "^1.3.12",
30+
"@firebase/rules-unit-testing": "1.3.12",
3131
"@react-native-firebase/private-tests-helpers": "0.0.13",
3232
"a2a": "^0.2.0",
3333
"babel-plugin-istanbul": "^6.0.0",
3434
"detox": "17.14.6",
35-
"firebase-tools": "^9.16.0",
35+
"firebase-tools": "9.16.0",
3636
"jest-circus": "^27.0.6",
3737
"jest-environment-node": "^27.0.6",
3838
"jet": "^0.6.6-0",

0 commit comments

Comments
 (0)