AppMySite
Website
  • Introduction
  • Getting started
    • Create an app
    • Initial requirements
  • App
    • Design
      • App icon
      • Splash screen
        • Design Splash screen
        • Splash screen not appearing
      • Theme
        • Design theme
        • Upload icons
    • Access
      • Consent
        • Add consent screen
        • Control access to app
      • Login
        • Design login screen
        • Web-to-app login
        • Custom app login
        • Prompt user login
        • Apple login requirement
        • Login settings
        • WordPress
          • WordPress login
          • WordPress member login
          • WP Social login issue
          • User registration issue
          • Missing cart button
        • Social login configuration
          • Android build for social login
          • iOS build for social login
    • Connectivity
      • WordPress to app connectivity
      • Install WordPress plugin
      • WP Application-Password
      • WooCommerce REST API
      • Troubleshoot connectivity
      • How to track connectivity
      • Configure Solid Security
      • Whitelist IP Addresses
        • Whitelist in CloudFlare
        • Whitelist in All In One WP Security
        • Whitelist in Wordfence
        • Whitelist in Solid Security
        • Whitelist in Jetpack
      • Website-to-app sync
      • Website-to-app changes
      • Plugin conflict
    • Navigation
      • Home Screen
        • Design main banner
        • Mark blogs sticky
        • Mark products featured
      • Bottom bar
        • WordPress bottom bar
        • Web-to-app bottom bar
        • Custom app bottom bar
        • Bottom bar settings
      • Menu
        • WordPress menu
        • Custom app menu
        • Web to App menu
        • Menu settings
    • Web view
      • Advanced web-view settings
      • Web view checkout
      • Web-view for WordPress
      • Web-view for Custom app
      • Intercept web traffic
      • Internal URL Handling
    • Pages
      • Custom app
        • Custom app pages
        • Individual page settings
        • Bulk page settings
        • Page layout
        • Page Settings
      • WordPress
    • Posts
      • Custom app
        • Custom app posts
        • Individual post settings
        • Bulk post settings
        • Post settings
      • WordPress
        • WordPress posts settings
        • Custom post types
        • Forum plugins
    • Product
      • WordPress product settings
      • Remove product reviews
      • Payment gateway support
      • Shipping plugins support
    • Settings
      • General
        • Change app product
        • Change app name
        • Change domain
        • Offline mode
        • Delete App
      • Social
        • Connect social media
    • Email
      • Configure email
    • Preview
      • Preview app
      • Test APK on real device
      • Test IPA on real device
      • Screenshots from Preview
      • Preview not working
    • Download
      • iOS
        • Create Apple Developer Account
        • Generate iOS app
        • iPad support
        • App permissions
        • Certifications
          • Apple Team ID
          • App identifier
          • Certificate signing request
          • iPhone distribution certificate
          • iPhone provisioning profile
      • Android
        • Create Google Developer Account
        • Generate Android app
        • App publishing time
        • Android app visibility
      • Progressive Web Apps
        • Publish PWA
        • Install PWA
      • Migrate live app
        • Migrate existing app
        • User impact after replacing app
        • Change bundle ID
      • Progressive web apps
    • Upload
      • iOS
        • Prepare for iOS submission
        • Upload iOS app
        • Submit new iOS version
        • Grant Apple developer access
        • Artwork for iOS app
        • Screenshot guidelines
        • iPad screenshots
        • Transfer iOS app
        • Distribution certificate error
      • Android
        • Prepare for Android submission
        • Upload Android app
        • Submit new Android version
        • Grant Google developer access
        • Artwork for Android app
        • Tablet screenshots
        • Transfer Android app
      • App Stores
        • Developer account ownership
        • Need for developer account
        • Support for app stores
        • Update notification
        • App store publishing policies
        • App Store compliance
        • Rejection due to Guideline 4.3(a)
        • Distribute app without publishing
        • Choosing Apple developer program
        • Minimum functionality rejection
        • Unpublish Android app
        • Remove app store listing
    • Publish
      • Prerequisites to publish
      • Publish app directly
      • Publish feature importance
    • Website
    • Analytics
      • Access analytics data
      • Tracks events in GA4
    • Notifications
      • Advanced notifications
        • Create advanced notifications
        • Add images to notification
        • Audience segmentation
        • Users log
      • Basic Notifications
        • Create push notification
        • Schedule notifications
        • Push notifications issue
        • Create Firebase project
        • Add Firebase user
      • Notification configuration
        • iOS configuration for basic notifications
        • iOS configuration for advanced notifications
        • Android build configuration
        • Update Firebase Settings
        • Push Notification Permission
    • Chat
      • Integrate chat
      • Third-party chat integration
    • Merge Apps
      • Merge apps
    • Add-ons
      • App Store Artwork
      • Mobile App Design
      • Upload to app stores
      • Build & Upload
      • Dedicated server
      • Translate app
      • Languages support
    • Monetization
      • Advertisement
        • Configure AdMob
        • AdMob issue - Android
        • Ad options
      • In-App Purchases
        • Configure In-App Purchases
    • Performance
      • App speed
      • WordPress plugin effects
      • WordPress plugin support
    • Team
      • Manage team members
      • Team roles
      • Accept team invite
  • Unlimited Workspace
    • Create workspace
    • Create app in workspace
    • Find apps under workspace
    • Invite team on workspace
    • Assign roles to team
    • Workspace benefits
    • Transfer app to Workspace
    • AppSumo - Unlimited Workspace
    • Delete workspace
  • Agency White- Label
    • Getting started
      • Agency product overview
      • Create Agency
      • Create app in Agency
    • Apps
      • Find customer's apps
    • Subscriptions
      • Manage customer subscriptions
    • Customers
      • Add/Remove customers
      • Access customer' information
      • Charge customers
    • Domain
      • Connect domain to agency
      • Add a DNS record
    • Email
      • Connect email server
    • Authentication
      • Enable reCAPTCHA
    • Support
      • Support for agency’s customers
    • Plugin
      • Whitelabel WP plugin
    • Team
      • Add team members
    • Settings
      • Customise agency dashboard
      • Delete agency
  • Migrate app to agency
  • Account
    • Security
      • Activate 2FA
      • Deactivate 2FA
      • Secure account
      • Account compromised
      • Data security
      • Account hacked
      • Personal information security
    • Support plans
    • Delete account
    • Change account email
    • Reset account password
    • Transfer account ownership
    • App ownership
    • Transfer subscription
    • Login history
    • Login disabled
    • Unknown login session
    • Account locked
    • Brute force attacks
    • Find my app
    • Source code
    • Transfer app from AppMySite
  • Billing
    • Subscriptions
      • Subscription fee
      • Apps per subscription
      • Upgrade subscription
      • Downgrade subscription
      • Charge after downgrade
      • Change subscription
      • Recurring subscription payment
      • Prorated credits
    • Invoices
      • Find invoices
      • Invoice details issue
    • Billing details
      • Change billing details
      • Pre-payment process
      • Cancellation policy
      • Automatic charge
      • Failed payment
      • Card details security
      • Refund policy
      • Change payment method
    • Deals
      • Activate AppSumo deal
      • AppSumo white-label
      • AppSumo features & addons
      • Apply deal license
      • Apply deal on preview app
      • Apply deal to workspace
  • General
    • Remove AppMySite branding
    • Support for file uploads
    • App creation time
    • WooCommerce vs WordPress
    • Why choose WordPress
    • Custom development services
    • Feature request
    • Affiliate program
    • Reseller program
    • Support for all websites
    • Android TV support
    • Web app support
    • Explain native app
    • Native vs hybrid app
    • GDPR compliance
    • GDPR importance
    • Distribute apps
    • Distribution License
    • Web-to-app for WordPress
    • Multimedia in custom app
    • Code snippets in custom app
  • Pricing
    • Pricing plan suitability
    • Free plan
    • Custom plan features
    • Free plan features
    • Reasons to buy premium plan
    • One-time payment
    • Payment failure
    • Hidden charges
    • Tax inclusions
    • Developer accounts cost
    • Access to extra features
  • Support
    • Support plans guide
    • Scope of assistance
    • Contact support
    • Support for issues
    • Critical issues
    • General vs. technical guidance
    • Community
    • Scam by impersonator
