Home > Mobile >  Mipush receives the message service in the context of each method is from which, when did not start
Mipush receives the message service in the context of each method is from which, when did not start

Time:10-05

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
  • Related