Tharindu
Tharindu

Reputation: 81

Create downloadable passes (*.pkpass) for Apple passbook with .Net

I needed to develop a website in .Net which can create event tickets that downloadable as passbook file (*.pkpass). I tried to use. Dotnet-passbook library available in Nuget. But any created passes are not open in iPhone. Have anyone faced this issue? Any other suggestions to do this task?

Upvotes: 3

Views: 7644

Answers (3)

Tharindu
Tharindu

Reputation: 81

This is solved. it worked after using "request.CertThumbprint" instead of location referring to the certificate. thanks. so error was validating the certification in passes.

Upvotes: 2

Yuk_dev
Yuk_dev

Reputation: 368

I also create .pkpass using C#, you may reference to my past question such this generate pkpass question.

The major problem I think, should be the pass.json file format is not correct. A easy method to test the .pkpass file must be using xcode and create a ios simulator, drop your .pkpass file in to simulator. The xcode log will display the reason why your file is not working, hope helpful.

Upvotes: 2

genife
genife

Reputation: 24

You need the xcode framework or apple build package, here the info.

https://blogs.msdn.microsoft.com/vcblog/2017/04/18/android-and-ios-development-with-c-in-visual-studio/

here you can download, the visual studio full. https://www.visualstudio.com/en/downloads/

Upvotes: -1

Related Questions