wallet-kit icon indicating copy to clipboard operation
wallet-kit copied to clipboard

I have a request.

Open choidevs opened this issue 4 years ago • 3 comments

Hello. :) First of all, thank you for making this project. Is there a simple way to use it?

choidevs avatar Apr 16 '21 14:04 choidevs

Hi @choidevs,

You should instantiate a WalletKit object. The init explains which paths to provide. You have to create some certificates in the Apple developer portal. After you instantiate the WalletKit object you can construct a Pass containing all the information you want to display in the pass. With that Pass object you can call the generatePass method of WalletKit this returns a EventLoopFuture (a swift-nio concept), this will eventually return a signed pass which you can provide as a download for clients who should install the pass.

This library is best used in conjunction with Vapor.

Best regards,

Jimmy

jimmya avatar Apr 19 '21 07:04 jimmya

Unfortunately I no longer have a sample project implementing this library. I fear I also don't have the time to construct it. It is quite old so I also don't think it works with the latest version of Vapor but with version 3.x.

jimmya avatar Apr 19 '21 07:04 jimmya

But all model are still active yes ? only we have to generate pass func will be change for vapor 4 ? there are only 2 file have to change so please ping me on telegram if you will have some time thanks my id: @iamdev2

saroar avatar May 12 '23 14:05 saroar