rxnetty/src/main/java/cn/sinata/rxnetty/CoreService.java
@@ -145,7 +145,7 @@ NetStateReceiver.registerObserver(mNetChangeObserver); if (Config.isStartForeground) { if (Build.VERSION.SDK_INT >= 34) { startForeground(Config.NOTIFICATION_ID,getNotification(), ServiceInfo.FOREGROUND_SERVICE_TYPE_DATA_SYNC); startForeground(Config.NOTIFICATION_ID,getNotification(), ServiceInfo.FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING); } else { startForeground(Config.NOTIFICATION_ID,getNotification()); }