Dryva.WebViewPG
1.0.0-alpha
See the version list below for details.
dotnet add package Dryva.WebViewPG --version 1.0.0-alpha
NuGet\Install-Package Dryva.WebViewPG -Version 1.0.0-alpha
<PackageReference Include="Dryva.WebViewPG" Version="1.0.0-alpha" />
paket add Dryva.WebViewPG --version 1.0.0-alpha
#r "nuget: Dryva.WebViewPG, 1.0.0-alpha"
// Install Dryva.WebViewPG as a Cake Addin #addin nuget:?package=Dryva.WebViewPG&version=1.0.0-alpha&prerelease // Install Dryva.WebViewPG as a Cake Tool #tool nuget:?package=Dryva.WebViewPG&version=1.0.0-alpha&prerelease
WebViewPG Usage
Xamarin Forms:
Create Xamrarin Forms project
In the Xaml page of interest add "Make Payment" button. Example below:
<StackLayout>
<Label Text="Welcome to Xamarin.Forms!" HorizontalOptions="Center" VerticalOptions="CenterAndExpand" /> <Button x:Name="btnMakePayment" Text="Make Payment" Clicked="btnMakePayment_Clicked"></Button>
</StackLayout>
On the button click event add the following codes to initiate PayStack payment.
var customer = new { Amount = 2500, Currency = "NGN", Email = "wizzyno@gmail.com", FirstName = "Eniefiok", LastName = "Eniang", PhoneNumber = "08069328151", Plan = "Monthly" }; var extras = new Dictionary<string, object> { { PGExtra.ExtraCustomer, customer } }; var launcher = DependencyService.Get<IActivityLauncher>(); launcher.SetCallback((args) ⇒ { // To receive success or failure callbacks }).StartPayStackActivity(extras);
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 | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.6 is compatible. 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. monoandroid90 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. 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. |
-
.NETStandard 1.6
- Xamarin.Forms (>= 4.3.0.908675)
-
.NETStandard 2.0
- Xamarin.Forms (>= 4.3.0.908675)
-
MonoAndroid 9.0
- Newtonsoft.Json (>= 12.0.3)
- System.Net.Http (>= 4.3.4)
- Xamarin.Android.Support.Design (>= 28.0.0.3)
- Xamarin.Forms (>= 4.3.0.908675)
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.0.2-alpha | 318 | 2/4/2020 |
1.0.0.1-alpha | 343 | 2/4/2020 |
1.0.0-alpha | 293 | 1/30/2020 |
The first released version of the library.