Quickly scaffold a native mobile app with Push and Analytics
As mobile app developers, few of the many priorities in our bucket are engaging the users through Push Notifications and monitor the app usage through Mobile Analytics.
In this post, you will learn how easy it is to quickly create a native mobile application (iOS-swift or Android) with high-value mobile services – Push Notifications and Mobile Analytics on IBM Cloud.You will also be guided for obtaining APNs and FCM credentials to configure and push notifications.
Services on IBM Cloud
This post uses the following products:
Before you begin
iOS – Swift
Apple Developers account to send remote notifications from Push Notifications service instance on IBM Cloud (the provider) to iOS devices and applications.
Xcode for importing and enhancing your code.
Android Studio for importing and enhancing your code.
Google account to log into Firebase console for Sender ID and Server API Key.
Create a mobile project from basic starter kit
Navigate to Mobile Dashboard to create your
- Click on Starter Kits and scroll down to select Basic Starter Kit.
Enter a project name which will also be the Xcode project and app name.
Swift or Androidas your language and check the mobile services in the right pane.
Create Projectto scaffold an iOS Swift App or an Android App.
Projectwill be created under Projects tab on the left pane.
Note: Push Notifications and Mobile Analytics Services should already be added to the Basic Starter.
To add other cognitive and data services, click on Add service.
Download the code and setup client SDKs.
Instrumenting the app to use Mobile Analytics.
Send and monitor push notifications.
Monitoring the app with Mobile Analytics.
Click on the below links to achieve the above steps,
For iOS-Swift tutorial,
For Android native tutorial,
The below is the architectural representational of your journey
Happy Learning!! Don’t forget to share the tutorials with your colleagues and friends.