File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
.github/workflows/scripts Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,16 @@ service firebase.storage {
5
5
allow read, write: if false;
6
6
}
7
7
8
- match /writeOnly.txt {
8
+ match /writeOnly.jpeg {
9
9
allow read: if false;
10
10
allow write: if true;
11
11
}
12
12
13
- match /react-native-tests/{document=**} {
13
+ match /playground/{document=**} {
14
+ allow read, write: if true;
15
+ }
16
+
17
+ match /react-native-firebase-testing/{document=**} {
14
18
allow read, write: if true;
15
19
}
16
20
}
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ const testingUtils = require('@firebase/rules-unit-testing');
3
3
// TODO make more unique?
4
4
const ID = Date . now ( ) ;
5
5
6
- const PATH_ROOT = 'react-native-tests ' ;
6
+ const PATH_ROOT = 'playground ' ;
7
7
const PATH = `${ PATH_ROOT } /${ ID } ` ;
8
- const WRITE_ONLY_NAME = 'writeOnly.txt ' ;
8
+ const WRITE_ONLY_NAME = 'writeOnly.jpeg ' ;
9
9
10
10
exports . seed = async function seed ( path ) {
11
11
// Force the rules for the storage emulator to be what we expect
@@ -28,6 +28,10 @@ exports.seed = async function seed(path) {
28
28
match /${ PATH_ROOT } /{document=**} {
29
29
allow read, write: if true;
30
30
}
31
+
32
+ match /react-native-firebase-testing/{document=**} {
33
+ allow read, write: if true;
34
+ }
31
35
}
32
36
}` ,
33
37
host : 'localhost' ,
You can’t perform that action at this time.
0 commit comments