citrix / citrix-mam-sdks

The MAM SDK instrument your apps to enable enforcing policies and controls that are configured in Citrix Endpoint Management.
https://developer.cloud.com/citrixworkspace/mobile-application-integration
11 stars 4 forks source link

Support for compileSdkVersion 31 #59

Open Cliff2103 opened 2 years ago

Cliff2103 commented 2 years ago

In our project we're trying to upgrade some libraries. Unfortunately the android mam-sdk is still on compileSdkVersion 30 and we can't upgrade. Are there any (short-term) plans to support compileSdkVersion 31?

xingliangt commented 2 years ago

working inprogress ,thank you

huizh commented 2 years ago

The support of API/SDK 31 has been published, please try that. https://github.com/citrix/citrix-mam-sdks/releases/tag/22.9.0

tobias-indico commented 2 years ago

It's great that we now can use API 31! 👍 However I see that I also can build and install the app with using both a compileSdkVersion and a targetSdkVersion of API level 33, is this not recommended and could cause problems?

xingliangt commented 2 years ago

If there are no changes to the Android system (for example, api 31 needs to set components to exported=true), you can use api 33. Generally, it does not affect. At present, mdx utility only supports java 8, while api 33 may requires java 11, which may have some impact

tobias-indico commented 2 years ago

That sounds great! I use another Android Studio project to generate the mdx-file so the java version issue should've been solved already :)