Powered by GitBook
On this page

Was this helpful?

  1. App
  2. Notifications
  3. Notification configuration

iOS configuration for basic notifications

PreviousNotification configurationNextiOS configuration for advanced notifications

Last updated 1 month ago

Was this helpful?

How to configure your iOS build for basic push notifications?

To send basic notifications to your app users, you must first configure notifications in your app build. The sections below outline the process of configuring basic push notifications on your mobile app:

Step 1: Enable push notifications

  • Navigate to your AppMySite dashboard.

  • Go to the Notification Build Settings section for your app.

  • Turn on the Enable basic Notifications toggle to activate basic notifications for your app.

Step 2: Set up your Firebase

  • Login to Google Firebase and create a new project if you haven’t already created one. Refer to the guide to learn how to create a Firebase project.

  • On the Project Overview screen, click on Add app and select iOS.

  • Next, you will be required to enter your Apple bundle ID. Navigate back to your AppMySite app dashboard and copy your Apple bundle ID.

  • Enter the bundle ID, give your app a nickname, and enter your App Store ID. Then click on "Register app."

  • Download the googleservice-info.plist file.

  • Click "Next" until you reach the “Continue to console” button.

  • Next, click on the gear icon next to Project Overview and select Project settings.

  • Navigate to the “Service accounts” tab.

  • Click on Generate new private key. Make sure node.js is selected.

  • Navigate back to your AppMySite dashboard.

  • Upload the downloaded .plist file to the Google Firebase configuration field in the Notification Build Settings section for your app.

