I’m currently developing a global app that supports both support tickets and chat conversations. On the custom installation page, I’m encountering an issue where an image isn’t loading.
The application is built with React, and the image is in the assets folder. I’ve tried loading the image in multiple ways.
When using the custom app, the image doesn’t load with the following route, though it works locally:
src=‘/custom_configs/assets/images/logo.png’
It also fails to load in both environments when using this route:
Hi @Anish ,
Thanks for reaching out to us through the community. The development team suggests using a CDN as a workaround to solve this.
The development team is considering the idea of supporting popular front-end frameworks such as React in the FDK to address this. We do not have any timelines on when it will be available.
I’m using an SDK app instead of a CDN, so I can replace the image tag with an inline SVG directly.
However, accessing the image from the asset folder, i.e., storing it locally and then using it, is the expected flow, so I was trying to understand what went wrong and whether this method is supported or am using it wrongly.
For now, I can use an SVG since it works, but I still need to know why I can’t access the image from the local folder.
@Anish,
You were right, we can’t access the images in the assets folder, there is a limitation in the current framework,
as @Srividhya-S suggested, please use an inline or CDN link to solve for now,
we are planning to support a new react framework in the future, that will solve your issues.