Firebase 설정 firebase콘솔에 앱등록 -google-services.json 다운받아서 앱에 넣기 매니페스트 token 가져오기 FirebaseInstanceId.getInstance().instanceId .addOnCompleteListener(OnCompleteListener { task -> if(!task.isSuccessful){ Log.w(tag, "getInstanceId failed", task.exception) return@OnCompleteListener } // Get new Instance ID token val token = task.result?.token //Log and toast LogUtil.d(tag, "fcm token : $token") AppAppl..