The onboarding trainer picker passed the State's own context into
connectTrainerFromPicker. Its trial gate opens the Go Pro dialog, whose
purchase action opens the paywall drawer -- and that context sits above
the Scaffold's DrawerOverlay, so openDrawer's `parentLayer!` threw. In
release the user saw only a "Null check operator used on a null value"
toast and the paywall never appeared, which on an expired trial leaves
no way forward at all.
Pass _sheetContext, which lives below the Scaffold.
_showPaywall also stops depending on callers getting that right: with no
DrawerOverlay ancestor it now falls back to showDialog, which only needs
a Navigator. The paywall already constrains and scrolls itself, so it
renders correctly either way. The paywall is the last thing that should
break when a caller passes the wrong context.
Symbolized from a support bundle (chat 197d1f1a, Windows 6.4.3 patch 13):
four identical traces seconds apart, each on the Go Pro tap.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
- Remembered controllers offer a single "Forget" instead of two disconnect
variants: there is no link to drop on a device that isn't here.
- Click V2: drop the unlock-mode dropdown and the new-unlock-method toggle.
The explainer stays the one place the mode is chosen — it also does the
follow-on work (un-ignoring the left puck, the right-side-only remap,
cancelling the reset timer) that the bare dropdown never did. "Set up
again" now sits on the right puck's card too.
- Paywall: the Base column reads "Basis"/"Base" rather than "VOLL"/"FULL",
and the one-time Base card moves above the Pro plans so top-to-bottom
matches the comparison table's left-to-right.
- A remembered controller's own settings page shows its button mapping
again. The gate counted live controllers only and KeymapExplanation
looked its filterDevice up in the live list, so the page fell through to
a warning about connection methods, which had nothing to do with it.
- showGoProDialog takes a feature name for its title, so the keymap sync
cloud icon says what it does instead of only "Pro Feature".
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Riders see the Flutter paywall on every platform now — RevenueCat's hosted
sheet is only a fallback when an offering has no matching package. Its
price loader was gated to macOS, so mobile would have shown the hardcoded
'About 2.25 $/mo' placeholders; it now fetches offerings wherever
RevenueCat is in use (the Windows Stripe build keeps the fallback, having
no offerings to read). Purchases still go straight to the store via the
paywall's own buttons (fromPaywall: true).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Mobile opens on a welcome screen whose headline reveals word by word,
then the subtitle, the three what-you'll-do rows and the actions.
'I'll set this up later' records completion, so a rider who declines
isn't asked again on every launch. Desktop keeps its rail-framed step 1.
- Dark mode: colorScheme.primary is only the brand blue in the LIGHT
theme, so white-on-primary icons and check marks were invisible (the
Network tile above all). New onboardingAccent()/onboardingOnAccent keep
the brand accent in both themes, lightened for dark.
- Step 4's blocked state read as 'Virtual Shifting doesn't work here'; it
now leads with 'Optional: connect your smart trainer' and says plainly
that VS does work — just not with both apps on one phone. The normal
step regains the design's 'Optional:' prefix too.
- 'See Pro & Base options' goes through IAPManager again, so iOS/Android
get RevenueCat's hosted paywall instead of the desktop fallback with
placeholder 'about x €' prices (_loadRevenueCatPricing is macOS-only).
The desktop paywall keeps pull-to-dismiss, now for every caller.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Show the Base version in screenshots (re-assert IAPManager.isPurchased in the
shoot() helper, which core.settings.reset() had cleared — so the overview no
longer shows "N day trial available").
- Localize previously-hardcoded strings (en source; de/es/fr/it/pl are drafts):
- InGameAction labels (~50): title is now a localized getter backed by
englishTitle (Steer Right, Change Camera, Tuck, ...).
- ButtonTrigger (Single/Double Click, Long Press).
- Button-simulator action categories (Shifting/Steering/Other).
- The "N day trial available" banner string.
- Regenerated all localized screenshots.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>