Setting Up Incoming Call Notifications
When your agents initiate a call from the Popin Seller app, customers must receive an incoming call notification inside your mobile app (where the Popin SDK is integrated).
To enable this, you must configure push notification credentials so Popin can deliver call notifications to your customers.
Incoming call notifications are powered by:
Firebase Cloud Messaging (FCM) for Android
Apple PushKit for iOS
How It Works
You integrate the Popin SDK into your mobile app
You configure push notification credentials in the Popin Dashboard
When a customer opens your app, the SDK registers their device token with Popin
An agent logs into the Popin Seller app and initiates a call
Popin sends a push notification using your configured credentials
The customer receives an incoming call notification inside your app
Both push configurations are managed from:
Popin Dashboard → Developers
/developersPrerequisites
Before you begin, ensure you have:
✅ Admin or Editor access to the Popin Dashboard
✅ The Popin SDK integrated into your mobile app
✅ A Firebase project (for Android)
✅ An Apple Developer account (for iOS)
Android Setup — Firebase Cloud Messaging (FCM)
FCM is required to deliver incoming call notifications to customers using your Android app.
Step 1: Create a Firebase Project
Go to the Firebase Console
Click Add project (or select an existing project)
Follow the setup prompts
ℹ️ Use the same Firebase project configured in your Android app.
Step 2: Generate a Service Account Key
Open your Firebase project
Go to Project Settings (gear icon next to “Project Overview”)
Select the Service accounts tab
Click Generate new private key
Confirm by clicking Generate key
A .json file will download to your computer.
⚠️ Keep this file secure. It grants access to your Firebase project.
Step 3: Upload the Key to Popin
Log in to the Popin Dashboard
Navigate to Developers (
/developers)Scroll to FCM Configuration
Click Setup (or Update)
Upload the downloaded
.jsonfileClick Save
Once saved, your Firebase Project ID will appear — confirming the setup is active.
iOS Setup — Apple PushKit
PushKit enables VoIP-style push notifications that:
Wake the app in the background
Display a native call screen using CallKit
Deliver incoming call notifications reliably
Step 1: Create an APNs Authentication Key
Sign in to your Apple Developer Account
Navigate to Certificates, Identifiers & Profiles
Click Keys
Click the + button
Name the key (e.g.,
Popin PushKit Key)Enable Apple Push Notifications service (APNs)
Click Continue → Register
Download the
.p8file
⚠️ You can only download the
.p8file once. Store it securely. ℹ️ Make note of the Key ID shown on the confirmation page.
Step 2: Find Required Apple Credentials
You’ll need:
Team ID
Apple Developer Account → Membership page
Bundle ID (App ID)
Certificates, Identifiers & Profiles → Identifiers
Example Bundle ID:
Step 3: Configure PushKit in Popin
Log in to the Popin Dashboard
Navigate to Developers (
/developers)Scroll to PushKit Configuration
Click Setup (or Update)
Fill in the required fields:
App ID (Bundle ID)
Your iOS bundle identifier
com.example.app
Auth Key (.p8 file)
Upload your downloaded file
—
Key ID
10-character key from Apple
ABC123DEFG
Team ID
Your Apple Developer Team ID
TEAM123456
Click Save
ℹ️ When updating an existing configuration, uploading a new
.p8file is optional unless you are replacing the key.
Verifying Your Setup
After completing both configurations:
Ensure the Popin SDK is initialized correctly
Have a customer open your app (this registers their device token)
Log in to the Popin Seller app
Initiate a call to the customer
If configured correctly, the customer will receive an incoming call notification.
Troubleshooting
If notifications are not received, verify:
The FCM / PushKit configuration is saved correctly
The customer has push notification permissions enabled
The Popin SDK is initialized successfully
The device has a stable internet connection
Managing Configurations
You can modify push credentials anytime from:
Update Credentials
Click Update
Upload new credentials
Click Save
Remove Credentials
Open the configuration modal
Click Remove
⚠️ Removing a configuration immediately stops incoming call notifications for that platform.
Last updated