내 안드로이드 애플 리케이션에서 인터넷 연결이 끊어진 경우와 같은 문제를 피하기 위해 동시에 데이터베이스의 여러 위치에 데이터를 업로드하기 위해 클라이언트 측 팬 아웃을 사용하고 있습니다. Firebase 블로그의 예제 코드는 다음과 같습니다.데이터베이스와 스토리지에 동시에 Firebase에 업로드
Map updatedUser = new HashMap();
newPost.put("name", "Shannon");
newPost.put("username": "shannonrules");
Firebase ref = new Firebase("https://<YOUR-FIREBASE-APP>.firebaseio.com/");
Map fanoutObject = new HashMap();
fanoutObject.put("https://stackoverflow.com/users/1", updatedUser);
fanoutObject.put("/usersWhoAreCool/1", updatedUser);
fanoutObject.put("/usersToGiveFreeStuffTo/1", updatedUser);
ref.updateChildren(fanoutObject); // atomic updating goodness
그러나 이제 해당 데이터와 함께 이미지 파일을 저장소에 업로드하고 싶습니다. 동시에 그렇게 할 수 있습니까?
Cedric이 대답 했으므로 한 번의 작업으로 여러 Firebase 기능에 쓸 수있는 방법이 없습니다. –