#LA_Gangster

1 messages · Page 1 of 1 (latest)

uneven robinBOT
hearty vault
drowsy egret
#

Re: Icon, In the <ContextView> component, we're using brandIcon={BrandIcon} attribute.

hearty vault
#

hey there sorry for the delay on this -- looking to get some help with this

drowsy egret
#

Thanks @hearty vault

#

To reiterate... We need the Icon/BackgroundColor in the top part of the <ContextView> to persist (not only show after loaded, but during loaded as well)

sacred pecan
#

Can you share the import statement for BrandIcon? My understanding is the ContextView icon should persist during loading if configured correctly

drowsy egret
#

import BrandIcon from "./brand_icon.svg";

sacred pecan
#

Do you have an icon set in the app manifest?

#

I'm wondering if that takes precedence whilst the app loads, so if unset the <ContextView /> would be blank

#

Otherwise I'm not sure. I would recommend filing an issue over on this repo: https://github.com/stripe/stripe-apps/issues

The Stripe Apps team monitor and resolve issues there whilst in beta

GitHub

Stripe Apps lets you embed custom user experiences directly in the Stripe Dashboard and orchestrate the Stripe API. - Issues · stripe/stripe-apps

sacred pecan
drowsy egret
#

Thanks @sacred pecan . We've made progress and believe to have figured it all out.

In stripe-app.json , the import value from icon had to be coming from the ./build folder, instead of the globals.

#

And thanks @hearty vault - looks like we're all set here now 💪

sacred pecan
#

Aha, nice. So is it the icon from the app manifest that is used during loading?

drowsy egret
#

yess from what it looks like