Taebu / talktalkclick

android
0 stars 0 forks source link

FCM 구현 for Android #3

Open Taebu opened 5 years ago

Taebu commented 5 years ago

참고 페이지 https://elfinlas.github.io/2017/12/25/Adroid-FCM-Setup/

Taebu commented 5 years ago

C:\Users\Taebu\Desktop\google-services.json

{
  "project_info": {
    "project_number": "496060468342",
    "firebase_url": "https://api-project-496060468342.firebaseio.com",
    "project_id": "api-project-496060468342",
    "storage_bucket": "api-project-496060468342.appspot.com"
  },
  "client": [
    {
      "client_info": {
        "mobilesdk_app_id": "1:496060468342:android:55757c928446bd68",
        "android_client_info": {
          "package_name": "com.anp.bossapp"
        }
      },
      "oauth_client": [
        {
          "client_id": "496060468342-q3t964u2p4u0e4seg4ji7nm26victqks.apps.googleusercontent.com",
          "client_type": 3
        }
      ],
      "api_key": [
        {
          "current_key": "AIzaSyDPe0DArOiRUgqXDXG0fYIqwK4p3lMJ4IY"
        },
        {
          "current_key": "AIzaSyCelweAqDW0W9VUH0rdlCsfY18FMSf4Lww"
        }
      ],
      "services": {
        "analytics_service": {
          "status": 1
        },
        "appinvite_service": {
          "status": 1,
          "other_platform_oauth_client": []
        },
        "ads_service": {
          "status": 2
        }
      }
    },
    {
      "client_info": {
        "mobilesdk_app_id": "1:496060468342:android:50e9331821f71812",
        "android_client_info": {
          "package_name": "kr.co.anpr.talktalkclick"
        }
      },
      "oauth_client": [
        {
          "client_id": "496060468342-q3t964u2p4u0e4seg4ji7nm26victqks.apps.googleusercontent.com",
          "client_type": 3
        }
      ],
      "api_key": [
        {
          "current_key": "AIzaSyDPe0DArOiRUgqXDXG0fYIqwK4p3lMJ4IY"
        },
        {
          "current_key": "AIzaSyCelweAqDW0W9VUH0rdlCsfY18FMSf4Lww"
        }
      ],
      "services": {
        "analytics_service": {
          "status": 1
        },
        "appinvite_service": {
          "status": 1,
          "other_platform_oauth_client": []
        },
        "ads_service": {
          "status": 2
        }
      }
    },
    {
      "client_info": {
        "mobilesdk_app_id": "1:496060468342:android:92f4e33d32c6e2f9",
        "android_client_info": {
          "package_name": "kr.co.cashqc"
        }
      },
      "oauth_client": [
        {
          "client_id": "496060468342-q3t964u2p4u0e4seg4ji7nm26victqks.apps.googleusercontent.com",
          "client_type": 3
        }
      ],
      "api_key": [
        {
          "current_key": "AIzaSyDPe0DArOiRUgqXDXG0fYIqwK4p3lMJ4IY"
        },
        {
          "current_key": "AIzaSyCelweAqDW0W9VUH0rdlCsfY18FMSf4Lww"
        }
      ],
      "services": {
        "analytics_service": {
          "status": 1
        },
        "appinvite_service": {
          "status": 1,
          "other_platform_oauth_client": []
        },
        "ads_service": {
          "status": 2
        }
      }
    }
  ],
  "configuration_version": "1"
}
Taebu commented 5 years ago

https://firebase.google.com/docs/cloud-messaging/android/client?hl=ko

Taebu commented 5 years ago

App Info Google Play Services version 9.0 greater than

Google Play services, Revision 26 greater than now Ver 49

Taebu commented 5 years ago

Android Studio Tutorial - Firebase Cloud Messaging New version remake https://www.youtube.com/watch?v=QXPgMUSfYFI

FCM 이 구축하기 어려운것은 자꾸 개발 방향이 바뀌고 gradle에 특성에 맞지 않으면 에러를 일으키기 때문에 여러가지로 문제가 많다. 6일째 고생중...