2022/02 5

Firebase Functions - FCM Push Message

Firebase 서비스 계정 : node.js 에서 FCM Push 를 보내기 위해서 필요한 계정 index.js const functions = require("firebase-functions"); const admin = require("firebase-admin"); const express = require("express"); const cors = require("cors"); const app = express(); app.use(cors({ origin: true })); app.use(require("./routes/sendmessage.routes")); exports.app = functions.https.onRequest(app); /** router 사용하지 않고 index.js..

Dev/Firebase 2022.02.15

Android - E/AndroidRuntime: FATAL EXCEPTION: grpc-okhttp-0

안드로이드에서 라이브러리 최신으로 올리면서 발생한 이슈 여러개의 라이브러리 버전을 업하다보니 정확히 무엇때문에 발생했는지 찾기에는 시간이 걸려서 패스 일단은 원인은 아래와 같다고 나왔기 때문에 해당 부분에 대해서 조치를 했다 이슈 2022-02-11 11:24:07.381 6651-6740/com.healthyryu.test.debug E/AndroidRuntime: FATAL EXCEPTION: grpc-okhttp-0 Process: com.healthyryu.test.debug, PID: 6651 java.lang.AssertionError: Method getAlpnSelectedProtocol not supported for object SSL socket over Socket[address=f..

Dev/Error 2022.02.11

Flutter - Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.

내용 : Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. 해결책 1. Go to /ios folder inside your Project. 2. Delete Podfile.lock (YourPoject/ios/Podfile.lock) 3. Here you have to do it according to the chip of your Mac, here I have given for both. thanks @Kamal Panara for identified this For Intel chip users Run pod install --repo-update (Make sure your cd into the iOS d..

Dev/Flutter 2022.02.08

Firebase Functions with Flutter

Firebase 에 서버처럼 백엔드 코드를 실행할 수 있는 서버리스 프레임워크 https://firebase.google.com/docs/functions/get-started 시작하기: 첫 번째 함수 작성, 테스트, 배포 | Firebase Documentation 의견 보내기 시작하기: 첫 번째 함수 작성, 테스트, 배포 Cloud Functions를 시작하려면 이 튜토리얼을 따라해 보세요. 이 튜토리얼은 필수 설정 작업부터 시작해 다음과 같은 관련 함수 두 개를 만들 firebase.google.com Firebase Functions 와 앱 통신 테스트 코드 (동작 확인 코드 / 2022.02.04) https://codewithandrea.com/articles/flutter-tutorial-f..

Dev/Firebase 2022.02.04