-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYeni Metin Belgesi.txt
87 lines (71 loc) · 1.68 KB
/
Yeni Metin Belgesi.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
npm install react-native-progress-circle --save
npm install react-native-image-zoom-viewer --save
npm install react-native-picker-select --save
npm install react-native-progress-bar-animated --save
npm install react-native-qrcode --save
npm install react-native-material-ripple --save
npm install react-navigation-transitions --save
expo install expo-barcode-scanner
expo install expo-image-manipulator
expo install expo-image-picker
expo install expo-media-library
npm install --save firebase
npm install react-native-elements
npm i react-native-keyboard-aware-scroll-view --save
npm install react-native-gifted-chat --save
7-20-30-31-47-49
Firestore
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /usernameList/{username} {
allow read,write;
}
match /users/{uid} {
allow read;
allow write: if request.auth.uid == uid;
}
match /channels/{channelId} {
allow read, write;
}
match /locations/{uid} {
allow read, write;
}
}
}
Realtime Database
{
"rules": {
"channelConnections":{
"$uid":
{
".read": true,
".write": true,
}
},
"chatMessages":{
"$uid":{
".read": true,
".write":true,
".indexOn": "readed",
"$emssageid" : {
".indexOn": "readed"
}
}
}
}
}
Cloud Store
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /profilephoto/{uid}/small {
allow write: if request.auth.uid == uid;
allow read;
}
match /sendImages/{kanalid}/{resimid}/{size} {
allow write;
allow read;
}
}
}