Adding Push Notifications
improve this page | report issueAdding Push Notifications to an app
You can add Push notifications to your app and increase user engagement.
To add Push notifications to your app:
-
Select Engagement. This will display the list of available services.
-
Select Push Notifications and click Enable. This display the Push Notifications configuration page.
-
Configure push notification for Android by providing API Secret Key and Sender ID and click Save configuration.
-
Navigate to the iOS tab and provide push configuration details: select the Environment, provide the .p12 file with path, and enter the Password and click Save configuration.
- Perform the following additional step for iOS:
- Open the xcode project
<path_to_app>/ionic/platforms/ios/<app>.xcodeproj
and enable push notification capability. For more details, refer to https://help.apple.com/xcode/mac/current/#/devdfd3d04a1.
- Open the xcode project
-
On the server side,
-
Follow http://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/sending-notifications/#setting-up-notifications to enable push notifications on the server side.
-
Follow http://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/sending-notifications/#sending-notifications to send notifications from the server
-
Note: Push notifications from MFP server is used to enable the notification service. So if IBM Cloud push notification service was used before, follow the link to set up notifications in MFP server http://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/notifications/sending-notifications/#setting-up-notifications.
▲Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.