Notification Sisoft Technologies Pvt Ltd

Slides:



Advertisements
Similar presentations
What is touchPRO EXPRESS? touchPRO EXPRESS is a way for select industries who meet certain criteria to be able to get a mobile app at a low cost and have.
Advertisements

MPE+ Access Data Evasi0n iPhone 4s/5 Nexus 4 Market Share Information.
HOW-TO guide This tutorial has sound.
The 1:1 meeting scheduler that runs itself The 1:1 meeting scheduler that runs itself.
DATA NOTIFICATIONS AUTH SERVER LOGIC LOGGING DIAGNOSTICS PLATFORMS: SCHEDULER SCALE.
Introduction for Families. Seesaw gives your child a place to document their learning, be creative and learn how to use technology. Seesaw is a new way.
Getting Started with Chatter Nina Jameson Senior Business Analyst, ISU-ITS (office)
Dextrosoft SCHEDULED PHONE BACKUP Backup your mobile life Version Copyright © 2015 Dextrosoft Private Limited. All Rights Reserved.
Downloading the App 1 Go to the right store. Access the App Store on iOS devices, the Play Store on Android, and for a.
Software Overview How to… Review Video and Data  Review the Journal Review the Journal  Simple Search Simple Search  Advanced Search Advanced Search.
STEPS TO SET UP PHILO ON ROKUROKU VISIT HERE CALL AT –
General Introduction This slideshow is designed to provide students with a basic hands-on introduction to the social learning site:
Introducing ‘Show my Homework’. What is it? This is a virtual homework tool which your teachers will be using to set most of your future homework. It.
How to Enable Account Key Sign Instead Of Password In Yahoo? For more details:
EPSON MOBILE AND CLOUD PRINT SERVICES PROPOSITION FY12 update
DISCOVERING COMPUTERS 2018 Digital Technology, Data, and Devices
Outlook Mobile App for iOS
Location And Maps Sisoft Technologies Pvt Ltd
ICE Integrated Cloud Environment Cloud Scanning and Mobile Printing
Introduction to iOS App Development Environment
Web Services Sisoft Technologies Pvt Ltd
Drawing And Animations
Get Connected in 2016.
Introduction for Families
Becoming a Pro IN Mobile Applications Testing
IOS Design Patterns Sisoft Technologies Pvt Ltd
Employee App - User Guide
Meetoo Tips.
PC Gameplan Application.
The world’s most advanced mobile platform
Making the Most of our School App
iOS UI Components Sisoft Technologies Pvt Ltd
Introduction to Event-Driven Programming
iOS - First Application Anatomy
Getting Started with Chatter
Using Jabber in Global Offices
Registering And Joining Developer Program
Media Library Sisoft Technologies Pvt Ltd
Administrator Training
Getting started with Poll Everywhere Back to University 2017 Edition.
View-Controller Family
Firebase Cloud messaging A primer
Emergency Call With Team on the Run, users can make emergency PTT calls to a preset list of recipients, informing them about critical situations. The feature.
My Oracle Support (The next generation Metalink experience) lynn
RR RR Problems Along With Solutions For iPhone And iPad Toll Free ( )
Q
Swipe to Donate Life.
intro to notifications in iOS 10
New Functionality in ARIN Online
First, use our API Builder at www. apilinkbuilder
Getting Started with UCSF Chatter
Using the Blackboard Mass Notification System (also know as: BB Comms, Parentlink, Connect 5i) SENDING A MESSAGE.
Creating and activating your account
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Member Engagement Platform (MEP) Utilization Update
Apple Push Notification Service
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Using tiles and notifications
Hero for Students and Parents: Creating and activating your account
“Where are you” Team on the Run’s Geolocation feature allows users assigned by the company admin to locate their team members directly from mobile app.
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
MyLion Registration Website | Mobile device
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Digi Tech India A Complete Online Solution to Manage All School Needs.
MOBILE BANKING.
Getting started with Poll Everywhere Higher Education
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Canvas introduction for students
Kaspersky Social Channel
Presentation transcript:

