eymengunay / php-passbook

iOS passbook library for PHP
http://eymengunay.github.io/php-passbook/
MIT License
263 stars 53 forks source link

sharingProhibited flag #79

Closed koekaverna closed 6 years ago

koekaverna commented 6 years ago

Is it possible to set sharingProhibited = true? This option disable sharing feature of the card.

eymengunay commented 6 years ago

Unfortunately I couldn't find any references to sharingProhibited key. The closest I got was this answer: https://stackoverflow.com/questions/42192152/is-there-any-way-to-disable-share-pass-button-from-wallet-pass-and-android-pay/48008507#48008507

The reference document still doesn't mention much about this flag so I'd rather wait a little more. Although if you are able to test feature this please feel free to send in a pull request.

koekaverna commented 6 years ago

I make pull request https://github.com/eymengunay/php-passbook/compare/master...7a198d68319c4cc26a2bd0433407a882aeac5056

Tested on iOS 11 and it work. Not working on android Wallet Passes

eymengunay commented 6 years ago

Thank you! Looks good to me.

Do you want to go ahead and send the pr?