android tags标签推送能推送出去 但是没响应

tag
收不到消息
标签: #<Tag:0x00007fb833d75328> #<Tag:0x00007fb833d750f8>

(走的路太窄) #1

通过极光推送后台发送消息 没有响应 但是有日志 如下 后台显示发送没成功

11-28 21:32:20.149 8265-8538/cn.carunion.com D/JPush: [NetworkingClient] Received bytes - len:160, connection:547354476544, pkg:cn.carunion.com
11-28 21:32:20.150 8265-8538/cn.carunion.com D/JPush: [NetworkingClient] Action - receivedCommand - cmd:3
11-28 21:32:20.152 895-1732/? V/ActivityManager: Broadcast: Intent { act=cn.jpush.android.intent.MESSAGE_RECEIVED cat=[cn.carunion.com] flg=0x10 (has extras) } ordered=false userid=0 callerApp=ProcessRecord{28d4b8fc 8265:cn.carunion.com/u0a985}
11-28 21:32:20.155 8265-8538/cn.carunion.com D/JPush: [NetworkingClient] Network listening...
11-28 21:32:20.159 8265-8982/cn.carunion.com D/libc-netbsd: [getaddrinfo]: hostname=stats.jpush.cn; servname=(null); cache_mode=(null), netid=0; mark=0
11-28 21:32:20.159 8265-8982/cn.carunion.com D/libc-netbsd: [getaddrinfo]: hostname=stats.jpush.cn; servname=(null); cache_mode=(null), netid=0; mark=0
11-28 21:32:20.160 321-809/? D/FrameworkListener: dispatchCommand data = (getaddrinfo stats.jpush.cn ^ 1024 0 1 0 0)
11-28 21:32:20.160 321-16061/? D/libc-netbsd: [getaddrinfo]: hostname=stats.jpush.cn; servname=(null); cache_mode=local, netid=151; mark=917655
11-28 21:32:20.162 321-16061/? D/libc-netbsd: res_queryN name = stats.jpush.cn, class = 1, type = 1
11-28 21:32:20.162 321-16061/? D/libc-netbsd: res_queryN name = stats.jpush.cn succeed
11-28 21:32:20.163 8265-8982/cn.carunion.com D/libc-netbsd: getaddrinfo: stats.jpush.cn get result from proxy >>
11-28 21:32:20.168 8265-8982/cn.carunion.com I/System.out: open:https://stats.jpush.cn/v2/report
11-28 21:32:20.179 8265-8982/cn.carunion.com D/libc-netbsd: [getaddrinfo]: hostname=stats.jpush.cn; servname=(null); cache_mode=(null), netid=0; mark=0
11-28 21:32:20.180 8265-8982/cn.carunion.com I/System.out: [socket][492] connection stats.jpush.cn/183.232.42.220:443;LocalPort=34980(30000)
11-28 21:32:20.180 8265-8982/cn.carunion.com I/System.out: [CDS]connect[stats.jpush.cn/183.232.42.220:443] tm:30
11-28 21:32:20.237 8265-8982/cn.carunion.com D/libc-netbsd: [getaddrinfo]: hostname=stats.jpush.cn; servname=(null); cache_mode=(null), netid=0; mark=0
11-28 21:32:30.008 895-1036/? V/ActivityManager: Broadcast: Intent { flg=0x114 cmp=cn.carunion.com/cn.jpush.android.service.AlarmReceiver (has extras) } ordered=true userid=0 callerApp=null
11-28 21:32:30.018 8265-8265/cn.carunion.com D/ActivityThread: BDC-Calling onReceive: intent=Intent { flg=0x114 cmp=cn.carunion.com/cn.jpush.android.service.AlarmReceiver (has extras) }, receiver=cn.jpush.android.service.AlarmReceiver@3d2e052a
11-28 21:32:30.019 8265-8265/cn.carunion.com D/JPush: [AlarmReceiver] onReceive 
11-28 21:32:30.029 8265-8265/cn.carunion.com D/ActivityThread: BDC-RECEIVER handled : 0 / ReceiverData{intent=Intent { flg=0x114 cmp=cn.carunion.com/cn.jpush.android.service.AlarmReceiver (has extras) } packageName=cn.carunion.com resultCode=0 resultData=null resultExtras=null}
11-28 21:32:30.035 8265-8265/cn.carunion.com D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.PushService@9b756f, flags=0, startId=7
11-28 21:32:30.035 8265-8265/cn.carunion.com D/JPush: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.RTC cmp=cn.carunion.com/cn.jpush.android.service.PushService (has extras) }, pkg:cn.carunion.com, connection:547354476544
11-28 21:32:30.037 8265-8265/cn.carunion.com D/JPush: [PushService] Action - handleServiceAction - action:cn.jpush.android.intent.RTC
11-28 21:32:30.050 895-1643/? D/PowerManagerService: acquireWakeLockInternal: lock=420531529, flags=0x1, tag="cn.carunion.com_JPush", ws=null, uid=10985, pid=8265
11-28 21:32:30.051 895-1643/? D/PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="cn.carunion.com_JPush", packageName=cn.carunion.com, ownerUid=10985, ownerPid=8265, workSource=null
11-28 21:32:30.052 895-3305/? D/PowerManagerService: releaseWakeLockInternal: lock=420531529 [cn.carunion.com_JPush], flags=0x0, total_time=1ms
11-28 21:32:30.053 8265-8265/cn.carunion.com D/JPush: [PushService] Send heart beat
11-28 21:32:30.052 895-3305/? D/PowerManagerNotifier: onWakeLockReleased: flags=1, tag="cn.carunion.com_JPush", packageName=cn.carunion.com, ownerUid=10985, ownerPid=8265, workSource=null
11-28 21:32:30.053 8265-8265/cn.carunion.com D/ActivityThread: SVC-SERVICE_ARGS handled : 0 / ServiceArgsData{token=android.os.BinderProxy@2f47d869 startId=7 args=Intent { act=cn.jpush.android.intent.RTC cmp=cn.carunion.com/cn.jpush.android.service.PushService (has extras) }}
11-28 21:32:30.126 8265-8538/cn.carunion.com D/JPush: [NetworkingClient] Received bytes - len:31, connection:547354476544, pkg:cn.carunion.com
11-28 21:32:30.127 8265-8538/cn.carunion.com D/JPush: [NetworkingClient] Action - receivedCommand - cmd:19
11-28 21:32:30.127 8265-8538/cn.carunion.com D/JPush: [NetworkingClient] Network listening...
11-28 21:32:30.127 8265-8265/cn.carunion.com D/JPush: [PushService] Action - onHeartbeatSucceed - connection:547354476544

#2

排查步骤,标签推送首先 得看 推送时是成功的还是返回了 找不到目标错误:


(走的路太窄) #3

android 官方demo下载下来 在极光推送后台创建一个应用 发送推送消息 不能再通知栏显示出来 但是能接收到广播 在demo的一个文本框里展示出来 展示的文字也没错 我手机魅蓝note2 jpush版本2.2.0


#4

你这是发送的是自定义消息吧?你发通知消息试一下


(走的路太窄) #5

我发自定义消息 是能收到的 但是不是推送 是APP里面文本展示 发送通知消息我试过很多次的 都没有在通知栏显示 没有影响


#6

发送自定义消息,自定义消息的展示 的弹框 如果你们自己的项目 就是你们自己去代码实现。

demo里面现在的实现就是app里面做一个示例显示,不是通知栏那里显示

你说:

看你的客户端日志,消息是收到了还是没有收到?没有在通知栏显示的问题

你通知内容写了没?手机端 通知的展示方面有没有做什么限制?

通知与自定义消息: