Make Apps Simple

Working on ways to improve apps from planning, requirement gathering to end-user experience.

Get the Android app version programmatically

--

Source: Android Docs

In Android API 33, getPackageInfo(String, Int): PackageInfo! was deprecated.

To get the app version programmatically, we can use the following method.

Please comment with your valuable feedback. It would help me to improvise.

Kindly 馃憦馃憦馃憦 if this was useful.

Please follow if you would like to see more content related to Android Jetpack Compose.

LinkedIn: https://www.linkedin.com/in/abhimanyu-n/

References

--

--

Make Apps Simple
Make Apps Simple

Published in Make Apps Simple

Working on ways to improve apps from planning, requirement gathering to end-user experience.

No responses yet