We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cabb8fe commit 8dcd64bCopy full SHA for 8dcd64b
upload.js
@@ -6,29 +6,8 @@ Depnding on which the user clicks, the appropriate action will take place.
6
7
Note that getPicturefromCamera() may crash the app in some phones due to memory issues.
8
This code does not fix that issue, do well to send a pull request.
9
-
10
11
12
-*/
13
14
15
-/*
16
-Login to your firebase console, click on STORAGE, then click on RULES
17
-Replace whatever default code you have their with the one below:
18
19
-service firebase.storage {
20
- match /b/project-162854887831486239.appspot.com/o {
21
- match /{userId}/{timestamp}/{fileName} {
22
- allow write: if request.auth.uid == userId;
23
- allow read;
24
- }
25
26
-}
27
28
*/
29
30
31
32
function getPictureFromGallery(){
33
34
navigator.camera.getPicture(onSuccess, onFail, {
0 commit comments