question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.pkpass not opening in iphone

See original GitHub issue

Could create a .pkpass file, that works fine in mac but the file fails to download in iphone

screen shot attached @alexandercerutti

image

const eventPass = await createPass({
      model: './Event.pass',
      certificates: {
        wwdr: './certs/wwdr.pem',
        signerCert: './certs/DerwentSignerCert.pem',
        signerKey: {
          keyFile: './certs/DerwentSignerKey.pem',
          passphrase: iosWallet.signerKeyPasword,
        },
      },
      overrides: {
        passTypeIdentifier: iosWallet.passIdentifier,
        teamIdentifier: iosWallet.teamIdentifier,
        serialNumber: eventBookingId,
      },
    });
    const stream = eventPass.generate();
    const blobName = `${eventBookingId}.pkpass`;
    const link = await sendIosWalletToBlob(stream, blobName);
    return successResponse(
      200,
      messages.iosPassLink,
      context.invocationId,
      link
    );

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
chaithanyaMarripaticommented, Aug 3, 2021

hey @alexandercerutti the issue wasn’t with certificates Event.pass was missing event@3x.png image file, so iphones refused to open the pass while macs had no problem thanks for you help, appreciate it.

0reactions
alexandercerutticommented, Aug 3, 2021

@chaithanyaMarripati that was really weird for that error! Glad you have solved!

Anyway, what is event@3x.png? Did you mean the icon@3x.png perhaps?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with retrieving pkpas files - Apple Community
1) save the pkpass file to your Mac, · 2) change the file extension from ". · 3) double-click the file. · 4)...
Read more >
PKPass Bundle files not opening on iPhone - Apple Developer
Hello,. I am trying to create a .pkpasses bundle by following the documentation at the bottom of this page. However, after downloading the...
Read more >
PKpass files are not showing any option to be added to Wallet
I've got several pkpass files which are not showing the option to be added to Wallet App. I've tried several methods (by email,...
Read more >
unable to open .pkpass file which was sen… - Apple Community
I am using Iphone 7. Hi, i am unable to open .pkpass file which was sent to my mail.I am using Iphone 7....
Read more >
Pkpass fiels can't be added to Wallet - Apple Community
I received a pkpass file with a boarding pass via e-mail. The attachment can't be opened/added to the Wallet application.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found