stripe-identity-react-native
stripe-identity-react-native copied to clipboard
[Android] brand logo is missing on the top of the screen
Hi all! Brand logo is missing on the top left of the screen for Android. For iOS it works!
hi @nicolasdevienne could you double check the asset is in .png format is loaded correctly? Here is how the logo is correctlyed loaded in the example app, you could verify that by executing yarn android under the example dir
hi @nicolasdevienne could you double check the asset is in
.pngformat is loaded correctly? Here is how the logo is correctlyed loaded in the example app, you could verify that by executingyarn androidunder the example dir
Thx @ccen-stripe! My image was in res/drawable folder for Android but I have just changed as you tell me and now it works!
Hi @ccen-stripe, I have just discover that on Android simulator the image is present but missing on a real device...
hey @nicolasdevienne could you retry with the example app here? I just built it on a real device pixel-5 and it seems working fine:
Hi @ccen-stripe as you can see on the following screens, on simulator it's OK but KO on real device. I don't understand. For iOS it's OK for the two ways : simulator and real device.
My code is very simple :
import brandLogo from '../../../../../assets/shared/images/medadom_icon.png';
...
await presentIdentityVerificationSheet({ sessionId, ephemeralKeySecret, brandLogo: Image.resolveAssetSource(brandLogo) });
Also I notice that the text are not in French language. Can you translate it in the next version please?
hi @nicolasdevienne FR translation should be ready now, you don't need to upgrade the SDK version as it comes from our backend. Re. image not showing up, could you verify this issue is reproducible with your device from our example android app ? I tried with a couple of physical devices but cannot reproduce it.
following up in https://github.com/stripe/stripe-identity-react-native/issues/156