-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected "register: true" when creating pass #6
Comments
When I use your code: barcode.setFormat( PKBarcodeFormat.PKBarcodeFormatQR ); In pass.json file,I get the string: ..., "barcode":{"format":"PKBarcodeFormatQR","message":"ABCDEFG","messageEncoding":{"registered":true}}, ... PassBook can't read pkpass file created with this string. After update code, I'm using: //barcode And in pass.json file, I get the string: ...,"barcode":{"format":"PKBarcodeFormatQR","message":"ABCDEFG","messageEncoding":"UTF-8"},... PassBook load pkpass file and read successful. Is this help? |
Hmm... Strange. This exact code is working fine when I execute it. Changing it from java.nio.charset.Charset to a string is not an option as I want to use as many common java classes as possible. |
Looks like Jackson isn't serializing the Charset class correctly. |
Reported by hnthuan:
The text was updated successfully, but these errors were encountered: