OneSignal Help & Documentation

Welcome to the OneSignal New IA developer hub. You'll find comprehensive guides and documentation to help you start working with OneSignal New IA as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Discussions

Create Application Class - Android Studio

1. Open your main AndroidManifest.xml
2. Add android:name=".ApplicationClass" to your <application> tag

<manifest xmlns:android=""

3. Hover over android:name=".ApplicationClass" or press Alt + Enter or Option + Enter and select Create class 'ApplicationClass'.

This will automatically create the class for you. You can do so manually if you choose.

4. Now add the onCreate method to your new Application class.


public class ApplicationClass extends Application {
   public void onCreate() {
      // TODO: Add OneSignal initialization here

class ApplicationClass : Application() {
   override fun onCreate() {
      // TODO: Add OneSignal initialization here


Next Steps

Continue where you left off "Step 3. Add Required Code"!

Updated about a month ago

Create Application Class - Android Studio

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.