Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- DevExpress
- androidstudio
- PDFViewer
- FCM
- Serial
- 채팅방구현
- provider
- MotionLayout
- ERD툴
- node.js
- node js
- 개발일지
- AWS
- 상태관리
- 암호화
- ERDTool
- firebase
- 그룹채팅구현
- 서버배포
- Android
- 계층형 테이블
- socket통신
- EC2
- BLUETOOTH
- android pdf viewer
- Flutter
- android studio
- erdcloud
- socket.io
- cloudmessage
Archives
- Today
- Total
목록firebase (1)
nueog

ASP.net 환경에서 만든 웹 어플리케이션에서 특정 상황에서 android 앱으로 FCM 신호를 보내줘야하는 상황이 생겼다. FCM 을 보낼 때는 페이로드에 형식을 지켜서 보내주면 된다. 나는 Notification 이라는 클래스를 만들어서 사용했다. public class Notification { public string SendNotification(string DeviceToken, string title, string msg) { var result = "-1"; var httpWebRequest = (HttpWebRequest)WebRequest.Create(NumDefine.webAddr); //https://fcm.googleapis.com/fcm/send httpWebRequest.Co..
Web
2022. 6. 2. 15:16