Notification Sisoft Technologies Pvt Ltd SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad Website: www.sisoft.in Email:info@sisoft.in Phone: +91-9999-283-283

Notification Types

NSNotificationcenter NSNotificationcenter is one way you can communicate with other object in a project An NSNotificationCenter object (or simply, notification center) provides a mechanism for broadcasting information within a program Communication of objects can be done by delegate Object may register as observers with notification center and while other can post the notification

NotificationCenter-Register as Observer Use addObserver to register. NSNotificationCenter *ncenter =[[NSNotificationCenter defaultNotification] [ncenter addObserver:self selector:@selector(receivednotification:) name:@”notification id” object:nil]; The method specified by notificationSelector must have one and only one argument (an instance of NSNotification). -(void)receivednotification:(NSNotification *)notification { // write code here ; }

NotificationCenter – Post Message Notification name should be matched in class where notification is posted and in observer class. [nCenter postNotificationName:@”MyNotification” object:myarray ]; Sample Example: http://code.tutsplus.com/tutorials/ios-sdk-nsnotification--mobile-10619

Notifications: Local & Push Local notifications and push notifications are ways for an application that isn’t running in the foreground to let its users know it has information for them The information could be a message, an impending calendar event, or new data on local or on remote server When presented by the operating system, local and push notifications look and sound the same

Notification View

Scheduling Local Notifications Creating and scheduling local notifications in iOS requires that you perform a few simple steps: Allocate and initialize a UILocalNotification object Set the date and time that the operating system should deliver the notification(fireDate) Configure the substance of the notification: alert, icon badge number, and sound Schedule the local notification for delivery

Scheduling Local Notifications…

Handling Local Notifications Application is NOT Running When the app is not running, users see notifications in the following ways, depending on the notification settings Displaying an alert or banner Badging the app icon Playing a sound

Application not running… By tapping on action button of the notification, users will launch the app In this case, the application:didFinishLaunchingWithOptions: method of the application delegate is called Change the method to Set icon badge number to zero and Handle launching from a notification

Applicaton is Running in Foreground If the app is running while the notification is delivered, there is no alert displayed on screen The application automatically calls its delegate’s application:didReceiveLocalNotification: method Add this method in app delegate .m file and handell the notification For example on locale notification visit: http://www.appcoda.com/ios-programming-local-notification-tutorial/

Push Notifications Push notifications—also known as remote notifications—arrive from outside a device They originate on a remote server—the application’s provider And are pushed to applications on devices (via the Apple Push Notification service) when there are messages to see or data to download

Using Push Notifications When to use them Social networking Current events Games When not to use them Delivering critical application information Push may not be available Instead, pull data from server

Push Notification Lifecycle

Registering for Notifications Application launch { UIRemoteNotificationType myTypes = UIRemoteNotificationTypeSound | UIRemoteNotificationTypeBadge; [application registerForRemoteNotificationTypes:myTypes];}

Registering for Notifications… Delegate methods for Successful registration - (void)application:(UIApplication *)applicationdidRegisterForRemoteNotificationsWithDeviceToken:(NSData *)token Failure to register - (void)application:(UIApplication *)applicationdidFailToRegisterForRemoteNotificationsWithError:(NSError *)error

Creating Push Notifications Message payload aps dictionary reserved for the sound, badge, or alert keys All keys optional { "aps" : { "alert" : "Jen: Sushi at 10?”,"badge" : 1,"sound" : "Jingle.aiff”},"acme1" : "conversation9964”}

Handling Push Notifications If your app is running, you’ll only get - (void)application:(UIApplication *)applicationdidReceiveRemoteNotification (NSDictionary *)userInfo If not, tapping View will launch your app with: In application:didFinishLaunchingWithOptions: method { NSDictionary *userInfo = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]; }