FeaturesHow it worksPricingDocsBlog
Sign inGet started

Win back the shoppers who almost bought.

Get startedChat on WhatsApp

Product

  • Features
  • How it works
  • Pricing

Resources

  • Docs
  • Blog
  • Recovery guide

Company

  • Careers
  • Support

Legal

  • Privacy
  • Terms
  • Data Deletion

© 2026 Nerja AI · Customer Intent & Retention

support@nerja.ai·+880 1886-157091

Chat on WhatsApp
  • Nerja AI documentation
  • Quick start
  • How Nerja works
  • Install the Nerja Tag
  • Events the tag detects
  • Tag JavaScript API
  • Privacy & consent
  • Mobile SDK overview
  • Get the SDK
  • Android SDK
  • iOS SDK
  • Push notifications setup
  • Push templates
  • Deep links: app or website
  • Connect email (AutoSend, Resend, Amazon SES)
  • Connect SMS (Twilio, BulkSMSBD)
  • Connect WhatsApp (WAAPI, Meta, Twilio)
  • Connect push (Firebase)
  • Campaign types
  • Delivery, open and click tracking
  • Signed user ids
  • Permissions explained
  • API reference
  • Store integrations
  • Troubleshooting
  • FAQ

Mobile SDK

Get the SDK

Download the Android and iOS SDK, add it to your app and start sending push notifications through your own Firebase project.

The Nerja SDK is a small library you add to your own mobile app. With it, push notifications use your Firebase project and your users' devices register themselves with Nerja automatically.

How you get it

Download the package below and add it to your project. It is not published to Maven Central or CocoaPods yet, so you add the folder you downloaded directly to your project.

Download#

PlatformPackageNeeds
Android (Java, API 23+)nerja-android-sdk-1.0.0.zipFirebase Cloud Messaging
iOS (Swift package, iOS 13+)nerja-ios-sdk-1.0.0.zipFirebaseMessaging + APNs key

1. Give it your Firebase file#

In the Firebase console open Project settings → Your apps and download google-services.json (Android) or GoogleService-Info.plist (iOS). This file only identifies your app; it is not the service-account key you paste into Nerja.

2. Android in five minutes#

  1. 1

    Add the module

    Unzip, copy the nerja-sdk folder next to your app folder, then:

    settings.gradle / app/build.gradle
    include ':nerja-sdk'
    
    dependencies {
        implementation project(':nerja-sdk')
    }
  2. 2

    Initialise it

    Application.onCreate()
    Nerja.init(this, new NerjaConfig.Builder()
        .baseUrl("https://api.nerja.ai")
        .appKey("nak_pk_live_…")   // from AI Connectors → Firebase → your app
        .build());

    If you already use the google-services Gradle plugin nothing else is needed. Without the plugin, put the JSON in res/raw and pass it with .firebaseJson(json, getPackageName()).

  3. 3

    Ask for notification permission (Android 13+)

    java
    Nerja.requestNotificationPermission(activity);

3. iOS in five minutes#

  1. 1

    Add the package

    Xcode → File → Add Package Dependencies → Add Local… and choose the unzipped folder. Add Firebase's FirebaseMessaging package and your GoogleService-Info.plist.

  2. 2

    Enable capabilities

    Turn on Push Notifications and Background Modes → Remote notifications. This needs a paid Apple Developer account.

  3. 3

    Configure

    swift
    Nerja.shared.configure(baseURL: "https://api.nerja.ai", appKey: "nak_pk_live_…")
    // after Firebase gives you the FCM token:
    Nerja.shared.registerPushToken(token)

4. Connect the Firebase project in Nerja#

Open AI Connectors → Firebase, paste your service-account JSON and create the app. The dialog shows the app key to use above. See Push setup for the full flow.

5. Check it works#

  1. Run the app and accept the notification prompt.
  2. In Nerja open a recipient — the FCM token appears on their profile within a few seconds.
  3. Send a push campaign to that audience and look for the delivered and opened counters.

Keep your keys apart

The nak_pk_live_ app key is public and safe in the app. The Firebase service-account JSON is a secret — paste it only into Nerja, never into the app or a repository.

Prefer to talk it through? Book a 30-minute call with the Nerja team.

PreviousMobile SDK overviewNext Android SDK

Something unclear or missing? Email support@nerja.ai and we will improve this page.

on this page

  • Download
  • Your Firebase file
  • Android
  • iOS
  • Connect in Nerja
  • Check it works