I have a foreground app sending a raw push notification to a background task in another device. When background task receives the notification, it will reply by sending a raw push notification to original foreground app. My problem is the foreground app never receives any notifications from the background task.
To debug, I made the foreground and background channel ID the same and run both the foreground app and background task on the same windows desktop PC but still the foreground app never receives the push notification from the background task. The foreground app actually can receive the original message from itself but didn't process it so the background task handled it so I know the foreground app is receiving notifications without issues. The push notification routine is common in both so I know the code works and the status codes were all successful. So it seems the raw push notification initiated by the background tasks seems to get lost somewhere.
What could be the problems?