miyabi / react-native-passkit-wallet

React Native module to handle PassKit.
MIT License
52 stars 37 forks source link

Missing wallet icon from AddPassButton #15

Open hannigand opened 4 years ago

hannigand commented 4 years ago

The exported AddPassButton doesn't render the Apple Wallet Icon

Expected: alt text https://developer.apple.com/wallet/

Actual:

Screenshot 2020-06-22 at 09 46 44

Implementation:

<AddPassButton
  // eslint-disable-next-line react-native/no-inline-styles
  style={{ height: 57, borderWidth: 1 }}
  addPassButtonStyle={PassKit.AddPassButtonStyle.blackOutline}
  onPress={() => {
    console.log('onPress');
  }}
/>
birkir commented 3 years ago

This happens only on iOS Simulator. Try on a real device 😉

sravanzeal123 commented 3 years ago

@birkir @hannigand @miyabi @ajcrites : Can you guys please provide example of code.