Plugin.StoreInfo
1.0.4
dotnet add package Plugin.StoreInfo --version 1.0.4
NuGet\Install-Package Plugin.StoreInfo -Version 1.0.4
<PackageReference Include="Plugin.StoreInfo" Version="1.0.4" />
paket add Plugin.StoreInfo --version 1.0.4
#r "nuget: Plugin.StoreInfo, 1.0.4"
// 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
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.
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 | Versions 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. |
-
.NETStandard 2.0
- System.Text.Json (>= 7.0.2)
- Xamarin.Forms (>= 3.1.0.697729)
-
MonoAndroid 8.1
- System.Text.Json (>= 7.0.2)
- Xamarin.Forms (>= 3.1.0.697729)
-
Xamarin.iOS 1.0
- System.Text.Json (>= 7.0.2)
- Xamarin.Forms (>= 3.1.0.697729)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.