mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-12 23:31:02 +00:00
ec22642f38
- Tile store: the WebView's headers go along (a URL-restricted Mapbox token is checked against the Referer), and anything but a tile is left to the WebView, so a 401/403 never comes from the store. - Widgets read their snapshot inside the composition, so every write reaches a running Glance session; the trip picker updates only the widget the id belongs to. - Location: Approximate counts as allowed; the stream pauses with the app, resumes with it, and stops when the page reloads or the activity goes. - Billing: an already-owned subscription comes back as the purchase, so the shell redeems it; a payment that clears outside the sheet is announced (storeTransaction) and found again at start (storeUnfinished). - getWindowLayout answers with the last posture and hinge, not the bare window. - Share sheet: keeps the picked trip through rotation and folding, and takes content:// only, never a file:// path read with TREK's own rights.