【发布时间】:2016-05-02 22:46:18
【问题描述】:
我正在制作一个项目,我想在其中集成 GCM 和 Google sign in,但问题是两者都有 google-services.json 配置文件,我们需要将其添加到我们的项目中。
那么,我怎样才能同时集成
google-services.json配置 我的项目中的文件。
这是我的一个配置文件
{
"project_info": {
"project_id": "default-xxx",
"project_number": "xxx",
"name": "xxx"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:xxx",
"client_id": "x.package",
"client_type": 1,
"android_client_info": {
"package_name": "x.package_name"
}
},
"oauth_client": [],
"api_key": [],
"services": {
"analytics_service": {
"status": 1
},
"cloud_messaging_service": {
"status": 1,
"apns_config": []
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"google_signin_service": {
"status": 1
},
"ads_service": {
"status": 1
}
}
}
],
"client_info": [],
"ARTIFACT_VERSION": "1"
}
【问题讨论】:
-
@Md- 在该帖子上也没有任何解决方案
标签: android android-studio google-play-services