File tree 7 files changed +48
-3
lines changed
7 files changed +48
-3
lines changed Original file line number Diff line number Diff line change 35
35
# Web related
36
36
lib /generated_plugin_registrant.dart
37
37
38
+ apps
38
39
# Symbolication related
39
40
app. * .symbols
40
41
Original file line number Diff line number Diff line change 8
8
.buildlog /
9
9
.history
10
10
.svn /
11
+ ios /
12
+ windows /
11
13
12
14
# IntelliJ related
13
15
* .iml
Original file line number Diff line number Diff line change 1
1
{
2
2
"rules" : {
3
- ".read" : " auth != null " ,
4
- ".write" : " auth != null "
3
+ ".read" : " true " ,
4
+ ".write" : " true "
5
5
}
6
6
}
Original file line number Diff line number Diff line change 14
14
15
15
import 'package:cloud_firestore/cloud_firestore.dart' ;
16
16
import 'package:firebase_remote_config/firebase_remote_config.dart' ;
17
+ import 'package:firestore_snippets/snippets/cloud_messaging.dart' ;
17
18
import 'package:firestore_snippets/snippets/firestore.dart' ;
18
19
import 'package:firestore_snippets/snippets/remote_config.dart' ;
19
20
import 'package:flutter/material.dart' ;
@@ -35,13 +36,17 @@ class MyApp extends StatefulWidget {
35
36
class _MyAppState extends State <MyApp > {
36
37
late final FirestoreSnippets _firestoreSnippets;
37
38
late final RemoteConfigSnippets _remoteConfigSnippets;
39
+ late final CloudMessagingSnippets _cloudMessagingSnippets;
38
40
39
41
@override
40
42
void initState () {
41
43
_firestoreSnippets = FirestoreSnippets (widget.firestore);
42
44
_remoteConfigSnippets = RemoteConfigSnippets (widget.firebaseRemoteConfig);
45
+ _cloudMessagingSnippets = CloudMessagingSnippets ();
43
46
44
47
_firestoreSnippets.runAll ();
48
+ _remoteConfigSnippets.runAll ();
49
+ _cloudMessagingSnippets.runAll ();
45
50
super .initState ();
46
51
}
47
52
Original file line number Diff line number Diff line change @@ -92,6 +92,41 @@ packages:
92
92
url: "https://pub.dartlang.org"
93
93
source: hosted
94
94
version: "1.6.1"
95
+ firebase_crashlytics:
96
+ dependency: "direct main"
97
+ description:
98
+ name: firebase_crashlytics
99
+ url: "https://pub.dartlang.org"
100
+ source: hosted
101
+ version: "2.5.3"
102
+ firebase_crashlytics_platform_interface:
103
+ dependency: transitive
104
+ description:
105
+ name: firebase_crashlytics_platform_interface
106
+ url: "https://pub.dartlang.org"
107
+ source: hosted
108
+ version: "3.2.1"
109
+ firebase_messaging:
110
+ dependency: "direct main"
111
+ description:
112
+ name: firebase_messaging
113
+ url: "https://pub.dartlang.org"
114
+ source: hosted
115
+ version: "11.2.10"
116
+ firebase_messaging_platform_interface:
117
+ dependency: transitive
118
+ description:
119
+ name: firebase_messaging_platform_interface
120
+ url: "https://pub.dartlang.org"
121
+ source: hosted
122
+ version: "3.2.1"
123
+ firebase_messaging_web:
124
+ dependency: transitive
125
+ description:
126
+ name: firebase_messaging_web
127
+ url: "https://pub.dartlang.org"
128
+ source: hosted
129
+ version: "2.2.9"
95
130
firebase_remote_config:
96
131
dependency: "direct main"
97
132
description:
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ dependencies:
26
26
firebase_core : ^1.12.0
27
27
cloud_firestore : ^3.1.8
28
28
firebase_remote_config : ^2.0.2
29
+ firebase_crashlytics : ^2.5.3
30
+ firebase_messaging : ^11.2.10
29
31
30
32
dev_dependencies :
31
33
flutter_test :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ rules_version = '2';
2
2
service firebase.storage {
3
3
match /b/{bucket}/o {
4
4
match /{allPaths=**} {
5
- allow read, write: if request.auth!=null ;
5
+ allow read, write: if true ;
6
6
}
7
7
}
8
8
}
You can’t perform that action at this time.
0 commit comments