Skip to content

2.10.2

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:21
· 73 commits to develop since this release
54ff40d

Fixes

  • Fixes a paywall the app showed right after the same paywall closed being taken off the screen when the closed one finished tearing down.
  • Fixes a crash with DeadObjectException at startup when Google Play's install referrer service died just as the SDK connected to it. The SDK read the referrer in the connection callback, where nothing caught the failure, and didn't use the result. The referrer is now only read where it is needed, for web checkout redemption and install attribution, with error handling.
  • Fixes a paywall that failed to load being reloaded without limit. The limit of three reloads was reset each time a page finished loading, which a failed page also does, so on some devices a paywall that couldn't be reached was reloaded thousands of times in the background, and a paywall on screen could reload in a loop with close and Back not responding. A paywall is now reloaded at most three times per load, after waiting 0.5, 1 and 2 seconds.
  • A failed request for a font, image, script or other asset that is not part of the paywall runtime, or that fails once the paywall is ready, no longer reloads the paywall. Since 2.8.2 any failed request whose URL contained runtime was treated as the whole page failing. Now the page counts as failed only when its own request fails, or when one of the paywall runtime's scripts (a .js or .mjs file under superwalleditor.com/runtime) fails before the paywall has reported that it is ready.
  • Fixes a subscription that expired or was refunded or revoked while the app was in the background staying active until the app was restarted. When the SDK manages purchases (no PurchaseController), it now rechecks Google Play purchases each time the app returns to the foreground. Web entitlements are also refreshed on return to the foreground when the last check is older than the configured interval.