sales@arkayapps.com
+91 932-709-3554
Inquiry Now
  • Home
  • Portfolio
  • Products
  • Services
    • Mobile App Development
    • Web Design and Development
    • Digital Ocean Services
  • Blog
  • Get in Touch
  • Home
  • Portfolio
  • Products
  • Services
    • Mobile App Development
    • Web Design and Development
    • Digital Ocean Services
  • Blog
  • Get in Touch
  • Home
  • Portfolio
  • Products
  • Services
    • Mobile App Development
    • Web Design and Development
    • Digital Ocean Services
  • Blog
  • Get in Touch
  • Home
  • Portfolio
  • Products
  • Services
    • Mobile App Development
    • Web Design and Development
    • Digital Ocean Services
  • Blog
  • Get in Touch
Blog
Home Android People & Identity – Conversation notifications new features!
Android

People & Identity – Conversation notifications new features!

Avatar Darshit Anjaria July 4, 2020 0 Comments
Introduction

    In the first week of 11 weeks of Android, it has lots of new features that are included new notifications & new sign-in feature as well. This article is focused on the new conversation notification feature that is available in the upcoming Android OS version 11.

What’s New!

    Stay in touch with your loved once with the new conversation notification feature. Show conversation with people with the use of a bubble (Eg. Facebook messenger). The goal of this new feature is to The People in your life feel like they’re right there with you. With the use of conversation, you’ll be able to start a new conversation through the pinnable shortcut that is available in the conversation section in the notification pan.

    Check updates of conversation which will now appear above notification in notification pan. Also, you can switch to any conversation you had with your loved once without switching through the other apps with the use of a bubble.

How to

    Now we will see how to build a conversation shortcuts.

  • First, you need to publish a shortcut and set it as longlived so it can be used across OS features.
  • Shortcuts are a combination of metadata and properties.
  • Publish regular shortcuts with essential details like icon, name & intent, hence these details are optional, it is not mandatory to add these details.
  • Set longlived as true so the Operating System knows to keep track of that conversation.
    Conversations are not meant for a bot or one-way notifications that users would not like to respond to.
 
 
Build conversation
 
    Follow below steps to build a conversation for your app.
  • To build a conversation there is a recommendation from the android team at google that you need to define the contact or contact details that are related to the conversation. This is for the Operating System to give more context about that particular conversation that helps in ranking the sharing suggestions.
  • First, build a person object with details about the contact.
  • Then, create a shortcut referencing your person object and set as longlived.
  • The operating system can handle only limited publish limit at a time,pushDynamicShortcut()this method automatically handles the shortcut publish limit.
    If you still confused then consider the below code snippet provided by the Android team at Google.
 

Manage shortcuts

  • Shortcuts that are set as longlived are stored in the system cache.
  • Developers are also can remove cached conversations programmatically with the use ofremovelongLivedShortcuts().
  • But cache shortcuts can only be removed if the user has no longer access to that conversation.

Awesome things can be done with the conversation shortcuts

  • Aside from being pinned on the launcher, conversations are also meant to appear in the notification bar above the notifications.
  • Conversation notifications make it easier to see the sender’s avatar, name, and message.
  • Conversations are also prioritized on the sharing menu.

Enhanced features

  • Conversations have more advanced enhanced features, such as users can long press on the conversation notification to set it as a priority.
Let’s take a look at priority conversations deeply.
Priority conversations
  • Priority conversations providing a quick setting to make it more important conversation visible and easy to get access to that conversation.
  • Priority conversations have appeared at the top of the conversation section.
  • As well as sender’s avatar is always on display, lock screen & status bar when you get an update of that conversation.
  • Priority conversations are also breakthroughDo Not Disturb (If set) mode of your device.
Adding conversation shortcuts to notifications
  • It is very easy to set conversation shortcuts in messaging style as you’ve done hard-work previously (while building conversations).
  • To add shortcuts to notifications set theshortcutIDfrom the conversation shortcut object that is defined in the previous code snippet.
  • Use the previous person object when constructing message style notifications.
  • OK, that’s it, once you publish this notification this will appear in the conversation section in notification pane (bar).
If you still confused then consider the below code snippet provided by the Android team at Google.
Conversation notification without shortcut
  • Many other existing apps in which the chatting functionality is there are published messaging-style notifications will still appear in the conversation section until these apps target Android 11.
  • Drawback-: Users won’t be able to make this conversation bubble type for multi-tasking & they won’t be able to mark these conversations as a priority.
    Now, we will take a look at the google’s educational tips for the users -:Bubbles
