Push notifications allow software applications to deliver messages and notifications to users without requiring the user to actively check for updates. Push notifications can contain data, notifications, or both. There are two main platforms for delivering push notifications: Firebase Cloud Messaging (FCM) for Android and Apple Push Notification Service (APNs) for iOS. Both support delivering notifications via HTTP and XMPP/MQTT protocols. iOS 10 introduced enhancements like rich notifications that allow images, videos, and interactive buttons in notifications. It also introduced notification extensions that give developers more control over customizing notification content.
Push Notification for Android, iOS & Sever Side Using Firebase Cloud MessagingCumulations Technologies
This power point presentation explains the “How To Set Up Push Notification for Android, iOS and Sever side using Firebase Cloud Messaging”. This report PPT designed and presented by Cumulations Technologies team member (http://www.cumulations.com/)
Apple Push Notification service (APNs for short) is the centerpiece of the push notifications feature. It is a robust and highly efficient service for propagating information to devices such as iPhone, iPad, and iPod touch devices. Each device establishes an accredited and encrypted IP connection with the service and receives notifications over this persistent connection. If a notification for an application arrives when that application is not running, the device alerts the user that the application has data waiting for it.
Software developers (“providers”) originate the notifications in their server software. The provider connects with APNs through a persistent and secure channel while monitoring incoming data intended for their client applications. When new data for an application arrives, the provider prepares and sends a notification through the channel to APNs, which pushes the notification to the target device.
You will learn:
-how to create a push notification
-what the different types of notification are for
-how to effectively use pushes to reactivate users
-how other companies have improved their results by using -notifications.
Firebase database is no SQL database. Firebase service base on node js so it’s response will be fast compare to web services. If you want to planning fast development of the application then firebase will be a good option for you
Firebase Cloud Messaging, formerly known as Google Cloud Messaging, is a cross-platform cloud solution for messages and notifications for Android, iOS, and web applications, which currently can be used at no cost. The service is provided by Firebase, a subsidiary of Google.
Message types
With FCM, you can send two types of messages to clients:
Notification messages, sometimes thought of as "display messages." These are handled by the FCM SDK automatically.
Data messages, which are handled by the client app.
Notification messages contain a predefined set of user-visible keys. Data messages, by contrast, contain only your user-defined custom key-value pairs. Notification messages can contain an optional data payload. Maximum payload for both message types is 4KB, except when sending messages from the Firebase console, which enforces a 1024 character limit.
Notification messages
For testing or for marketing and user re-engagement, you can send notification messages using the Firebase console. The Firebase console provides analytics-based A/B testing to help you refine and improve marketing messages.
To programmatically send notification messages using the Admin SDK or the FCM protocols, set the notification key with the necessary predefined set of key-value options for the user-visible part of the notification message. For example, here is a JSON-formatted notification message in an IM app. The user can expect to see a message with the title "Portugal vs. Denmark" and the text "great match!" on the device:
{
"message":{
"token":"bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...",
"notification":{
"title":"Portugal vs. Denmark",
"body":"great match!"
}
}
}
Notification messages are delivered to the notification tray when the app is in the background. For apps in the foreground, messages are handled by a callback function.
Send messages with the Firebase Console
You can send notification messages to iOS and Android devices using the Notifications composer in the Firebase console. Though this does not provide the same flexibility or scalability as sending messages with the Admin SDK or the HTTP and XMPP protocols, it can be very useful for testing or for highly targeted marketing and user engagement. The Firebase console provides analytics-based A/B testing to help refine and improve marketing messages.
Introduction to Google Firebase.
This presentation covers basic intro to Firebase and its services.
To get started with Firebase : https://github.com/firebase/quickstart-js.git
Push Notification for Android, iOS & Sever Side Using Firebase Cloud MessagingCumulations Technologies
This power point presentation explains the “How To Set Up Push Notification for Android, iOS and Sever side using Firebase Cloud Messaging”. This report PPT designed and presented by Cumulations Technologies team member (http://www.cumulations.com/)
Apple Push Notification service (APNs for short) is the centerpiece of the push notifications feature. It is a robust and highly efficient service for propagating information to devices such as iPhone, iPad, and iPod touch devices. Each device establishes an accredited and encrypted IP connection with the service and receives notifications over this persistent connection. If a notification for an application arrives when that application is not running, the device alerts the user that the application has data waiting for it.
Software developers (“providers”) originate the notifications in their server software. The provider connects with APNs through a persistent and secure channel while monitoring incoming data intended for their client applications. When new data for an application arrives, the provider prepares and sends a notification through the channel to APNs, which pushes the notification to the target device.
You will learn:
-how to create a push notification
-what the different types of notification are for
-how to effectively use pushes to reactivate users
-how other companies have improved their results by using -notifications.
Firebase database is no SQL database. Firebase service base on node js so it’s response will be fast compare to web services. If you want to planning fast development of the application then firebase will be a good option for you
Firebase Cloud Messaging, formerly known as Google Cloud Messaging, is a cross-platform cloud solution for messages and notifications for Android, iOS, and web applications, which currently can be used at no cost. The service is provided by Firebase, a subsidiary of Google.
Message types
With FCM, you can send two types of messages to clients:
Notification messages, sometimes thought of as "display messages." These are handled by the FCM SDK automatically.
Data messages, which are handled by the client app.
Notification messages contain a predefined set of user-visible keys. Data messages, by contrast, contain only your user-defined custom key-value pairs. Notification messages can contain an optional data payload. Maximum payload for both message types is 4KB, except when sending messages from the Firebase console, which enforces a 1024 character limit.
Notification messages
For testing or for marketing and user re-engagement, you can send notification messages using the Firebase console. The Firebase console provides analytics-based A/B testing to help you refine and improve marketing messages.
To programmatically send notification messages using the Admin SDK or the FCM protocols, set the notification key with the necessary predefined set of key-value options for the user-visible part of the notification message. For example, here is a JSON-formatted notification message in an IM app. The user can expect to see a message with the title "Portugal vs. Denmark" and the text "great match!" on the device:
{
"message":{
"token":"bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...",
"notification":{
"title":"Portugal vs. Denmark",
"body":"great match!"
}
}
}
Notification messages are delivered to the notification tray when the app is in the background. For apps in the foreground, messages are handled by a callback function.
Send messages with the Firebase Console
You can send notification messages to iOS and Android devices using the Notifications composer in the Firebase console. Though this does not provide the same flexibility or scalability as sending messages with the Admin SDK or the HTTP and XMPP protocols, it can be very useful for testing or for highly targeted marketing and user engagement. The Firebase console provides analytics-based A/B testing to help refine and improve marketing messages.
Introduction to Google Firebase.
This presentation covers basic intro to Firebase and its services.
To get started with Firebase : https://github.com/firebase/quickstart-js.git
As of June 2014, Apple announced there were 1.2 million apps available to download in their iOS app store. In such a crowded and growing marketplace it’s hard for apps to stand out. Hundreds of thousands of apps remain buried in the depths of the App Store, unused, un-downloaded and unloved.
Everyone wants to be the next Uber, Instagram or Candy Crush.
So… what’s their secret to success?
Part of their secret is creating a great product that is integrated into the lives of its users.
But, what a lot of people forget is how difficult it can be to find & acquire loyal app users. We believe that’s the second half of the secret.
While there’s no specific formula for success, we’ve created a guide for successfully marketing your mobile app.
Based on our past experience and brand and mobile expertise we’ve put together a guide for marketing mobile apps. In this toolkit, we share 8 things that every mobile app processes, resources and recommendations that we’re confident will guide your app to success.
This deck gives an overview of Firebase. Firebase allows mobile developers to develop a quality app, grow the user base and monetize from it, through cross-platform SDKs. With Firebase Analytics at it's core, you will be able to have a clear 360 view of your app without having to juggle between multiple dashboards.
* Introduction to iOS for those who don't have even have a little exposure to iOS.
* For those who want to land onto the iOS ecosystem and start off.
* For those who own an iPhone/iPad/iPod-Touch and want to have knowledge about the iOS Apps development.
More than two million companies use Instagram ads to reach audiences, engage followers, and promote their products. Learn all about Advertising on Instagram in this segment of Instagram Marketing Strategies for Small Businesses.
Mobile: for push and sync. Goes through implementing push notifications with PHP on the various 4 major players: Android (C2DM), Apple (APNS), Windows Phone (MPNS), BlackBerry (maybe works?).
As of June 2014, Apple announced there were 1.2 million apps available to download in their iOS app store. In such a crowded and growing marketplace it’s hard for apps to stand out. Hundreds of thousands of apps remain buried in the depths of the App Store, unused, un-downloaded and unloved.
Everyone wants to be the next Uber, Instagram or Candy Crush.
So… what’s their secret to success?
Part of their secret is creating a great product that is integrated into the lives of its users.
But, what a lot of people forget is how difficult it can be to find & acquire loyal app users. We believe that’s the second half of the secret.
While there’s no specific formula for success, we’ve created a guide for successfully marketing your mobile app.
Based on our past experience and brand and mobile expertise we’ve put together a guide for marketing mobile apps. In this toolkit, we share 8 things that every mobile app processes, resources and recommendations that we’re confident will guide your app to success.
This deck gives an overview of Firebase. Firebase allows mobile developers to develop a quality app, grow the user base and monetize from it, through cross-platform SDKs. With Firebase Analytics at it's core, you will be able to have a clear 360 view of your app without having to juggle between multiple dashboards.
* Introduction to iOS for those who don't have even have a little exposure to iOS.
* For those who want to land onto the iOS ecosystem and start off.
* For those who own an iPhone/iPad/iPod-Touch and want to have knowledge about the iOS Apps development.
More than two million companies use Instagram ads to reach audiences, engage followers, and promote their products. Learn all about Advertising on Instagram in this segment of Instagram Marketing Strategies for Small Businesses.
Mobile: for push and sync. Goes through implementing push notifications with PHP on the various 4 major players: Android (C2DM), Apple (APNS), Windows Phone (MPNS), BlackBerry (maybe works?).
Push notifications allow your users to opt-in to timely updates from sites they love and allow you to effectively
re-engage them with customized, engaging content.
Transforming Mobile Push Notifications with Big Dataplumbee
How we at Plumbee collect and process data at scale and how this data is used to send relevant mobile push notifications to our players to keep them engaged.
Presented as part of a Tech Talk: http://engineering.plumbee.com/blog/2014/11/07/tech-talk-push-notifications-big-data/
Your Guide to Push Notifications - Comparing GCM & APNS Sparkbit
Learn more about the basic concept of push notification and its current implementations. See the difference between Apple Push Notifications and Google Cloud Messaging.
Speed and Reliability at Any Scale: Amazon SQS and Database Services (SVC206)...Amazon Web Services
Amazon Simple Queue Service (Amazon SQS) makes it easy and inexpensive to enhance the scalability and reliability of your cloud application. In this session, we demonstrate design patterns for using Amazon SQS in conjunction with Amazon Simple Storage Service (Amazon S3), Amazon DynamoDB, Amazon Elastic MapReduce, Amazon Relational Database Service, and Amazon Redshift. Shazam will share their experience of combining Amazon SQS with Amazon DynamoDB to support a Super Bowl advertising campaign.
This is brown bag session about the Amazon Simple Queue Service (http://aws.amazon.com/sqs/).
Discusses :
-Usage guidance
-Architectural patterns
-Example architectures
-Mistakes
-Example cases
Massive Message Processing with Amazon SQS and Amazon DynamoDB (ARC301) | AWS...Amazon Web Services
Amazon Simple Queue Service (SQS) and Amazon DynamoDB build together a really fast, reliable and scalable layer to receive and process high volumes of messages based on its distributed and high available architecture. We propose a full system that would handle any volume of data or level of throughput, without losing messages or requiring other services to be always available. Also, it enables applications to process messages asynchronously and includes more compute resources based on the number of messages enqueued.
The whole architecture helps applications reach predefined SLAs as we can add more workers to improve the whole performance. In addition, it decreases the total costs because we use new workers briefly and only when they are required.
How to Use Firebase to Send Push Notifications to React Native and Node.js Appsvaluebound
Learn how to implement Firebase Cloud Messaging (FCM) for sending push notifications to Android, iOS, and web apps. This comprehensive guide explores the power of FCM and provides step-by-step instructions on setting up Firebase, integrating FCM into React Native and Node.js projects, and handling incoming messages. Discover how FCM can help you engage your users, deliver relevant information, and enhance the user experience. Contact Valuebound for expert guidance on leveraging FCM to transform your business with cutting-edge technology.
https://www.valuebound.com/resources/blog/how-use-firebase-send-push-notifications-react-native-and-nodejs-apps
#drupal #drupalservices
Accenture Digital: iOS 8 What You Need to KnowApteligent
Only months after its last update, Apple’s iOS 8 presents a host
of new features that will once again redefine how consumers and enterprises use iOS devices. Based on our initial hands-on experience, we believe this is the most fundamental update to iOS for enterprises and developers to date. Organisations will need a clear strategy to get the most out of the changes.
iOS 10 has been billed as the biggest software update that Apple has ever released. It promises to fundamentally change and expand the ways in which we use the iPhone. Here is everything you need to know about one of the most exciting updates to Apple's operating system.
SDUI is aimed to create better and more personal experience for the end users while providing the developers the much needed customizing flexibility and agility in roll outs. With the huge spectrum of benefits to both sides – this Approach is as promising as the Tech behind it.
AWS Mobile Hub lets you easily add and configure features for your mobile apps, including user authentication, data storage, backend logic, push notifications, content delivery, and analytics. In this session, we will demo how to create a mobile app with AWS Mobile Hub and integrate the features with AWS Services.
VMworld 2013: Integrating Enterprise Application with SAML to VMware Horizon ...VMworld
VMworld 2013
Manrat Chobchuen, VMware
Dean Flaming, VMware
Cindy Kou, VMware
Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare
How Mentor Graphics Uses Google Cloud for the Internet of Things - Mentor Gra...RightScale
Mentor Graphics is building on its expertise in mobile to provide a cloud services platform for the Internet of Things (IoT). EZmobilePrint, one of the first apps on the platform, lets mobile devices connect to printers in coffee shops or other public places. Mentor Graphics leverages Google Cloud Platform and RightScale to provide automated, scalable infrastructure to power this next-generation IoT platform and many more applications to come.
Empower individuals with autism through codinglivecode
Together with LiveCode, the National Autistic Society, Specialisterne & Autism Initiatives, our goal is to train 3000 young adults on the autism spectrum, across the world, how to code. We will provide an extensive training program with specialist support to help these young adults develop employment skills or gain self-employment in the app business. Find out more at livecode.com/autism
iOS Application Development Step by Step to develop an iOS App.pdfJPLoft Solutions
At one point, companies typically contracted out mobile app development because of the constraints of budgets and timeframes. But, with the help of helpful tools for development and the software applications that perform the bulk of the work, many small-scale businesses are creating mobile apps on their own.
The most advanced and affordable way to create a mobile app for any website. The mobile framework involves rapid design and development of a feature rich and interactive Mobile App for a Website.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
2. Push Notification
Push notification is the delivery of information
from a software application to a computing
device without a specific request from
the client.
Message may contain notification, data or
both.
20. APNs Binary API
• @gateway.push.apple.com:2195
• supports up to 2KB payload
• separate feedback service @ feedback.push.apple.com:2196
• returns no response in case of success
• returns an error response in case of failure and immediately
closes the connection
29. IOS 10 RICH NOTIFICATIONS
In iOS 10 notifications are becoming a key part
of Apple's mobile operating system, and one
of the primary way that users interact with
apps.
30. IOS 10 RICH NOTIFICATIONS
As part of the new UserNotifications framework, Apple has
given us the ability to make notifications that contain
images, sound, video, or even custom content generated on
the device.
Much of this capability comes via three new features
showcased at Worldwide Developers Conference(WWDC):
media attachments, notification service extensions, and
notification content extensions.
Including media in your push notification can increase the
open rate.
31. What’s new in iOS 10
Notifications?
Notifications can now contain images and gifs
32. What’s new in iOS 10
Notifications?
It is now possible to add images and gifs to
notifications.
These images or gifs can be loaded either from
the resources of your app, or from a remote URL.
iOS will first download the image or gif and then
display the notification.
33. What’s new in iOS 10
Notifications?
Notifications can contain
videos
Notifications can contain
videos up to 50 megabytes
in size.
34. What’s new in iOS 10
Notifications?
Notifications can be
interactive
Notifications can now contain buttons.
Users can use action buttons to interact
with notifications.
As with earlier versions of iOS, buttons
can also be used to open your app and
take specific actions. But unlike earlier
versions, actions buttons are much more
easily seen since they don't require a left-
swipe on the notification.
35. Why Media Attachments Are
Awesome
Media attachments open up new opportunities for
user engagement with our apps.
Before, we were limited to just a couple lines of text;
we had to rely on the user opening the app to do
anything more.
This is a win-win for app makers and users. App makers
get to deliver more compelling content in their
notifications, and users get more choice in their level of
notification interaction.
36. How They Work
Media attachments work slightly different between
local notifications and remote notifications.
In the case of a local notification, its media attachment
must contain the URL of a file on disk at the time that
an app creates the notification.
The file is copied when the notification is scheduled,
and that file is delivered along with the notification. No
extra effort is required.
37. How They Work
For a remote notification, a remote notification service delivers
information about the media attachment as part of the APNS
notification payload.
This includes the attachment URL, which, importantly, does not
have to be the URL of a file already on the device.
However, iOS 10 will not automatically deliver an attachment with a
notification if that attachment is not stored locally.
Apple’s solution to this problem is something called the
Notification Service Extension.
40. Notification Service Extension
Service extension lets you customize the
content of a remote notification before it is
delivered to the user.
You could use the extension to decrypt an
encrypted data block or to download images
associated with the notification.
41. Notification Service Extension
At 4KB in size, a remote notification’s payload is too
small to deliver a media attachment file itself.
Instead, we define an attachment URL in the remote
notification payload.
Once a device receives the remote notification payload
for our app, the app’s service extension gets the
chance to download the file at the URL and attach it to
the notification before the device displays the
notification to the user.
44. Notification Service Extension
When you created the Service Extension, Xcode created the NotificationService.swift file
and an Info.plist file.
45. Notification Service Extension
We use the first function to download the content from the
URL and add it to the notification. We should also handle
network errors here.
We use the second function to handle the case where the
first function runs out of time (as determined by iOS).
47. Notification Service Extension
Notification Payload
The mutable-content fields tells iOS that the notification has
content that can be changed by a service extension before delivery
48. What if we don’t just want to serve up simple
media files?
What if we want to generate custom content?
49. Notification Content Extension
Notification Content Extension let you provide
custom UI for your notifications.
A Notification Content Extension gives us a
chance to process a notification and supply
new content to the notification before it is
displayed to the user.
50. Notification Content Extension
Most important things:
Custom views
Support for remote and local notifications
No interaction with views (possible only with
notification actions)
Respond to notification actions
53. Notification Content Extension
MainInterface.storyboard : we will desing our notification UI in this.
NotificationViewController.swift : a UIViewController subclass that will
enable us to update our custom interface.
When you created the Content Extension, Xcode created
the NotificationViewController.swift file, a MainInterface.storyboard file and
an Info.plist file.
58. Notification Content Extension
We may also implement optional functions
that handle action button presses or display
media playback controls.
How to add a custom action?
61. Android N Notifications
Notifications are become an important part of
every Android application and it is an
intelligent way to re-engage users with the
installed apps.
Effectively used notifications will help
application to get returning users.
62. Android N Notifications
To provide a better user experience,
notifications on Android N have received a
visual refresh, improved support for custom
views, and expanded functionality in the
forms of Direct Reply, a new MessagingStyle,
and bundled notifications.
63. Android N Notifications
The first and most obvious change is that the default look
and feel of notifications has significantly changed.
Many of the fields that were spread around the
notifications have been collapsed into a new header row
with your app’s icon and name anchoring the notification.
This change ensured that the title, text, and large icon are
given the most amount of space possible and, as a result,
notifications are generally slightly larger now and easier to
read.
65. Android N Notifications
Notification actions have also received a
redesign and are now in a visually separate
bar below the notification.
66. Direct Reply
While notification actions have already been
able to launch an Activity or do background
work with a Service or BroadcastReceiver,
Direct Reply allows you to build an action that
directly receives text input inline with the
notification actions.
68. Android N Notifications
If you’re building a messaging app and expect
back and forth conversations, you should use
MessagingStyle and append the additional
message to it.
iOS için content-available = silent notification
Kavramlar karışmasın diye, gönderdiğimiz şeye mesaj diyelim. Notification = alert olarak ekranda görünen kısım (Display message) . Data = uygulamaya gönderilen bilgiler.
Hiçbir pn sisteminde delivery garantisi yok. Servise gönderilen isteğin hata almaması, isteğin format olarak doğru olduğu ve gönderilmeye çalışılacağı anlamına gelir.
APNs cihaza iletemezse yalnızca bir tane mesajı store ediyor. FCM 100 taneye kadar store ediyor. ( Collapse_key iOS için anlamsız)
XMPP = Extensible Messaging and Presence Protocol
iOS 10’da bildirimler daha önemli bir hale geldi ve kullanıcıların uygulamayla etkileşime geçmesinin başlıca yollarından biri oldu.
Yeni UserNotifications framework’ü ile artık bildirimlere resim, ses, video ve custom içerik ekleyebiliyoruz. Bu yetenekler WWDC ‘de duyurulan service extension, content extension ve media attachments özellikleriye bir geldi. Bildirimlerde media içeriklerini kullanmak uygulamanın açılma oranını arttırıyor.
Bu resim ve gif’ler uygulamanın resource’unda da bulunabilir, bir url’den de indirilebilir. Url’den yüklenecekse önce download işlemi yapılıyor daha sonra bildirim gösteriliyor.
Bildirimlerde butonlar kullanabiliriz. Kullanıcılar bu butonları kullanarak bildirim ile etkileşime geçebilir. Eski versiyonlarda olduğu gibi butonlar uygulamanın açılması için kullanılabilir ama eski versiyonlardan farklı olarak butonlar artık daha kolay görünür hale geldi. Eskiden sola sürükleme ile görünürken şimdi bildirimin alt bölümünde bu butonlar görülebiliyor.
Medya ekleri, uygulamalarımıza kullanıcıların katılımı için yeni fırsatlar yaratır. Önceden bildirimlerde birkaç satır text gösterebilirdik. Daha fazlası için kullanıcının uygulamayı açması gerekirdi. Yeni özellikler ile uygulama yazanlar bildirimlere daha şık içerikler ekleyebilir hale geldi, kullanıcılarda bildirimlerle daha fazla etkileşime geçer hale geldi.
Medya ekleri local’de ve remote’da farklı şekilde çalışıyor. Lokalden bildirim yollanacaksa medya ekinin diskte bulunması gerekiyor.
Remote notification’larda media ekleri için url’ler kullanılabilir. Ekler url’lerden downlod edilebilir. Bunun için de Service Extension özelliği geldi.
Service extension’lar bildirim kullanıcıya gösterilmeden önce bildirimi customize edebilmemizi sağlıyor. Örneğin encrypted bir data kullanıcıya gösterilmeden önce decrypt edilebilir. Medya ekleri download edilebilir.
Notification payload’lar max 4kb olduğu için medya ekini payload’da gönderemeyiz. Bunun yerine media ekini download edebileceğimiz url’i gönderebiliriz.
Custom içerik göstermek istiyorsak ne yapmalıyız?
Notification content extension bildirim kullanıcıya gösterilmeden önce bildirimin içeriğine göre custom UI’lar üretebilmemizi sağlar.
UNNotificationExtensionInitialContentSizeRatio: number that represents the initial size of your view controller’s view expressed as a ratio of its height to its width.
UNNotificationExtensionDefaultContentHidden: When set to YES, the system displays only your custom view controller in the notification interface. When set to NO, the system displays the default notification content in addition to your view controller’s content.
Bildirimler, Android uygulamalarının önemli bir parçası haline geldi ve kullanıcıları yüklü uygulamalarla yeniden etkileşime geçirmenin akıllı bir yoludur. Etkili şekilde kullanılan bildirimler, kullanıcıları uygulamaya geri döndürmeye yardımcı olacaktır.
Daha iyi bir kullanıcı deneyimi sağlamak için Android N'deki bildirimlere görsel yenileme, custom view’lar için daha gelişmiş destek, Direct Reply, MessagingStyle ve bundled notifications özellikleri geldi.
Bildirimlerin default görünümünde değişiklikler oldu. Bazı alanlar bildirim içinde farklı yerlerde gösterilmeye başlandı. Bazı yeni alanlar eklendi. Bildirimler biraz daha genişledi ve okunması kolay hale getirildi.
Notification action’lar yeniden dizayn edildi. Bildirimin altında ayrı bir bar’da gösterilmeye başlandı.
En önemli yeniliklerden biri Direct Reply. Direct reply ile notification action’a bastığımızda bir text input ortaya çıkar. Bu text input’a bir değer girip bunu send butonu ile gönderebiliriz.
Mesajlaşma uygulamaları için yeni gelen bir özellikte MessagingStyle. MessagingStyle ile önceki konuşmaları da bildirimde görebiliriz.
Bu stil ile göstermek istediğimiz mesajları addMessage metodu ile ekleyebiliriz. Her bir mesajın timestamp’ini ve gönderen bilgisini set edebiliriz.
Bildirimlere group id set ederek gruplayabiliriz. Bu da daha derli toplu bir görünüm sağlıyor.
Bundle edilen bildirimlere de notification action’lar ekleyebiliriz.
Hem expanded hem collapsed durumdaki bildirimler de custom view’lar kullanabiliriz.