Read complete story

How to use OneSignal For Push Notification?

Dear Folks, Today I am going to explain the use of OneSignal for Push Notification. OneSignal is a high volume and reliable push notification service for websites and mobile applications.

For using OneSignal you must have an OneSignal account. So before proceeding, I would like you to request just signup to create an account.

Now you are ready to create a demo application to integrate OneSignal. Follow below steps:

Step 1: Create on ADD APP.

Step 2: Write the Application name and follow the instruction to complete configuration upload production or sandbox certificates.

Step 3. Now coming to XCode Project

3.1 In Xcode Select File > New > Target...
3.2 Select Notification Service Extension then press Next.

 

3.3 Enter the product name as OneSignalNotificationServiceExtension and press Finish.

3.4 Press Cancel on the Activate scheme prompt.

4. Install Podfile in XCode Project

5.  Add Required capabilities

5.1 Select the root project and Under Capabilities Enable “Push Notifications”.
5.2 Next Enable “Background Modes” and check “Remote notifications”.

6. Add following OneSignal initialization code to your AppDelegate. Replace YOUR_APP_ID with your OneSignal App ID.

7. Now Push the notification from OneSignal Dashboard.

If you still have any doubt, just leave the comment below. I will get back to you soon.

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close