superwallAndroidSetupHintFor function

String superwallAndroidSetupHintFor({
  1. required bool androidKeyProvided,
})

Superwall-specific Android hint. The runtime auto-injects the SuperwallPaywallActivity per Superwall's install docs, so the only thing the consumer must do manually is raise minSdkVersion to 26 — Flutter's historical default of 21 fails the build.

Empty when no Android key was provided so iOS-only projects don't see noisy Android guidance.

Implementation

String superwallAndroidSetupHintFor({required bool androidKeyProvided}) {
  if (!androidKeyProvided) return '';
  return 'Android Setup'
      '\n- Set `minSdkVersion 26` (or higher) in `android/app/build.gradle` — Superwall requires it'
      '\n\n';
}