h6. What Leverage some existing checks into We should expose a function that allows the Android Security SDK end developer to check if the device is running the latest version of the OS. h6. Why Newer versions of an OS will have the latest security patches.
h6. How Using Create a function to check if the recommendations coming out of app is running on the initial IdM SDK Module work latest OS. http {code : java} / ** * Function to check if the device is running the latest Android OS * / feedhenry.org public boolean detectLatestOS() { / mobile-security / #mobile_app_self_defence Check to be completed for this JIRA todo : find if there is a better way to define what the latest android version is detectLatestOS int latestOsApiLevel = Build.VERSION_CODES.M;
if ( Build.VERSION.SDK_INT < latestOsApiLevel ) { return false; } else { return true; } } {code} |
|