极光推送根据魅族通道集成指南集成后新机器没有厂家token,老机器有
根据文档集成魅族厂家通道。在魅族16s(Android9)能正常收到离线推送消息。在魅族20手机(Android14)无法收到。通过消息查询,发现无厂家token。App初始化系统日志如下:
I/flutter (18932): │ JPushUtil initSDK
I/flutter (18932): | JPUSH | Flutter | addEventHandler:
I/flutter (18932): | JPUSH | Flutter | setAuth:
I/flutter (18932): | JPUSH | Flutter | setup:
I/flutter (18932): | JPUSH | Flutter | applyPushAuthority:
I/flutter (18932): | JPUSH | Flutter | getRegistrationID:
I/flutter (18932): | JPUSH | Flutter | setBadge:
I/| JPUSH | Flutter | Android | (18932): setAuth
I/| JPUSH | Flutter | Android | (18932): setup
I/JIGUANG-JPush(18932): [JPushInterface] [key-step]action:init - jpush, SdkVersion:5.3.1, build id:341, build type:google play
I/JIGUANG-JPush(18932): [JPushConstants] found messageServiceClass :com.jiguang.jpush.JPushEventReceiver at com.cecdat.jkny by getCommonServiceNames
I/JIGUANG-JCore(18932): [JCoreGobal] [key-step]main process init - jcore, SdkVersion:4.6.1, build id:379 build type:google_play
I/| JPUSH | Flutter | Android | (18932): getRegistrationID
I/| JPUSH | Flutter | Android | (18932): setBadge
W/HMSSDK_PushPreferences(18932): get new sharedPreferences failed,start to get from context.
I/JIGUANG-JPush(18932): [MeizuPushHelper] [key-step]get model:,brand:meizu
W/CrashReport(18932): Not in GZIP format
I/CrashReport(18932): [Strategy] enableCrashReport:true, enableQuery:true, enableUserInfo:true, enableAnr:true, enableBlock:false, enableSession:true, enableSessionTimer:true, sessionOverTime:0, enableCocos:true, strategyLastUpdateTime:1688361287000
W/CrashReport(18932): customer decides whether to open or close.
I/CrashReport(18932): [Upload] Success: userinfo
W/com.cecdat.jkny(18932): Accessing hidden method Landroid/os/BuildExt;->isProductInternational()Z (blocked, reflection, denied)
E/Strategy(18932): isBrandMeizu true
I/Strategy(18932): current process packageName com.meizu.cloud
I/Strategy(18932): send message to remote service
I/PullUpPush(18932): com.cecdat.jkny start register cloudVersion_name 7.4.6
E/PullUpPush(18932): cloud pushService start
I/MobclickAgent(18932): module init:azio
W/com.cecdat.jkny(18932): Accessing hidden method Landroid/app/ActivityThread;->currentApplication()Landroid/app/Application; (unsupported, reflection, allowed)
W/com.cecdat.jkny(18932): Accessing hidden method Landroid/app/ActivityThread;->getApplication()Landroid/app/Application; (unsupported, reflection, allowed)
W/Thread-17(18932): type=1400 audit(0.0:176067): avc: denied { read } for name="diskstats" dev="proc" ino=4026532074 scontext=u:r:untrusted_app:s0:c26,c257,c512,c768 tcontext=u:object_r:proc_diskstats:s0 tclass=file permissive=0 app=com.cecdat.jkny
W/com.cecdat.jkny(18932): Accessing hidden method Landroid/os/Build;->getString(Ljava/lang/String;)Ljava/lang/String; (unsupported, reflection, allowed)
I/flutter (18932): | JPUSH | Flutter | _handleMethod:
E/| JPUSH | Flutter | Android | (18932): [onCommandResult] message:CmdMessage{cmd=2005, errorCode=0, msg='', extra=Bundle[{cmd=2005, code=0, message=}]}
I/flutter (18932): | JPUSH | Flutter | _handleMethod:
E/| JPUSH | Flutter | Android | (18932): [onCommandResult] message:CmdMessage{cmd=2005, errorCode=0, msg='', extra=Bundle[{cmd=2005, code=0, message=}]}
I/flutter (18932): | JPUSH | Flutter | _handleMethod:
E/| JPUSH | Flutter | Android | (18932): [onCommandResult] message:CmdMessage{cmd=2005, errorCode=0, msg='140fe1da9fa1d2ef97e', extra=Bundle[{cmd=2005, code=0, message=140fe1da9fa1d2ef97e}]}
I/flutter (18932): | JPUSH | Flutter | _handleMethod:
E/| JPUSH | Flutter | Android | (18932): [onConnected] :true
E/| JPUSH | Flutter | Android | (18932): [onCommandResult] message:CmdMessage{cmd=2008, errorCode=0, msg='success', extra=Bundle[{cmd=2008, code=0, message=success}]}
I/flutter (18932): | JPUSH | Flutter | _handleMethod:
I/flutter (18932): | JPUSH | Flutter | _handleMethod:
E/Strategy(18932): isBrandMeizu true
I/Strategy(18932): current process packageName com.meizu.cloud
I/Strategy(18932): send message to remote service
I/PullUpPush(18932): com.cecdat.jkny start register cloudVersion_name 7.4.6
E/PullUpPush(18932): cloud pushService start
I/KeyEvent(18932): this event should continue to be propagated true
E/com.cecdat.jkny(18932): Invalid resource ID 0x00000000.
E/OpenGLRenderer(18932): Unable to match the desired swap behavior.
E/OpenGLRenderer(18932): Unable to match the desired swap behavior.
E/com.cecdat.jkny(18932): Invalid resource ID 0x00000001.
W/ContentCapture(18932): Unable to find resource ID #0x1
W/WebViewInfoPicker(18932): io.flutter.embedding.android.FlutterSurfaceView getMethod failed: null
W/WebViewInfoPicker(18932): io.flutter.embedding.android.FlutterView getMethod failed: null
W/WebViewInfoPicker(18932): com.android.internal.policy.DecorView getMethod failed: null
E/com.cecdat.jkny(18932): Invalid resource ID 0x00000001.
E/com.cecdat.jkny(18932): Invalid resource ID 0x00000001.
W/SQLiteLog(18932): (28) double-quoted string literal: "CoRiVtHO8PPeJXI+AJ2NqTP9oN7Za2ZnSS9NXdNMRRWSrVeRgmk0qMFHWEPpNdzS3SIOMQfUF6TS
W/SQLiteLog(18932): Rp/Kx3hME1HbCkruF542AWD3j/36AaaT5nwBqU/d1gXCxhHMyqflH9R5QeqPx3nlS9EFY9fSbw==
W/SQLiteLog(18932): "
W/SQLiteLog(18932): (28) double-quoted string literal: "null"
I/eup (18932): jni_setNativeInfo: key is 14
I/eup (18932): Set native info: isAppForeground(false)