apple_passkit 1.0.0 copy "apple_passkit: ^1.0.0" to clipboard
apple_passkit: ^1.0.0 copied to clipboard

Plugin to deal with PKPass files on iOS. You can check for availabililty and add them.

Apple PassKit #

pub package likes popularity pub points

Twitter Follow GitHub followers

This is a Flutter binding for Apple's PassKit.

This library allows you to add and and read PkPass files.

How to use it #

final passKit = ApplePassKit();
// first check whether PassKit is available
bool isAvailable = await passKit.isPassLibraryAvailable();
// then check whether you can actually add passes
bool canAddPasses = await passKit.canAddPasses();

// when both of them are true, you can add a pass.
if(isAvailable && canAddPasses) {
    await passKit.addPass(pass);
}

To view all methods, take a look at the API docs.

View your app's passes #

Setup your Xcode project as described in the documentation.

After that, use await ApplePassKit().passes() to load your installed passes.

10
likes
0
pub points
85%
popularity

Publisher

verified publisheruekoetter.dev

Plugin to deal with PKPass files on iOS. You can check for availabililty and add them.

Repository (GitHub)
View/report issues

Topics

#passkit #pkpass

License

unknown (license)

Dependencies

flutter

More

Packages that depend on apple_passkit