In Xiaomi's system, if "Allow auto-start" is not set, if the app is not in the background, transparent transmission cannot occur, so it is safer to use the message window display. Not every user is willing and active to add your app to "self-start"
After running the XGPush Demo, we found that the Token has actually been obtained, but it has not been printed. The Token can be obtained directly through XGPushConfig.getToken(context).
Are there any restrictions on the 6.0 system? Are other mobile phones also running 6.0 system?
In Xiaomi's system, if "Allow auto-start" is not set, if the app is not in the background, transparent transmission cannot occur, so it is safer to use the message window display. Not every user is willing and active to add your app to "self-start"
I feel better today inexplicably...
After running the XGPush Demo, we found that the Token has actually been obtained, but it has not been printed. The Token can be obtained directly through XGPushConfig.getToken(context).
I also encountered this problem