FWIW I tried to get this working yesterday and failed. I wondered if maybe Toasts don’t work from an app that’s in the background, so I tried using network requests. Now that I think about it, BackgroundFetch probably exists for a reason so maybe just using fetch()
was not a valid way to test this.
Are you sure that ToastAndroid works from a backgrounded app?