eymengunay / php-passbook

iOS passbook library for PHP

Home Page:http://eymengunay.github.io/php-passbook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sharingProhibited flag

koekaverna opened this issue · comments

commented

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

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.

commented

I make pull request master...7a198d6

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

Thank you! Looks good to me.

Do you want to go ahead and send the pr?