03-28-2024 9:31 PM
Hello,
Only the icon is displayed on each page of my mobile app 66835 (BirdSoundFinland) instead of the page specific static image. However, in web browser preview the images are displayed correctly.
Before releasing any update of my app to the public, I wish to be sure that this error does not appear on users' phones.
Sincerely,
Jan-Erik
03-31-2024 11:30 AM
I'm not an Android user or expert in how SAP Build Apps works with it. But can you explain a little more, maybe for others who can answer:
Screenshots always help 😸
03-31-2024 5:36 PM
Hello and thanks for your reply.
All 300 images (one on each page) appear as they should as components in the composer, but when I checked the content of the Asset Manager, I only found 5 of them left! And when I opened the SAP app preview, only these 5 images were visible on their respective pages. Does this mean I have to upload and link all 295 missing images again?
Regards,
Jan-Erik
04-02-2024 9:10 AM
Hey, seems like you're handling a lot of images, do you store these images locally or on a backend? If stored locally, your issue could be that some images exceed the 5mb upload limit in composer pro and only the ones below this limit will appear. To solve this you may need to resize your images before uploading to composer pro. Additionally if the images are in a repeating list on your device, it could also be that the app is taking an indefinite amount of time to render all the images at once. Have you caught any error messages so far in your building process ?
If you don't already, I would suggest uploading the 300 images to a backend server so that with each image on a page you want to display, your app makes an API call requesting a link to this image then you bind your image component/container to the link. For more performance I would also recommend caching your images and recycler view if you have long lists of images
04-02-2024 10:11 PM
Hi, thanks for the tip, but the images are only about 50-80 kb in size. The app, which was built on the Appgyver platform, has been available in Google Play for more than a year by now and without any issues.
It seems that when migrating to the new SAP environment, the content of the Asset container was not completely transferred, which probably means that I have to re-upload and re-link all the missing images before publishing the next app update. I suppose an image-opening directly from the asset container would be slightly quicker than opening them through a link from a backend server.
Each page has multiple links (about 2,200 totally in the app) to audio files stored in Firebase. The slight delay in opening them is not particularly disturbing.
04-02-2024 10:34 PM
When the actual image is missing from the collection of assets, it's replaced by the app icon.