Store Info for Xamarin Forms and .NET MAUI 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
You have the option to use your DI/IOC container
containerRegistry.RegisterInstance<IStoreInfo>(CrossStoreInfo.Current);Gets the version number of the current app's installed version.
string versionNumber = await CrossStoreInfo.Current.InstalledVersionNumber;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);appNameshould be the app's bundle identifier (CFBundleIdentifier) on iOS and the app's package name on Android.
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");appNameshould be the app's bundle identifier (CFBundleIdentifier) on iOS and the app's package name on Android.
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");appNameshould be the app's bundle identifier (CFBundleIdentifier) on iOS and the app's package name on Android.
This project uses a comprehensive CI/CD pipeline powered by GitHub Actions for automated building, testing, and deployment.
- CI Build: Automated builds for Android, iOS, Windows, and Xamarin platforms
- PR Validation: Quick validation checks for pull requests
- Release & Publish: Automated NuGet package creation and publishing
- Security Scan: Regular security vulnerability scanning
- Code Quality: Code formatting and linting checks
Before committing code, ensure:
# Format code
dotnet format src/StoreInfoPlugin.sln
# Build and verify
dotnet build src/StoreInfoPlugin.sln -c Release- CI/CD Pipeline Documentation - Detailed workflow documentation
- Pipeline Architecture - Architecture diagrams and design
The Apache License 2.0 see License file
