개발 블로그
close
프로필 사진

개발 블로그

github: @denev6

  • ALL
    • Troubleshooting
    • Network
      • NetWork
      • Linux
      • Rocky Linux
      • Ubuntu
      • Docker
      • Oracle VM Virtualbox
      • Windows
      • Raspberry Pi 5
      • Jenkins
      • ETC
    • Arduino
      • Linux
      • Windows
    • C++
    • Android
    • Spring
    • STS4
    • SSR
    • Javascript
    • Python
    • React
    [Android] Firebase 푸시 알림 테스트(2) - API 생성 및 푸시 알림 테스트

    [Android] Firebase 푸시 알림 테스트(2) - API 생성 및 푸시 알림 테스트

    1. Firebase 의존성 주입dependencies { // 생략 ... implementation 'com.google.firebase:firebase-admin:9.2.0'}2. FCM 관련 DTO 생성@Getterpublic class FcmGetDto { private String token; private String title; private String body;}3. FcmService.java 생성@Servicepublic class FcmService { @PostConstruct public void initialize() throws IOException { if(FirebaseApp.getApps().isEmpty()) { ..

    • format_list_bulleted Android
    • · 2025. 5. 20.

    [Android] Firebase 푸시 알림 테스트(1) - 세팅 및 Client 소스코드 작성

    0. Firebase 회원가입https://console.firebase.google.com/에서 ‘Firebase 프로젝트 만들기’를 클릭한다.프로젝트를 만든 후 나오는 ‘google-services.json’을 다운로드 받은 후 프로젝트 내 app 경로에 넣는다.1. Firebase 의존성 주입없는 부분은 추가하도록 하자.1. lib.versions.toml[version]firebaseBom = "33.13.0" # firebase 통합 버전 관리용googleGmsGoogleServices = "4.4.2" # google services 플러그인 버전firebaseMessagingKtx = "24.1.1" # firebase messaging KTX 라이브러리 버전[libraries]firebas..

    • format_list_bulleted Android
    • · 2025. 5. 20.
    [Android] 로컬 푸시 알림 테스트

    [Android] 로컬 푸시 알림 테스트

    1. AndroidManifest.xml 수정[경로] app.manifests.AndroidManifest.xml 2. MyPushNotificationService.kt[경로] com.project.project_name.service.MyPushNotificationService.ktclass MyPushNotificationService(private val context: Context) { fun sendPushNotification(title: String, body: String) { val notificationMana..

    • format_list_bulleted Android
    • · 2025. 5. 20.
    • navigate_before
    • 1
    • navigate_next
    공지사항
    전체 카테고리
    • ALL
      • Troubleshooting
      • Network
        • NetWork
        • Linux
        • Rocky Linux
        • Ubuntu
        • Docker
        • Oracle VM Virtualbox
        • Windows
        • Raspberry Pi 5
        • Jenkins
        • ETC
      • Arduino
        • Linux
        • Windows
      • C++
      • Android
      • Spring
      • STS4
      • SSR
      • Javascript
      • Python
      • React
    인기 글
    전체 방문자
    오늘
    어제
    Copyright © 이주여이 모든 권리 보유.
    SKIN: Copyright © 쭈미로운 생활 All rights reserved. Designed by JJuum.
    and Current skin "dev-roo" is modified by Jin.

    티스토리툴바