Skip to content
Limited timeStarter is now $9 a month instead of $20.See plans
charmotion

How to Use an Animated Mascot in Push Notification Permission Prompts to Lift Opt-Ins

By the Charmotion team · Updated · How we write guides

Cover illustration for the guide: How to Use an Animated Mascot in Push Notification Permission Prompts to Lift Opt-Ins, with Charmotion demo characters

Show the mascot on your own pre-permission screen for push notifications, shown before the system permission prompt, and let app state set its mood: attention while asking, happy after a yes, calm idle after a no. The system dialog cannot be restyled, so the mascot belongs on the screen before it.

Key takeaways

  • Put the mascot on your own priming screen, because the system permission dialog cannot be restyled.
  • Map moods to answers: attention while asking, happy on allow, calm idle on decline.
  • Never answer a declined prompt with a sad or guilt-driven animation.
  • Measure with an A/B test against the plain system prompt before you call it a win.

Already have a character or logo? See examples in real app screens: splash, onboarding, loading and empty-state screens, with the animation that plays in each.

Why do push permission prompts get declined?

The system prompt asks for a yes or no before the user knows what the notifications will bring. Many people decline by reflex, and the dialog gives your app no room to explain itself. The fix is not a louder prompt. It is a short screen of your own, shown when the user has just felt the value of the app, that says in plain words what the reminders or alerts will be.

This guide explains how to use an animated mascot in push notification permission prompts to lift opt-ins without changing the system dialog itself.

An animated mascot helps on that screen because it gives the request a face. A character that waves, looks up or reacts to a tap reads as friendly, and it shows the user that something is happening. It does not make the request more persuasive by itself. Treat the mascot as the presenter of one clear sentence, not as the argument.

Apple's SwiftUI framework, which many iOS teams use for onboarding screens, lets you build that screen with the same layout code as the rest of the app. The permission request itself stays with the operating system, so the design work happens on your side of the dialog.

What should the priming screen say before the system prompt?

Keep it to one screen with one main action. Name the benefit, say how often messages arrive, and offer a clear way out. Specific copy works better than general copy:

  • What arrives: 'Your streak reminder, once a day at 8 pm.'
  • How often: 'No more than one message a day. You can change it later in Settings.'
  • What happens if you skip: 'You can still log workouts. You just will not get reminders.'

Place the mascot above the copy at a size where the text stays the main content. Two buttons work well: a primary 'Turn on reminders' that opens the system prompt, and a plain text 'Not now' that dismisses the screen. Do not hide the skip option or style it like a broken control. A dismiss that is hard to find costs trust, and the user will often decline the real prompt anyway.

Keep the screen short enough to read in a few seconds. The mascot should move once when it appears and then settle into a calm loop, so the user can read the copy without competing motion.

Which mascot mood fits each permission step?

Mood states let the same character react to each moment without a new file for every step. If your character is a Rive file with a number input named mood, use these values. Any Rive character with equivalent states works the same way.

StepMoodNumberWhy
Priming screen first appearsidle0Calm and present, not asking yet
Asking for permissionattention9Signals a request, with a '!' accent on by default
User taps the primary buttonattention9Stays in place while the system dialog is open
User allows notificationshappy1Shows the yes, with sparkles on by default
User declines or skipsidle0No guilt animation; the app moves on quietly
Device registration runs after allowloading5Shows work in progress until the token is saved
Registration failssad4Reserved for a real error, not for a declined prompt

Moods blend into each other, so a change from attention to happy looks smooth. If the accents read as noise on a calm onboarding screen, the boolean accents can hide the sparkles, '!' and other small marks without touching the body animation.

How do you connect the mascot to the permission request?

The flow is a small state machine in your app. The mascot only reflects the state; the permission call stays in your notification code. A minimal JavaScript version looks like this, with the mood number taken from the runtime handle your app already has:

const MOOD = { idle: 0, happy: 1, sad: 4, loading: 5, attention: 9 };
function setMascotMood(name) {
  // mascotMoodInput is the number input named mood, obtained from your Rive runtime
  mascotMoodInput.value = MOOD[name];
}

Then connect the steps in order:

  1. Show the priming screen and set the mood to attention (9).
  2. On the primary tap, keep attention on and call the system request.
  3. If the user allows, set the mood to happy (1) and continue to the first real notification preview.
  4. If the user declines or skips, set the mood to idle (0) and show the app without the reminder.

On iOS, the request runs through the UserNotifications framework, and Android has its own runtime permission for notifications on current versions. Check each platform's current documentation before shipping, because the exact call and the rules for repeat requests are set by the operating system and can change between releases.

