Please provide the following:
- SDK Version:
- Platforms(Android/iOS/web/all): Android
- Add the appropriate “Tag” based on what Expo library you have a question on.
I’m currently running my expo app (development mode,have ExpoPush Notification func) from two Android devices, one with Android 8 (A8) and one with Android 10 (A10).
in A8 devices,when push a msg form Expo Server console,the A8 devices received the msg immediately, but the A10 devices don’t receive it. I don’t know where I went wrong for Android10.
this is A10’s devices some log:
09-14 12:23:31.055 16370 16429 I Finsky : [942] xrp.g(26): Module info request for [# aisu@d9d01267] modules from package com.google.android.gms v=220221066 hasAccount:false authEnabled:false
09-14 12:23:31.059 16370 16436 E Finsky : [949] ggf.a(51): Unexpected android-id = 0
09-14 12:23:31.073 16370 16436 E Finsky : [949] jmh.s(16): Unable to fetch checkin consistency token: empty token
09-14 12:23:31.074 16370 16436 E Finsky : [949] ggf.a(51): Unexpected android-id = 0
09-14 12:23:31.074 16370 16436 E Finsky : [949] icb.as(4): [DC] Android id should not be null
09-14 12:23:31.081 9085 9530 I GoLog : 2022-09-14T11:23:31.080Z DEBUG /Users/a1/Desktop/work/Backend_FTQ/src/common/gotun2socks/udp.go:383 tracking UDP connections {“count”: 1}
09-14 12:23:31.083 9085 9516 I GoLog : 2022-09-14T11:23:31.082Z DEBUG /Users/a1/Desktop/work/Backend_FTQ/src/client/android-backend/socks_handle.go:83 server socks {“req”: {“Cmd”:3,“HostType”:1,“DstHost”:“0.0.0.0”,“DstPort”:0}, “conn”: {“Conn”:{},“Timeout”:30000000000}, “conn_addr”: “0x40460030”}
09-14 12:23:31.083 9085 9516 I GoLog : 2022-09-14T11:23:31.082Z DEBUG /Users/a1/Desktop/work/Backend_FTQ/src/common/socks/server.go:249 udp associate: {“dst_host”: “0.0.0.0”, “dst_port”: 0}
09-14 12:23:31.083 9085 9516 I GoLog : 2022-09-14T11:23:31.083Z DEBUG /Users/a1/Desktop/work/Backend_FTQ/src/common/socks/server.go:265 UDP bind local address: {“address”: “127.0.0.1:42577”}
09-14 12:23:31.084 9085 9546 I GoLog : 2022-09-14T11:23:31.083Z DEBUG /Users/a1/Desktop/work/Backend_FTQ/src/client/android-backend/socks_handle.go:260 needTunnelUDP – 开始 {“udpReq”: {“Frag”:0,“HostType”:1,“DstHost”:“142.251.163.113”,“DstPort”:443,“Data”:“QtPAdUeVFJxp1WmOMWde7HRkfirzgPTakxVqBDW9KQKhMAKy9VWpEx6ryH9I5qcRBTUOSb11s9K/8zSO8Qw=”}}
09-14 12:23:31.084 9085 9546 I GoLog : 2022-09-14T11:23:31.084Z DEBUG /Users/a1/Desktop/work/Backend_FTQ/src/client/android-backend/socks_handle.go:278 unpack error {“err”: “dns: buffer size too small”}
09-14 12:23:31.084 9085 9546 I GoLog : 2022-09-14T11:23:31.084Z DEBUG /Users/a1/Desktop/work/Backend_FTQ/src/client/android-backend/socks_handle.go:242 udpReq domain proxy[走代理]
09-14 12:23:31.399 615 615 V thermal_src: TA_DAEMON_CMD_SET_TTJ cmd=0x4, len=4 Tj=55000
or if there is a method in the ExpoPush Notification to obtain the unique identifier of the device, which is used to generate a token for establishing a connection with the push server.
Because the method used to get the unique identifier of the device on Android8 is no longer applicable on Android10.