forked from trent_larson/crowd-funder-for-time-pwa
Call configureNativeFetcherIfReady when the app becomes active so getHeaders can supply a new JWT before the next background prefetch when users return from background. In TimeSafariNativeFetcher, read HttpURLConnection#getErrorStream for non-200 responses and log a capped body snippet (including on retryable errors) to diagnose JWT_VERIFY_FAILED and other API failures.