For system support mipush, do not start the application can receive the message, if you don't start the application, will run the callback function? If so, who is now the context of the context, I want to receive the message, the message into the database, use litepal, can operate the database using the context? I have not been successful, originally I wanted to use mipush as long connection to chat,
CodePudding user response:
Tried, on the simulator can be successful, mipush receives the message service and normal service, but will be beautiful MIUI over at millet mobile phone, then receive the news, haven't run the callback function, this kind of situation