Getting the Currently Used Version

If you are unsure about the version of PSPDFKit you are using, there are ways to find out. In code, the PSPDFKit class will show the current version number via its static VERSION field. If your app depends on it, you can access it at runtime:

1
val versionString = PSPDFKit.VERSION
1
final String versionString = PSPDFKit.VERSION;

You can also Alt + click the VERSION field inside Android Studio or use quick look, which will show you the version number at development time.