angularjs - Ionic 4 cordova Googleplus 插件无法在生产中运行
问题描述
我已经在 Ionic 4 应用程序中实现了科尔多瓦的 googleplus 插件。我仔细遵循了这里给出的所有步骤: 步骤
注意我没有使用firebase,而是从开发者控制台我得到了WEB_CLIENT_ID和REVERSED_CLIENT_ID 这是package.json
"cordova-plugin-media": {},
"cordova-plugin-googleplus": {
"WEB_APPLICATION_CLIENT_ID": "xxxxxx.googleusercontent.com"
}
在 config.xml 我添加了
<plugin name="cordova-plugin-googleplus" source="npm">
<variable name="REVERSED_CLIENT_ID" value="xxxxxxx.apps.googleusercontent.com" />
</plugin>
请注意应用程序在调试和生产模式下运行完美,没有任何错误(我使用我拥有的发布密钥更改了 REVERSED_CLIENT_ID)
但是我在 Playstore 中部署签名版本时遇到问题,安装 Gooleplus 功能后无法正常工作。包含设备中电子邮件 ID 的弹出窗口在单击后会消失,而不会显示任何错误。
请任何人帮助。谢谢。
解决方案
推荐阅读
- python - 根据标题将列表附加到现有 csv
- postgresql - 迁移 postgresql 架构 AWS RDS
- ios - 尝试使用分段视图导航视图控制器
- html - 选择列表中的下拉子菜单
- c++ - 如何在 C++ 中创建竞争条件
- angular - 在 Angular 6 项目中使用 2 tslint.json 文件
- angular - 动态注册canDeactivate guard并提示确认导航
- android - Google AdMob - 无法使用统一 sdk,因为“com.google.android.gms:play-services-ads:15.0.1”上不存在 com.android.gms.ads.InterstitialAd
- android - 如何在Android应用程序进入后台时隐藏屏幕信息
- php - 用于电子邮件验证的签名路由未通过签名验证