Skip to content
Snippets Groups Projects
Commit d39ed707 authored by kishoreraju2's avatar kishoreraju2
Browse files

WoooHooo Debbugged

parent 64ac34cb
Branches
No related tags found
No related merge requests found
...@@ -328,6 +328,7 @@ public class CameraFragment extends Fragment { ...@@ -328,6 +328,7 @@ public class CameraFragment extends Fragment {
StorageReference riversRef = mStorageRef.child("images/"+ timeStamp+"pic.jpg"); StorageReference riversRef = mStorageRef.child("images/"+ timeStamp+"pic.jpg");
riversRef.putFile(imageUri) riversRef.putFile(imageUri)
.addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() { .addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {
@SuppressWarnings("VisibleForTests")
@Override @Override
public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) { public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {
//if the upload is successfull //if the upload is successfull
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment