Force to update apk on playstore
<p>In Xamarin Form mobile development, I created one apk and uploaded on Google Playstore.</p>
<blockquote>
<p>Apk current version = 12;</p>
<p>Apk in mobile =11;</p>
</blockquote>
<p>I want to compare my installed version of apk(11) with current version of apk on Playstore(12) and want to force to update apk.</p>
<p>I got coding for find installed version of apk by</p>
<pre><code>Context context=this.ApplicationContext;
int code = context.PackageManager.GetPackageInfo(context.PackageName, 0).VersionCode;
</code></pre>
<p>How to find the current version of apk on playstore using xamarin c#. Thanks advance.</p>