Guide: Getting a OneSignal App ID for Android
Step 1: Sign up for a OneSignal Account
If you haven't already, visit the OneSignal website and sign up for a free account. Fill in the required information to create your account. OneSignal is a powerful push notification service that helps you engage with your users.
Step 2: Create a New App
Once you're logged in to your OneSignal account, click on the 'Add a new app' button. Provide a name for your app and select the Android platform.
Step 3: Configure App Settings
In the app settings section, you'll need to configure your Firebase project and obtain the necessary Firebase IDs. Follow the steps below to obtain the Firebase IDs:
- Visit the Firebase Console and create a new project if you haven't already.
- In the Firebase project settings, locate the 'Project ID'. This will be your Firebase project ID.
- In the 'Project settings' > 'Cloud Messaging' section, locate the 'Server key'. This will be your Firebase server key.
Step 4: Enable FCM Server Key
In the 'Project settings' > 'Cloud Messaging' section of the Firebase Console, make sure the 'Server key' is enabled. If it's disabled, click on the 'Enable' button to enable it. This will allow OneSignal to send push notifications to your Android app using the FCM server key.
Step 5: Configure OneSignal with Firebase IDs
Now that you have your Firebase project ID and server key, go back to your OneSignal account and enter these IDs in the respective fields in the app settings section. This will allow OneSignal to communicate with Firebase for sending push notifications to your Android app.
Step 6: Get Your OneSignal App ID
Once you've configured the app settings with the Firebase IDs, you'll be provided with a unique OneSignal App ID. This App ID is required to send push notifications to your users. You can use this App ID when creating your app using Convertixo.