I'm having a cordova outsystems android app and I want to make sure it's running the compileSdkVersion and targetSdkVersion that I've set. Is it possible to print it out runtime in android code (not javascript)?
Getting the targetSdkVersion is simple:
val targetSdkVersion = application.applicationInfo.targetSdkVersion
Getting the compileSdkVersion is more complex, there are answers posted here: How to get compileSdkVersion in my custom gradle plugin
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.