Skip to main content

Posts

Showing posts from September, 2021

Working with Android 11 (Changes and Security Features)

 Hello everyone , I am here with new article which is hot topic nowadays "Android 11" .The stable version of Android.  Android 11 is the eleventh major release and 18th version of Android, the mobile operating system developed by the Open Handset Alliance led by Google. It was released on September 8, 2020.It is comes with many security features and other features as well . And it is now compulsory in play store  to upload new apps with API lavel 30 which is compatible with Android 11 and from November onwards old apps also have to update with API 30 .Some other guidelines you can check out from here . Play Store Guidelines So its clear that we have to update our apps with API level 30 .But Android 11 comes with some changes as well which we have to do in our projects. For example from Android developer site "Android 11 (API level 30) further enhances the platform, giving better protection to app and user data on external storage. ". Scoped storage enforcement: Apps

Speak Out FCM Notification using Text to Speech (TTS)

Hello everyone! hope you are doing well .Here is another article on Speak out the notification received from Firebase .Basically we will use Text to Speech Service to achieve this. Before going further lets discuss something about FCM behavior. There are two types of messages in FCM (Firebase Cloud Messaging): Display Messages : These messages trigger the onMessageReceived() callback only when your app is in foreground. Data Messages : Theses messages trigger the onMessageReceived() callback even if your app is in foreground/background/killed. So we can say that we will not receive data messages from Firebase console when app is in background or killed. To solve this problem we have to send FCM notification using our Server or we can also use Postman for sending notification as a Server. Here are some steps to follow for send notification using Postman. Copy Legacy Server Key from Firebase Console > Project Settings > Cloud Messaging  In Postman Select POST. Enter request URL as