Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...


Note

IMPORTANT NOTICE: The mobile SDK has been deprecated and no longer offered as an integration option in greenID. For alternative options, please contact your GBG account representative.


Div
stylemargin-bottom:10px; font-size: large;


Excerpt

Currently the greenID Mobile SDK is not supported to run in split-screen and we recommend that app developers disable this mode. You should consider preventing Android from offering the full screen mode switching buttons as it causes applications to be completely restarted, with no warning to the user. 


Split-screen mode

Android 7.0 introduced "split-screen mode" for applications, and if your application targets API 24 or higher, there are certain aspects of this mode that can be controlled from within your code environment.

For more information, see: https://developer.android.com/guide/topics/ui/multi-window

Currently, the greenID Mobile SDK is not supported to run in a split-screen mode, and it is recommended that app developers disable this mode.

To disable split-screen mode, add the following attribute to the <application> node of your application's manifest file:

android:resizeableActivity="false"

E.g.:

Image Modified


Full screen mode

Recent flagship Android devices from popular manufacturers included displays with a new display format with an aspect ratio of 18.5:9, devices such as the Samsung Galaxy S8, S8+, S9, S9+, LG G6 and the Mi Mix.

When an Android application is not optimised for this newer aspect ratio, the Android operating system may offer the option to place the application into full screen mode, through tapping a visible bar below the application.  Switching between full screen and normal modes also becomes available when browsing the list of recent applications on the Recents screen.

One downside of switching between full screen and normal mode, is that the application is completely restarted, with no warning to the user.

To let Android know that your application is aware of the new aspect ration, please add the following node into the <application> node of your application's manifest file:

<meta-data android:name="android.max_aspect" android:value="2.1" />

E.g.:

Image Modified

Adding the above will tell the Android OS that your application is aware of the new aspect ratio, and prevent Android from offering the full screen mode switching buttons.

There may be more that is required from app developers to optimise their applications for the new aspect ratio, such as layout changes, etc.

For more information, see: https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html



Include Page
greenID include
greenID include

Div
stylemargin-top:20px; border-top: 3px solid #ACD03A; padding-top:20px;

On this page

Table of Contents
excludeOn this page

Include Page
greenID Mobile A-Z
greenID Mobile A-Z