- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我一直在使用 raix:push 包为 android 和 ios 发送推送通知。它一直运行良好,但在 android 8.0 上却不行。
显然,我们需要为 android 8 及更高版本的每种通知类型关联一个 channelId。我的推送对象如下:
meteor 版本:1.7.0.3
raix_push 版本:3.3.0
Push.send({
from: '',
title: title,
text: text,
NOTIFICATION_CHANNEL_ID : '45664',
android_channel_id : '12chdt09',
channel_id : '79',
CHANNEL_ID : '81',
channelID : '123',
notId : nId,
gcm: {
title: title,
NOTIFICATION_CHANNEL_ID : '45664',
channelID : '123',
android_channel_id : '12chdt09',
channel_id : '79',
CHANNEL_ID : '81',
style: 'inbox',
summaryText: 'There are %n% notifications '
},
payload : {
id : id
},
query: {
userId: {
$in: userIds
},
},
"time_to_live" : 2419200
});
我已尝试通过上述各种方式插入 channelId,但尚未获得肯定的结果。有帮助吗?
最佳答案
我的 meteor 版本:1.8
phonegap-plugin-push@2.2.3
cordova-plugin-meteor-webapp@1.4.1
1) Using this comment将此文件添加到指定路径。
2) 在 <root>/cordova-build-override/google-services.json
为您的应用添加 google-services.json 表单 firebase
此配置对我有用。我在我们的生产中使用它直到现在都没有崩溃。
关于android - meteor raix :push notification channelId for android 8. 0.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51267263/
我想我已经观察到 channel 的 ChannelId 随着时间的推移而变化。这是正常行为吗? 这就是我认为的原因: 我正在编写一个连接持续很长时间的游戏服务器。我想引用 Channels,因此我将
出于记录目的,我需要获取使用的监听器 ChannelID 并重写处理程序的 onDataRead 方法。 在入站日志中我看到了正确的 ID。 (见下文)。但是当我尝试像这样获取 id 时: publ
因此,我正在尝试使用 channelId 获取 YouTube channel 的 channel 个人资料图片。 我想简单地通过将 channelId 添加到 URL 并以这种方式获取图像来做到这一
有什么方法可以通过自定义 url(使用 Youtube API)来获取 Youtube channel 的 channel ID? 例子: 自定义网址如下: https://www.youtube.c
我正在使用 botframework-directlinejs NodeJS SDK 为我的机器人前端实现一个新 channel 。该 channel 将提供一些自定义反向 channel 功能;但是
我正在尝试使用查询字符串搜索给定 channel ID 的视频。 当我仅使用查询字符串 (Q) 进行搜索时,它会返回 11 个项目。 获取 https://www.googleapis.com/you
我一直在使用 raix:push 包为 android 和 ios 发送推送通知。它一直运行良好,但在 android 8.0 上却不行。 显然,我们需要为 android 8 及更高版本的每种通知类
我正在使用 Youtube Api 获取 channel ID,但我遇到了错误。 我读了这个答案 JSONException: No value for photo但它无法解决我的问题。 这是一些 J
我正在尝试使用 google-api-objectivec-client 获取 youtube channel ID。我遇到的问题基本上是由于某种原因我在尝试访问 channelId 时收到异常。我使
我有一长串需要定期提取社交媒体信息的音乐家,包括 YouTube。我填充了每个音乐家的“ channel 名称”,如下所示: [“泰勒 swift ”], [“蕾哈娜”], [“SiaVEVO”],
我是一名优秀的程序员,十分优秀!