TheWirv / react-native-wallet-passes

React Native module to handle Wallet passes on iOS and Android.
MIT License
10 stars 4 forks source link

Error: Failed to create pass. #2

Open pankaj-bhardwaj opened 2 years ago

pankaj-bhardwaj commented 2 years ago

When I pass const response = WalletPasses.addPass(data); // WalletPasses.addPass(base64EncodedPass);

I am getting a response

Screenshot 2021-10-28 at 1 58 41 PM
fiznool commented 2 years ago

Looks like your pass might not be valid? Check the docs on the Apple developer site for detailed instructions on how to create and build a pkpass file for use with this package: https://developer.apple.com/documentation/walletpasses/building_a_pass?language=objc