I have been trying to use the client SDK of Workspace ONE SDK for Android 19.6 with basic implementation
Initialization & Usage
awSDKManager = SDKManager.init(getApplicationContext());
// isEnrolled returns true
if(awSDKManager.isEnrolled()){
response = awSDKManager.getEnrollmentUsername();
}
Application was first uploaded on the Workspace ONE UEM portal and then side loaded on the enrolled device using Android Studio.
This isn't the only method call that fails other methods such as
device uid, camera allowed, server name, group id
also throws the same exception..
Has anyone faced this issue ? Is there anything that is missing from the configuration part of the portal. I also tried to run there sample application provided in the SDK and it throws open ssl load exception android.
For anyone struggling with this same issue: make sure that the package of the application you downloaded to UEM portal and installed on your enrolled device has the same signature as the one you're running on the device using Android Studio. Instructions on how to do so can be found in the answers here: Android: Error - App has same packaged different signature
This should fix the issue if you have configured everything else accordingly, at least worked for me.