Developer SDK

AVAFLI Engagement SDK

Add sweepstakes, gamification, and prizing to your mobile app in minutes. Custom-branded to match your app. One call to integrate.

Integrate in 2 lines of code

AppDelegate.swift
import AvafliSDK

let config = AvafliConfiguration(
    // debug builds: use your avafli_test_ sandbox key
    apiKey: "YOUR_API_KEY",
    bundleId: "com.example.myapp",
    // only id is required — pass what you have.
    // email pre-fills & locks the capture form.
    // nobody signed in? user: .guest
    user: AvafliUser(
        id: "user_123",
        firstName: "Jane",
        lastName: "Doe",
        email: "jane@example.com"
    ),
    options: AvafliOptions(
        logging: .error,  // .debug while integrating
        enablePushReminders: true
    )
)
Avafli.configure(config)

// Done — the experience auto-opens once per day.
Live Demo

Try it out

See the actual Avafli experience running live, right in your browser — no install needed.

That was the real thing — it opened by itself, which is exactly what your users get on their first visit of the day. No button, no integration code. Enter an email, watch your daily entries land, and build a streak. Centered card on desktop, bottom drawer on mobile — resize and replay to see both.

A weather app's take on the Avafli experience — blue branding, $100 Amazon Gift Card prizeGrand Solitaire's take on the Avafli experience — orange branding, 14-day streak

The demo above is the real thing — here it is wearing two other brands.

Everything you need, out of the box

Engage & Reward

  • Sweepstakes & Prizing

    Daily entries, streak rewards, and winner announcements.

  • Escalating Daily Entries

    The longer the streak, the more entries per day.

  • Streak System

    Escalating daily ladder — or visit-based streaks for low-frequency apps.

  • Custom-Branded Experiences

    Your logo, brand color, and prize art (available on select plans).

Simple to Integrate

  • One-Call Integration

    Configure once at app launch — that's it.

  • No Presentation Code

    The experience opens itself on the first app-open of each day.

  • Developer Friendly

    Native SDKs for iOS, Android, Flutter, and Web.

Trusted & Secure

  • Anti-Fraud Built In

    Abuse protection and a ban system included.

  • Rate Limiting & Velocity Checks

    Suspicious entry patterns are throttled automatically.

  • Device Fingerprinting

    One free entry per person per day — across devices and accounts.

Measure & Optimize

  • Analytics & Events

    Track engagement, entries, and streaks with built-in analytics.

  • Real-Time Insights

    Live dashboard stats for users, entries, and winners.

Built for Publishers

  • Publisher Dashboard

    API keys, branding, prize presentation, and marketing exports.

  • Giveaway Management

    Programs set up and run for you by the Avafli team.

  • Winner Selection Tools

    Auditable drawings, winner verification, and redraws — handled end to end.

Ready to get started?

Get your API key and start integrating in minutes.