Being up to date with everything happening in the Android space is crucial for any app developer. Android regularly updates their software, and that can bring significant changes that you should be aware of while developing and updating your app. The newest update for Android operating system is Android 6.0, Marshmallow.
Marshmallow is beginning to really gain traction as we move further into 2016. The changes are varied and can really change the way to create your apps. Here are three interesting things that you should know.
- Now there's a change in app permissions settings. In Android 6.0, now users can set individual app permissions. This gives better control to the users about which permissions they would like to give to the app. The update was a mandatory change for SDK 23+. It is an important note since this SDK is essential to bringing your apps to the new version of Android. You will have to update your app with this, so make sure to take the time to consider this implementation.
- New runtime permissions have been enacted with latest Android 6.0. These changes have helped to give the time to explain why the access is necessary instead of just being a scary robot with demands.
- Also, the permissions for your app now cannot be grouped. So, make sure that portions of your app are still accessible, if certain permissions are not allowed.
User data is becoming more protected with this new update. Marshmallow is better protecting the information of its users by not allowing local WiFi and Bluetooth Mac addresses to be seen publicly. This may be an obstacle for certain applications and a workaround, in that case, has also been created:
Google Play is now providing instance IDs! When an application is being used, a device instance identification ID is created and displayed for the developer.
Doze and standby
In Marshmallow, apps are handled differently when the user puts the phone down for extended periods. Doze is a feature that gets activated when the device is left unplugged and with the screen off for a long period of time. Under the Doze mode, the phone goes into a sleep state. This means that regular phone functions will periodically resume and then shut off again. This allows app syncing and pending tasks to take place without draining the battery. Developers need to keep this in mind if their app needs a constant internet connection.
This update was not a substantial one as compared to few of the previous updates. But it was important.
Add these new features that we've discussed here to the docket and program solutions around them!