在 Titanium 项目中将 google-services.json 放在哪里?
Where to put google-services.json in Titanium project?
我正在使用 Titanium 处理 Android 应用程序的推送通知。
我已经创建了 GCM 服务器 API 密钥和发件人 ID。
并下载了配置文件
google-services.json
我应该把这个文件放到我的 Titanium 项目的什么地方?
添加 google-services.json
是本机应用程序轻松集成 GCM/FCM 的便利步骤。
要将推送通知集成到 Titanium 项目中,您必须首先决定您希望如何发送通知。 Arrow Push and Firebase Notifications 等服务允许您从图形 Web 控制台发送通知。
如果你想继续 Arrow Push 你可以检查 Titanium CloudPush Module
The CloudPush module supports Android push notifications for a device
by providing a connection to the push notification server to the
device to receive push notifications and to optionally present a tray
notification to the user when a new push notification is received.
在您项目的 tiapp.xml 中,您需要添加一些键来配置推送通知。
<!-- Property keys for Arrow Push (required) -->
<property name="acs-api-key-development" type="string">YOUR DEVELOPMENT API KEY HERE</property>
<property name="acs-api-key-production" type="string">YOUR PRODUCTION API KEY HERE</property>
<property name="acs-api-key" type="string">YOUR API KEY HERE</property>
对于集成 Firebase 通知,不确定我们是否有一个好的 Firebase Titanium android 模块。 Appcelerator / Titanium module project exists to build and use the Firebase SDK but it doesn't integrate Firebase notifications as per this 问题。
也很少 Titanium GCM modules,您必须了解如何在这些模块中提供 GCM 发件人 ID/密钥。
我正在使用 Titanium 处理 Android 应用程序的推送通知。 我已经创建了 GCM 服务器 API 密钥和发件人 ID。 并下载了配置文件
google-services.json
我应该把这个文件放到我的 Titanium 项目的什么地方?
添加 google-services.json
是本机应用程序轻松集成 GCM/FCM 的便利步骤。
要将推送通知集成到 Titanium 项目中,您必须首先决定您希望如何发送通知。 Arrow Push and Firebase Notifications 等服务允许您从图形 Web 控制台发送通知。
如果你想继续 Arrow Push 你可以检查 Titanium CloudPush Module
The CloudPush module supports Android push notifications for a device by providing a connection to the push notification server to the device to receive push notifications and to optionally present a tray notification to the user when a new push notification is received.
在您项目的 tiapp.xml 中,您需要添加一些键来配置推送通知。
<!-- Property keys for Arrow Push (required) -->
<property name="acs-api-key-development" type="string">YOUR DEVELOPMENT API KEY HERE</property>
<property name="acs-api-key-production" type="string">YOUR PRODUCTION API KEY HERE</property>
<property name="acs-api-key" type="string">YOUR API KEY HERE</property>
对于集成 Firebase 通知,不确定我们是否有一个好的 Firebase Titanium android 模块。 Appcelerator / Titanium module project exists to build and use the Firebase SDK but it doesn't integrate Firebase notifications as per this 问题。
也很少 Titanium GCM modules,您必须了解如何在这些模块中提供 GCM 发件人 ID/密钥。