Newsfreak Doc
Product LinkInstallation PlansSupport
  • Introduction
  • Changelogs
  • Getting Started
  • 🌐WordPress Setup
    • 1. Install Plugins
      • 1.1 JWT Authentication Setup
    • 2. Import Newsfreak Assets
  • 📱App Setup
    • 1. Flutter Installation
    • 2. Code Setup
    • 3. Push Notification Setup
      • 3.1 Android Notification Setup
      • 3.2 iOS Notification Setup
      • 3.3 OneSignal Setup
    • 4. App Information Setup
      • 4.1 Change Package Name
      • 4.2 Change App Name
      • 4.3 Change App Icon
      • 4.4 Change Splash Icon
      • 4.5 Change Logo
      • 4.6 Change App Theme Color
      • 4.7 On-Boarding Setup
      • 4.8 Update Website URL
    • 5. Run the App
    • 6. Releasing the Android App
      • 6.1 Generate Keystore File
      • 6.2 Uploading At Google Play
    • 7. Releasing the iOS App
  • ⚒️Additional Setup
    • 8. Multi-Language Setup
    • 9. Ads Setup
      • 9.1 Admob Setup
        • 9.1.1 Admob Setup for Android
        • 9.1.2 Admob Setup for iOS
      • 9.2 Custom Ads Setup
    • 10. Social Logins Setup
      • 10.1 Google Login
      • 10.2 Facebook Login
      • 10.3 Apple Login
    • 11. Deep/App Links Setup
      • 11.1 WordPress Setup
      • 11.2 Android Setup
      • 11.3 iOS Setup
    • 12. Featured Posts Setup
    • 13. Video Posts Setup
    • 14. Home Categories Setup
  • ✨Updates
    • Migrate to v2.2
    • Migrate to v2.1
    • Migrate to v2.0
  • 🎇Issues & Fixes
    • 1. No Internet Issue
Powered by GitBook
On this page
  1. App Setup
  2. 3. Push Notification Setup

3.1 Android Notification Setup

Last updated 9 months ago

Follow the steps below:

  • From your firebase console, open the project you have just created.

  • Go to the Project Overview and click on the plus icon and then click on the Android Icon.

  • Enter your android package name.

Your package name should be like com.your_name.your_app_name . Example: com.microsoft.skype. You can use the same package name for android & iOS. iOS doesn’t support under space in the package name. So, keep in mind that if you want to use the same package name for both android & iOS.

  • Click on the register app and skip other steps by clicking next.

  • Now go to Project Settings and click on the android icon and download ​google-service.json file.

  • Now go to ​the wordpress_app/android/app​ directory and paste the google-service.json​ file here.

📱