android-paygoogle-pay

How to use base64 string in Google pass event ticket logo


I am using Google Passes API and creating Passes using C#. I want to use base64 string for event ticket logo but not getting any option for that. Is there any possibility that we can use base64 string for event ticket logo

payload.Logo = new Image();

payload.Logo.SourceUri = new ImageUri();

payload.Logo.SourceUri.Uri = "HTTP://www.example.com/test.jpg";


Solution

  • No option to do this, must be URI:

    { "uri": string, "description": string, "localizedDescription": { object (LocalizedString) } }