15
Views
3
Comments
[PassSharp] Images not showing in pkpass generated
passsharp
Reactive icon
Forge asset by flpmorais
Application Type
Reactive

Hi team,

I'm using this component to generate pkpass files for event tickets. I'm trying to add a logo to the top left of the pass by adding a resource to the module, and then using the resource's Runtime Path and Content, as shown on the image below:


However, the image does not appear in the pass. I've also tried adding images in other fields of the Graphics record, but none of them appears. How can I fix this issue?

Thank you!

2023-10-25 10-09-21
Luis Filipe Oliveira

Hi Inês,
i dont have access to the use case, but i believe you need to put a direct url.


Regards,

Luis

UserImage.jpg
Inês Carvalho

Hi Luis,

I've tested replacing the Path with the link of a random image online, and added the image as a resource to still pass the binary in the Bytes field, since it's mandatory:

https://www.thespruce.com/thmb/ew5ClpRANa-yO53K8fFlU1rablk=/4169x0/filters:no_upscale():max_bytes(150000):strip_icc()/the-difference-between-trees-and-shrubs-3269804-hero-a4000090f0714f59a8ec6201ad250d90.jpg


However, I still get the same result - instead of the logo, in the top left corner I just see the following: 

Please take into account that I'm testing this in an android device, by adding the pass into Google Wallet, since I can't open the pass in an iphone due to this issue:  https://www.outsystems.com/forums/discussion/98513/open-in-wallet-pass-not-opening-in-ios/


Thank you!

UserImage.jpg
Inês Carvalho


We were able to solve the issues on iOS and test, and can confirm that this issue only happens in android.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.