Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Displaying app's build information

$
0
0

Hi,

I need to show the build information ( build date and environment(Adhoc/Distribution) in my app which is for three platforms.I am able to get the version number .Pasted the code below.I will also need to display build date and environment.Please guide me how to achieve this.

#if __IOS__
                VersionNumber = NSBundle.MainBundle.InfoDictionary["CFBundleVersion"].ToString();
            #elif __ANDROID__
                Context context = Forms.Context;
                VersionNumber = context.PackageManager.GetPackageInfo(context.PackageName, 0).VersionName;
            #endif

Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>