GCM defaultSenderID

前端 未结 6 1138
名媛妹妹
名媛妹妹 2020-12-11 00:02

Could somebody please help me understand what the gcm_defaultSenderId is in the following code (found in onHandleIntent in RegistrationIntentService.java):

I         


        
6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-11 00:55

    Place the file google-services.json under \app directory, not inside src or other places. Be sure the GCM plugin is applied. Build the project, and the string will now resolve.

提交回复
热议问题