Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 409 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 409 Bytes

pos-xamarin

Pangpang POS Client using Xamarin.Forms.

How to use PosSDK

Get PosSDK Service:

PosSDK PosSDK => DependencyService.Get<PosSDK>();

Call API

var result = await PosSDK.CallAPI<Account>("/account/login", new
{
    tenant = this.Tenant,
    username = this.Username,
    password = this.Password,
});
if (result.Success == true)
{
    /* success */
}
else
{
    /* fail */
{