What should the mascot do after a yes or a no?

After a yes, use the happy state and show the value at once. A preview of the first reminder, or a short line such as 'Your reminder is set for 8 pm', tells the user the choice worked. Happy plays once, then the character returns to idle.

After a no, return to idle and let the app continue. Do not use a sad face, a pleading line or a repeated prompt. A sad character after a decline reads as pressure, and users remember it. Offer the reminder again later, at a moment where it clearly helps, such as after the user completes a streak or sets a goal.

On iOS, once a user has declined, the app generally cannot show the system dialog again, so the route back is a settings screen that explains how to turn notifications on. Place that link in your own settings, not inside the prompt, and keep the mascot calm there too.

Sad has one job in this flow: a real error, such as a registration that failed or a network problem. Use it for that, and keep it out of the permission path.

Which file format should the mascot ship in?

Two formats cover most app and web mascots. The choice depends on how much the animation must react to app state.

Rive (.riv). A .riv file bundles artboards, animations, state machines and data binding settings, and it loads directly into a website or mobile app. The .rev format is for editing and backups, and runtimes cannot load it. Files exported on Rive's free plan play a Rive splash screen, and paid plans export without it. For the plan details, see whether Rive is free. Rive is the better fit when the app needs to set a mood number or bind live values to the character.

dotLottie (.lottie). A .lottie file is a ZIP archive that can hold one or more animations, images, fonts, themes and state machines. LottieFiles describes dotLottie as a superset of Lottie JSON, and its official runtimes play it on web, iOS and Android. Its interactivity docs list dotlottie-web 0.30.0 or later as the minimum for dynamic theming and state machine features. dotLottie is a sound choice when a team already works in Lottie and the interaction is light.

Disclosure: Charmotion is our product. Charmotion turns one finished, coloured character image into one Rive file with CharacterViewModelMachine (a number property named mood), CharacterStateMachine (a number input named mood) and, if you pick launch, LaunchStateMachine. You choose animations from ten, idle is always included free, and each chosen animation costs one credit. The output also includes web, React and SwiftUI code. It does not export Lottie or 3D rigs, and characters have no one-shot triggers, so a success should be shown with happy and an error with sad, as in the mood table above. Plans are on the pricing page.

How do you test whether the mascot lifts opt-ins?

Run an A/B test. The control shows the system prompt directly, as most apps do. The variant shows the priming screen with the mascot first. Split new users at random, and keep everything else the same, including the trigger moment and the copy in the system prompt.

Track four numbers for each group: the share of users who see the request, the share who tap the primary button, the share who allow notifications, and the share who still have notifications on 30 days later. The last figure matters most, because an opt-in that is later switched off is not a gain. Do not call a winner early. Wait until each group has enough users to make the gap meaningful for your app, and check the result against your own baseline rather than any published average.

If the variant does not win, look at the screen before the prompt. The usual causes are unclear copy, a skip button that is hard to find, or a mascot that moves too much while the user is reading. Fix one thing at a time and test again.

How to add an animated mascot to a push notification permission prompt

  1. Build a priming screen. Create one screen before the system prompt with a specific benefit, how often messages arrive, a primary button and a plain skip option.
  2. Map moods to the flow. Set the mascot to attention (9) while asking, happy (1) after allow, idle (0) after decline, and reserve sad (4) for real errors.
  3. Call the system request from your code. Keep the permission call in your notification code, triggered only by the primary button, and let the mascot reflect the result.
  4. Handle the decline path. Return to a calm idle state, let the app continue, and point to notification settings from your own settings screen instead of the prompt.
  5. Test against the plain prompt. Run an A/B test and compare allow rate and 30-day notification-on rate with the system prompt shown directly.

Frequently asked questions

Can the system permission dialog itself show an animated mascot?

No. The dialog is drawn by the operating system and cannot be restyled with your artwork or animation. Put the mascot on a screen your app controls, shown just before the dialog, and keep the dialog's own text plain.

Should the mascot look sad when someone declines notifications?

No. A sad face after a decline reads as pressure, and users remember it. Return to a calm idle state, let the app continue, and offer the reminder again later at a moment that gives real value. Keep sad for real errors, such as a failed registration.

Does the mascot file need a paid Rive plan?

Files exported on Rive's free plan play a Rive splash screen, and paid plans export without it. Plan terms change, so check Rive's current pricing page before you ship.

How many animations does a permission mascot need?

Three or four are usually enough: idle, which is included free in most character tools, plus attention for the ask and happy for a yes. Add sad only if the app shows errors. Check how each tool bills extra animations before you commit to a set.

Sources

Related guides