Apple.Receipt.Parser
2.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Apple.Receipt.Parser --version 2.0.0
NuGet\Install-Package Apple.Receipt.Parser -Version 2.0.0
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="Apple.Receipt.Parser" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Apple.Receipt.Parser --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Apple.Receipt.Parser, 2.0.0"
#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 Apple.Receipt.Parser as a Cake Addin #addin nuget:?package=Apple.Receipt.Parser&version=2.0.0 // Install Apple.Receipt.Parser as a Cake Tool #tool nuget:?package=Apple.Receipt.Parser&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Project status
Branch | Build | Quality |
---|---|---|
master |
Nuget Packages Information
Apple Receipt Models
Description
Describes strongly-type representation of Apple Receipt Object. Apple Documentation
Nuget information
Version | Downloads |
---|---|
Installation:
- (Package manager):
Install-Package Apple.Receipt.Models
- (.Net CI):
dotnet add package Apple.Receipt.Models
- (Packet CLI):
paket add Apple.Receipt.Models
Apple Receipt Parser
Description
Parser for Apple Receipt that represented in base64 and encoded with ASN.1 Anatomy of a Receipt payload encoded with ASN.1
Nuget information
Version | Downloads |
---|---|
Installation:
- (Package manager):
Install-Package Apple.Receipt.Parser
- (.Net CI):
dotnet add package Apple.Receipt.Parser
- (Packet CLI):
paket add Apple.Receipt.Parser
How to use:
// Register DI services...
services.RegisterAppleReceiptParser();
...
// ... and resolve the service later.
IAppleReceiptParserService parserService;
...
// Get your base64 Apple Receipt
const string appleAppReceipt = "{receipt_base64_string}";
// Convert to Bytes
byte[] data = Convert.FromBase64String(appleAppReceipt);
// Get parsed receipt
AppleAppReceipt receipt = parserService.GetAppleReceiptFromBytes(data);
Apple Receipt Verificator
Description
Apple Receipt Validator using Apple App Store. Two step verification: pre-validation that can be customized and App Store verification. Apple Receipt Validation with App Store documentation
Nuget information
Version | Downloads |
---|---|
Installation:
- (Package manager):
Install-Package Apple.Receipt.Verificator
- (.Net CI):
dotnet add package Apple.Receipt.Verificator
- (Packet CLI):
paket add Apple.Receipt.Verificator
How to use:
// (Optional) You can create implementation of custom validation process:
services.AddScoped<IAppleReceiptCustomVerificatorService, AppleReceiptCustomVerificatorService>();
...
// Fill settings:
services.RegisterAppleReceiptVerificator(x =>
{
x.VerifyReceiptSharedSecret = "XXXX"; // Apple Shared Secret Key
x.VerificationType = AppleReceiptVerificationType.Sandbox; // Verification Type: Sandbox / Production
x.AllowedBundleIds = new[] {"com.mbaasy.ios.demo"}; // Array with allowed bundle ids
});
...
// ... and resolve the service later.
IAppleReceiptVerificatorService verificator;
...
AppleReceiptVerificationResult result = await verificator.VerifyAppleReceiptAsync(appleAppReceipt);
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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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 is compatible. |
.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. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
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.
-
.NETStandard 2.0
- Apple.Receipt.Models (>= 2.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.5)
- Newtonsoft.Json (>= 12.0.3)
-
.NETStandard 2.1
- Apple.Receipt.Models (>= 2.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.5)
- Newtonsoft.Json (>= 12.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Apple.Receipt.Parser:
Package | Downloads |
---|---|
Apple.Receipt.Verificator
Library for validating receipts with the App Store |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.5.0 | 22,241 | 12/25/2023 |
2.4.0 | 15,849 | 4/23/2023 |
2.3.0 | 39,208 | 10/9/2022 |
2.2.4 | 47,736 | 10/23/2021 |
2.2.1 | 15,243 | 5/16/2021 |
2.2.0 | 2,784 | 5/1/2021 |
2.1.1 | 4,378 | 3/21/2021 |
2.1.0 | 10,410 | 1/6/2021 |
2.0.4 | 1,869 | 10/21/2020 |
2.0.3 | 3,902 | 9/24/2020 |
2.0.2 | 7,120 | 7/14/2020 |
2.0.0 | 1,147 | 7/12/2020 |
1.1.3 | 7,450 | 6/25/2018 |
1.1.2 | 1,452 | 6/25/2018 |
1.1.1 | 1,474 | 6/24/2018 |
1.1.0 | 1,783 | 6/24/2018 |
1.0.0 | 1,483 | 6/21/2018 |
Models improved