Vivek Modi
04/14/2022, 11:14 PMlet appVersion = “iOS ” + (Bundle.main.versionNumber ?? “”)
But I don't understand how to use this in iosMain in kmm. Is any other code ?ribesg
04/15/2022, 8:12 AMNSBundle.mainBundle.infoDictionary?.get("CFBundleShortVersionString") as String?
Vivek Modi
04/15/2022, 8:15 AMhfhbd
04/15/2022, 9:46 AMElelan Vickneshvararajah (Elelan)
11/12/2024, 10:19 AMiosApp
in composeApp/iosMain
?
NSBundle.mainBundle.infoDictionary?.get("CFBundleShortVersionString") as String?
The above code gives the versionCode for the composeApp framework.