7.1.1
New Features
-
Added
Pushwoosh.configure.pushPrimer— a native, fully customizable soft opt-in primer shown before the iOS system push-permission prompt. A fluent builder offers a system-alert style or a custom sheet in three positions, each with its own default design — a bottom sheet, a top push-style banner (icon + title + subtitle), or a centered dialog; title, message and accept/decline buttons; a local image or remoteimageURL(rendered as a circle on the center/bottom layouts); a solidbackgroundColoror a soft multi-colorbackgroundGradient; title, message and per-button colors; sheet and button corner radius and button border color; state-aware behavior (shows when undetermined, silently suppresses when already authorized, routes to Settings when denied viafallbackToSettings); and an optionalminIntervalthat caps how often the primer reappears. Callpresentorpresent { outcome in }.Pushwoosh.configure.pushPrimer .title("Stay in the loop") .message("Get notified about deals first") .acceptButton("Enable") .declineButton("Later") .present { outcome in }