Skip to content

Getting started

PlingBuddy is hosted for you, and can't be run on your own servers. Before you add an SDK to your app, set your app up on PlingBuddy. It takes a few minutes in the dashboard, and gives you the application id the SDK starts with.

1. Create an account

Sign up at app.plingbuddy.com. You get an email with a link, where you choose your name and password. Then create an organization for your company, or accept an invitation to one your team already has. Applications belong to the organization, so everyone in it can work on them.

2. Create the application

Your app is an application on PlingBuddy. In the dashboard, add an application, give it your app's name, and optionally a logo (paste its App Store or Google Play link to fetch the icon).

One application covers your app on both iOS and Android.

3. Add the connections

PlingBuddy sends notifications through Apple and Google, so it needs your app's credentials for them. In the application's settings, open Connections and add one per platform your app runs on:

  • Apple (APNs), for iOS:
    • The key file (.p8) and its Key ID, made in your Apple Developer account under Certificates, Identifiers & Profiles → Keys, with Apple Push Notifications service enabled.
    • Your Team ID, under Membership details in your Apple Developer account.
    • Your app's bundle ID, as in Xcode.
    • The environment: builds run from Xcode get Sandbox push tokens, TestFlight and App Store builds get Production ones. Only devices in the connection's environment are sent to.
  • Firebase (FCM), for Android:
    • A service account file, from the Firebase console under Project settings → Service accounts → Generate new private key.
    • The Firebase project ID, under Project settings → General. It's in the service account file too.

Without a connection, devices still register, but the service can't send them notifications.

4. Find the application id

The application id is shown on the application's Settings page in the dashboard. You pass it to the SDK when it starts, as applicationId.

It's not a secret: it's built into your app, where anyone can read it.

5. Add the SDK

Pick your platform and follow its setup:

Once a device has registered, it shows up in the dashboard as a recipient. To try a notification on your own phone, open its recipient in the dashboard, add the device as a test device, and send a test campaign.

Staging

PlingBuddy also has a staging environment, https://staging.plingbuddy.com/, for trying your app before release. It's separate from production: it has its own accounts and applications, so create the application there again and use its application id, with the SDK's staging constant as baseUrl (see your platform's setup).

Access to staging is granted on request: contact us at [email protected]. Staging is for testing only; if it's used for an app in production, its access is turned off.

Identity verification

If your app has its own sign-in, turn on identity verification before release, so nobody can pose as one of your users. It's also what lets a signed-in user delete their data from the app.