Optional Integrations Guide

    Set Up Crashlytics, Apple Sign In, and OneSignal in Swift

    Monitor crashes, offer seamless Apple authentication, and engage users with push notifications. All three integrations are pre-configured and optional in SwiftAI Boilerplate Pro.

    Sign in with Apple Setup

    Apple requires apps that offer third-party login to also support Sign in with Apple. Our boilerplate has it pre-built with Supabase integration.

    Native Sign in with Apple button
    Secure authentication with Apple ID
    Privacy-focused login (Hide My Email)
    Seamless Supabase integration
    Automatic session management

    Sign in with Apple Setup

    Step 1 of 60 of 6 completed
    Step 1: Go to Supabase Authentication

    Step 1: Go to Supabase Authentication

    In your Supabase dashboard, navigate to Authentication settings. This is where you'll enable Apple as a sign-in provider.

    Firebase Crashlytics Setup

    Know when your app crashes in production. Crashlytics provides real-time crash reporting with detailed stack traces so you can fix issues fast.

    Why You Need Crash Reporting

    Users rarely report crashes. Without crash reporting, you are flying blind. Crashlytics captures every crash with full context: device info, OS version, stack trace, and logs leading up to the crash. Fix issues before they tank your App Store ratings.

    Real-time crash reporting
    Detailed stack traces and logs
    Automatic dSYM upload
    Issue prioritization and alerts
    Production-ready monitoring

    Firebase Crashlytics Setup

    Step 1 of 170 of 17 completed
    Step 1: Go to Firebase Console

    Step 1: Go to Firebase Console

    Navigate to the Firebase Console (console.firebase.google.com) and create a new project or select an existing one.

    Important: Test crashes on a real device, not the simulator. After testing, remember to remove the test crash code before submitting to the App Store.

    OneSignal Push Notifications

    Engage users with push notifications. OneSignal provides rich notifications, analytics, and user segmentation with a generous free tier.

    Completely Optional

    OneSignal is fully optional. Your app works perfectly without it. If you don't need push notifications, simply leave the App ID empty in your config. The SDK won't initialize and there's zero impact on your app.

    Rich notifications with images and buttons
    Confirmed delivery analytics
    User segmentation and targeting
    In-app messaging capability
    Graceful degradation (works without config)

    Quick Setup

    1

    Create a OneSignal account

    Sign up at onesignal.com (free tier available)

    2

    Follow OneSignal's iOS SDK setup

    Their documentation is excellent and regularly updated

    3

    Add your App ID to Secrets.xcconfig

    ONESIGNAL_APP_ID = your-app-id-here

    4

    Run update-config.sh and build

    The boilerplate handles the rest automatically

    Free Tier: OneSignal offers unlimited push notifications for up to 10,000 subscribers. Perfect for indie apps and startups.

    More Optional Features

    SwiftAI Boilerplate Pro includes additional optional features. Use what you need, skip what you don't.

    ☁️ Chat Sync

    Sync conversations across devices using Supabase. Your chat history follows users everywhere.

    📷 Profile Photos

    Store user profile photos in Supabase Storage with automatic resizing and caching.

    Ship with Confidence

    Stop guessing why your app crashes. Get real-time crash reporting, seamless Apple authentication, and optional push notifications. All pre-configured in SwiftAI Boilerplate Pro.

    One-time purchase. Lifetime updates. 14-day money-back guarantee.