Plugin.StoreInfo 1.0.4

dotnet add package Plugin.StoreInfo --version 1.0.4                
NuGet\Install-Package Plugin.StoreInfo -Version 1.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Plugin.StoreInfo" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Plugin.StoreInfo --version 1.0.4                
#r "nuget: Plugin.StoreInfo, 1.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Plugin.StoreInfo as a Cake Addin
#addin nuget:?package=Plugin.StoreInfo&version=1.0.4

// Install Plugin.StoreInfo as a Cake Tool
#tool nuget:?package=Plugin.StoreInfo&version=1.0.4                

Store Info for Xamarin.Forms PayPal donate button

Store Info for Xamarin Forms has a mechanism to extract the current information of your app in store (playstore/appstore) using the package name/bundle id. Install this in your PCL and platform specific projects.

Build Status NuGet

Nuget: https://www.nuget.org/packages/Plugin.StoreInfo/

Sample: https://github.com/mecvillarina/StoreInfo/tree/master/sample

Usage:

You have the option to use your DI/IOC container

containerRegistry.RegisterInstance<IStoreInfo>(CrossStoreInfo.Current);

Get installed version number

Gets the version number of the current app's installed version.

string versionNumber = await CrossStoreInfo.Current.InstalledVersionNumber;

Get latest app information

Gets the information of the current app's latest version available in the public store.

var appStoreInfo = await CrossStoreInfo.Current.GetAppInfo();

Gets the information of an app's latest version available in the public store.

var appStoreInfo = await CrossStoreInfo.Current.GetAppInfo(appName);
  • appName should be the app's bundle identifier (CFBundleIdentifier) on iOS and the app's package name on Android.

Get latest version number

Get the version number of the current running app's latest version available in the public store:

string latestVersionNumber = await CrossStoreInfo.Current.GetLatestVersionNumber();

Get the version number of any app's latest version available in the public store:

string latestVersionNumber = await CrossStoreInfo.Current.GetLatestVersionNumber("appName");
  • appName should be the app's bundle identifier (CFBundleIdentifier) on iOS and the app's package name on Android.

Open app in public store

Open the current running app in the public store:

await CrossStoreInfo.Current.OpenAppInStore();

Open any app in the public store:

await CrossStoreInfo.Current.OpenAppInStore("appName");
  • appName should be the app's bundle identifier (CFBundleIdentifier) on iOS and the app's package name on Android.

License

The Apache License 2.0 see License file

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid81 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 4,140 3/11/2023
1.0.3 2,489 5/25/2019
1.0.2 563 5/22/2019
1.0.1 543 5/22/2019
1.0.0 580 5/22/2019