blink icon indicating copy to clipboard operation
blink copied to clipboard

Bypass paywall in Developer builds to unblock local self-builds

Open setouchi-h opened this issue 1 month ago • 1 comments

Summary

Developer builds currently show the paywall even when RevenueCat isn’t configured, which blocks local testing. This change lets Developer builds proceed without subscriptions; App Store behavior is unchanged.

What changed

EntitlementsManager.hasActiveSubscriptions(): return true in debug.

Behavior by build type

  • Developer (Debug): Paywall skipped so self-builds can launch and test.
  • TestFlight/App Store: Unchanged; paywall logic remains intact.

Testing

Debug build launches without the subscription screen. Switching compilation condition to BLINK_PUBLISHING_OPTION_APPSTORE still shows the paywall as before.

Risk/Considerations

Keep this bypass limited to Developer builds (not TestFlight) to avoid altering tester flows. If preferred, I can update the guard accordingly.

setouchi-h avatar Oct 30 '25 12:10 setouchi-h

Apologies for the delay. I wanted to have some time to check out the flows as I removed a lot of code in a previous version, and wanted to know which case the developer was not behaving properly. Would you mind if instead of forcing here a "true", we would actually fix the real problem, which is to attach the developer to the TestFlight tier? So customerTier in line:160.

I don't think we use the "developer" PublishingOptions for anything, I guess it was just a nice to have to enable some "featureFlags" (like when we were testing Blink Build), but "tier-wise", it should be "Tester/TestFlight".

carloscabanero avatar Nov 14 '25 17:11 carloscabanero