fix(notifications): refresh native fetcher on resume and log API error bodies
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.
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -8685,8 +8685,8 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@timesafari/daily-notification-plugin": {
|
||||
"version": "2.1.3",
|
||||
"resolved": "git+https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin.git#4dd1aea00224e4edc79a1fa3aa5767985a771c25",
|
||||
"version": "2.1.5",
|
||||
"resolved": "git+https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin.git#469167a55fbebb91b3e61d6c8b3aec6fc873a13c",
|
||||
"license": "MIT",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
Reference in New Issue
Block a user