본문 바로가기
728x90

분류 전체보기584

firebase function에서 transaction 사용하기 transaction은 중요하다. db를 저장할 때 모든 작업을 완수했다는 것을 보장하는 것. 하나가 안 되었으면 나머지도 안되도록 하는 것.transaction은 db의 오류를 줄여주는 기능을 한다. function에서 사용하는 방법은 찾아보니 아래와 같았다. https://firebase.google.com/docs/firestore/manage-data/transactions 트랜잭션 및 일괄 쓰기 | Firestore | Firebase Firebase Summit에서 발표된 모든 내용을 살펴보고 Firebase로 앱을 빠르게 개발하고 안심하고 앱을 실행하는 방법을 알아보세요. 자세히 알아보기 이 페이지는 Cloud Translation API를 통해 번역되었습니 firebase.google.com 2022. 11. 15.
custom exception https://stackoverflow.com/questions/13579982/how-to-create-a-custom-exception-and-handle-it-in-dart How to create a custom exception and handle it in dart I have written this code to test how custom exceptions are working in the dart. I'm not getting the desired output could someone explain to me how to handle it?? void main() { try { stackoverflow.com 다음과 같이 쓸 수 있다! CustomException은 일단 util 쪽에 .. 2022. 11. 14.
flutter version 차이로 생기는 오류 옛날에 썼던 플러터 코드를 사용했을 때 다음과 같은 오류 메시지를 볼 때가 있다. The plugin `intent` uses a deprecated version of the Android embedding. https://stackoverflow.com/questions/68920646/the-plugins-xxxxx-use-a-deprecated-version-of-the-android-embedding The plugins `XXXXX` use a deprecated version of the Android embedding i was trying to get my dependences using pub get, but i keep getting a bunch off errors. And i'm .. 2022. 11. 14.
json fommatter https://jsonformatter.curiousconcept.com/# JSON Formatter & Validator Format and validate JSON data so that it can easily be read by human beings. jsonformatter.curiousconcept.com firebase에서 remoteconfig 사용하려고하는데 잘 안되어서 json formatter 로 검색해서 대충 넣으니까 제대로 만들어주었다. 뭐가 잘 못 되었는지는 모르겠으나 그냥 복사 붙여넣기 해서 사용 중! 2022. 11. 13.
728x90