我一直在使用Firebase Cloud Messaging在xamarin.android应用程序中测试Push通知和通知,并成功接收了通知,但是第一次使应用程序正常启动,然后如果我通过从最近使用应用程序然后再次将其打开,它将无法打开并表示应用程序已停止 堆栈跟踪为
Time Device Name Type PID Tag Message
08-20 18:54:40.467 Motorola XT1254 Debug 18661 DataOffloadReceiver
start DataOffloadIntentService..
08-20 18:54:40.475 Motorola XT1254 Debug 18661
DataOffloadIntentService Parse launched package name
08-20 18:54:40.475 Motorola XT1254 Debug 18661
DataOffloadIntentService Package details = #Intent;action=android.intent.action.MAIN;category=android.intent.category.LA UNCHER;launchFlags=0x10200000;component=com.pntesting.app/md57c407f2cc00598a36da38af2c395e21d.MainActivity;l.profile=0;end
08-20 18:54:40.475 Motorola XT1254 Debug 18661 DataOffloadIntentService Package name = com.pntesting.app
08-20 18:54:40.476 Motorola XT1254 Debug 18661 DataOffloadIntentService Has INTERNET permission, check if whitelisted
08-20 18:54:40.478 Motorola XT1254 Debug 18661 DataOffloadIntentService already on Wifi, do not offload
08-20 18:54:40.478 Motorola XT1254 Debug 18661 DataOffloadIntentService Not whitelisted
08-20 18:54:40.478 Motorola XT1254 Debug 18661 DataOffloadIntentService Offload not required, ignore the intent
08-20 18:54:40.466 Motorola XT1254 Debug 18661 DataOffloadReceiver
Received broadcast intentcom.android.launcher3.action.LAUNCH
我不知道这是什么意思,因为清单中已经拥有INTERNET
权限,并且没有错误或异常
预先感谢。