Firebase Cloud Messaging (FCM) is required for push notifications on Android apps. Ensure you correctly upload your googleservice-info.plist file to enable seamless notification delivery.

Step 3: Generate notification identifier

  • Log in to your Apple developer account.

  • Click on Certificates, Identifiers & Profiles.

  • Select Identifiers from the side bar.

  • Click on + next to the Identifiers.

  • Select App IDs then click on Continue to proceed.

  • Select App & enter a description of the identifier.

  • Copy the Notification Bundle ID from the Build Settings screen from AppMySite.

  • Paste it in the Bundle ID field.

  • Then, click on Continue to proceed.

  • Register to confirm the app identifier that you’ve created.

  • Your Notification Identifier has been created.

The notification identifier allows your app to communicate with Apple Push Notification Services (APNs) and must be correctly configured to enable push notifications.

Step 4: Obtain and upload your notification provisioning profile

  • Navigate to the Certificates, Identifiers & Profiles section in your dashboard.

  • In the sidebar, click on Profiles under the Provisioning Profiles section.

  • Click the + icon in the top-right corner to create a new provisioning profile.

  • In the profile creation screen, select App Store Connect as the distribution type and click Continue.

  • From the list of available App IDs, select your Notification Bundle ID associated with the app and click Continue.

  • Choose the certificate associated with your app's provisioning profile and click Continue.

Select the distribution certificate that is associated with your iOS app build. Creating more certificates can cause issues with notifications.

  • Provide a name for your provisioning profile in the Profile Name field (e.g., "Notification Provisioning Profile").

  • Click Generate to create the profile.

  • Once the profile is generated, click Download to save the file. It will have a .mobileprovision extension.

  • Return to your AppMySite dashboard.

  • Navigate to the Notification Build Settings section for your app.

  • Upload the .mobileprovision file in the Provisioning Profile field.

The notification provisioning profile is required to authenticate your app with Apple's notification servers and must be uploaded before enabling push notifications.

Step 5: Generate APNS certificate

  • Go back to your Apple developer account.

  • Click on Certificates, Identifiers & Profiles.

  • Navigate to the Certificate screen. Click on the add(+) button to generate a new Certificate.

  • Select Apple Push Notification services SSL (Sandbox & Production).

  • Next, click on Continue.

  • Select the App ID (Bundle ID) corresponding to your app.

  • Upload a Certificate Signing Request. Follow this guide to generate a CSR file. If you already have a CSR, you can use the existing one.

  • Download the certificate.

  • The downloaded to certificate will be in the CER format, which will need to be converted into p12 using keychain access.

  • Double click .cer file to open Keychain Access window.

  • Click on Login and navigate to the My Certificates tab in the Keychain Access window.

  • Right-click on the .cer file and export it to your system.

  • Give your certificate a unique name and select .p12 File Format.

  • Protecting your certifcate with a password is optional

  • Save the changes to complete the configuration.

APNs certificates authenticate push notifications sent to iOS devices. Ensure you generate and upload the correct certificate to enable notification functionality.

Step 6: Upload the APNs certificate in Firebase

  • Go to your Google Firebase account.

  • Select the project you created for your iOS app.

  • In the Project Overview screen, click the gear icon near the top-left and select Project settings from the dropdown menu.

  • In the Settings page, navigate to the Cloud messaging tab.

  • Scroll down to Apple app configuration and expand APNs Certificates section.

  • Upload the certificate in the “No production APNs certificate” field.

Create Firebase project