superwallIosSetupHintFor function
Superwall-specific iOS hint. Mirrors iosSetupHintFor but adds the iOS 14.0+ deployment-target requirement (Superwall's documented minimum). Empty when no Apple key was provided so Android-only projects don't see noisy iOS guidance.
Implementation
String superwallIosSetupHintFor({required bool appleKeyProvided}) {
if (!appleKeyProvided) return '';
return 'IOS Setup'
'\n- Ensure your iOS deployment target is 14.0 or higher (set `platform :ios, \'14.0\'` in `ios/Podfile`)'
'\n- Open the `ios/Runner.xcworkspace` file in Xcode'
'\n- Navigate to the `Runner` target'
'\n- Under the `Signing & Capabilities` tab, add the `In-App Purchase` capability'
'\n- Run "cd ios && pod repo update"'
'\n\n';
}