Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 220.127.116.11 release ready!
Owner and Founder. Opencart
In Android Q to improve the OS that needed there were some feature needs to be updated, one of them is notifications. Notification is an important part of Android, and in Android Q, Google has introduced a new feature that keeps important messaging or chats notifications on the front as Facebook Messenger chat head.
The feature is being called Bubbles. When you get a notification of a text message or anything else like a Facebook messenger message, you can now turn that regular notification into a chat bubble that floats on the top of your screen. No matter what you’re doing on your phone, chat bubbles ensure you always have easy access to that conversation. Bubbles make it easy for users to see and participate in conversations. Bubbles are built into the Notification system. They float on top of other app content and follow the user wherever they go. Bubbles can be expanded to reveal app functionality and information and can be collapsed when not being used.
Bubbles are created via the Notification API, so you send your notification as normal. If you want your notification to display as a bubble, you need to attach some extra data to it.
The expanded view of a bubble is created from an activity that you choose. The Activity needs to be configured to display properly as a bubble. The activity must be resizeable and embedded. If it lacks either of these requirements it displays as a notification instead.
If your app shows multiple bubbles of the same type, like multiple chat conversations with different contacts, the activity must be able to launch multiple instances. When devices running Android 10, notifications are not shown as bubbles unless you set it to documentLaunchMode as “always”. Beginning with Android 11, you do not require to set this value explicitly, as the system automatically sets all conversations’ documentLaunchMode as “always”.
Use this function if the action if you want as a bubble, like clicking on a button to start a chat as Facebook chat head. In this case, it also makes sense to suppress the initial notification sent when a bubble is created.
On Android API level 29(version 10), the chat head will not work normally you have to enable the bubble feature from the developer option.
. . . . . . . . . .
That’s it from my side for today, thanks for reading it until now.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.