Bubbles
The best example for the bubble is the Facebook messenger app’s functionality that users were able to chat without switching the apps with the use of a bubble.
  • Bubbles allow users to chat multitasking without switching between the app.
  • Bubbles are float over what you’re doing on your phone when you click on it.
  • Tapping on the bubble you can see floating conversation window will appear from that window you can read and respond to chat.
  • Users can also select the conversation bubble right from the notification (In the notification, one button is there to open the conversation bubble).
  • Users can also go back from the chat to what they’re doing previously by collapsing outside the bubble.
  • Bubbles make it very easy to get back to chat without switching apps.
  • Developers can reuse the conversation intent to create bubble metadata.
    Let’s see how this can be achieved.
Constructing bubble
  • Bubble constructed using adding the metadata of the bubble to the notifications.
  • It’s up to developers that if they’re using the same intent or reuse the intent from conversation shortcut.
    If you still confused then consider the below code snippet provided by the Android team at Google.
Bubble permission
  • Users can create bubbles in two ways:
    1. Bubble for the specific chat. (By tapping bubble button on notification)
    2. Bubble for all chat. (Requires users to adjust app bubble setting)
  • When users create the bubble for specific notification, it means that it is important and they want quickly and easily accessible.
    That’s it for this article folks, we cover all the new features and functionality of Notification and Conversations in Android 11.
Android Android 11 Conversation Identity People
102
1034 Views
Avatar
AboutDarshit Anjaria
Darshit is an open-minded mobile application developer who has the uniqueness of giving lots of suggestions to improve development ideas for the client's satisfaction. He's enthusiastic about learning, expanding his knowledge, building high-quality applications. He is a very fast learner and adapts quickly to different working environments, responsibilities, and team structures.
User Authentication with Python Flask and MySQLPrevUser Authentication with Python Flask and MySQLJune 16, 2020
New Ideas for Educational App Startups that should check out in 2020October 1, 2020New Ideas for Educational App Startups that should check out in 2020Next

Related Posts

Android

People & Identity – Conversation notifications new features!

Introduction     In the first week of 11 weeks of Android, it has lots of new features...

Avatar Darshit Anjaria July 4, 2020
Image photo editing software online on digital tablet computer vector above designer workplace table desk or artist desktop picture creating and drawing program top view flat, concept of art studio
AndroidStartup Idea

What Makes a Photo editing app a Desirable One?

There are unforgettable memories of every particular activity. We love to...

Suresh Kerai Suresh Kerai October 10, 2020
Categories
  • Android 3
  • Cloud Server 5
  • Database 1
  • Digital Marketing 1
  • Education 2
  • Flask 1
  • Graphic Design 1
  • Python 1
  • Ready Mix Concrete ERP Software 1
  • SEO 2
  • Startup Idea 3
  • Version Control 1
  • Web Designing 2
  • Web Development 2
  • WordPress 2
Recent Posts
  • Ready Mix Concrete ERP: Customise Ready Mixed Concrete ERP Software
  • Global Downfall, crises and opportunities in EdTech
  • What Makes a Photo editing app a Desirable One?
  • New Ideas for Educational App Startups that should check out in 2020
  • People & Identity – Conversation notifications new features!
Recent Comments
  • Arkay Apps on GK In Gujarati
  • Arkay Apps on Property Or Real Estate Listing Android App Source Code
  • Arkay Apps on Property Or Real Estate Listing Android App Source Code
  • Darty Mulimaposho on Property Or Real Estate Listing Android App Source Code
  • Arkay Apps on GK In Gujarati
For Work Inquiry
Email: sales@arkayapps.com
India: +91 932-709-3554
For Career Inquiry
Email: career@arkayapps.com
India: +91 932-709-3554
Bhuj
 174, Time Square Empire, SH 42 Mirjapar Highway, Bhuj, Gujarat 370001
Email: info@arkayapps.com
Phone: +91 932-709-3554
Bengaluru
No.3, Silver Palms, Palmgrove Rd, Victoria Layout, Bengaluru, Karnataka - 560047
Email: info@arkayapps.com
Phone: ‭+91 804-377-9545‬
U.S.A
20128 Bar Garbor Terrace
Ashburn
VA 20147, USA
Email: info@arkayapps.com
Privacy Policy | Disclaimer

Copyright © by Arkay Apps. All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. By continuing the site you are agreeing to cookies. Privacy policyOkay