Jump to content
  • Status: Fixed

After upgrading to version 5.0.2, I can no longer generate a PWA application on pwabuilder.com. The manifest file is missing entries for icons:

"icons" is required and must be a non-empty array
"start_url" is required and must be a string with a length > 0

Could you fix this in the next version? I use the PWA application to distribute it on the Play Store for Android users.

My webmanifest

{
    "scope": "https:\/\/domain.com\/",
    "name": "xxx",
    "short_name": "xxx",
    "description": "xxx",
    "background_color": "#000000",
    "display": "standalone",
    "cache_key": 1740425833
}

Where is icons? I have icons set in ACP.

User Feedback

Recommended Comments

PanSevence

Clients
#0 system/File/FileSystem.php(359): IPS\Log::log('Could not write...', 'FileSystem')
#1 system/File/File.php(391): IPS\File\FileSystem->save()
#2 applications/core/modules/admin/settings/webapp.php(296): IPS\File::create('core_Icons', 'android-chrome-...', '\x89PNG\r\n\x1A\n\x00\x00\x00\rIHD...', NULL, true, NULL, false)
#3 applications/core/modules/admin/settings/webapp.php(163): IPS\core\modules\admin\settings\webapp::processApplicationIcon(Array, Array, Array)
#4 system/Dispatcher/Controller.php(139): IPS\core\modules\admin\settings\webapp->manage()
#5 applications/core/modules/admin/settings/webapp.php(70): IPS\Dispatcher\Controller->execute()
#6 system/Dispatcher/Dispatcher.php(169): IPS\core\modules\admin\settings\webapp->execute()
#7 admin/index.php(15): IPS\Dispatcher->run()
#8 {main}

Could not write file /public_html/uploads/monthly_2025_02/android-chrome-512x512-masked.png

Marc

Invision Community Team

In System->Site Features->Web App, you dont have icons set in all areas, which is what will likely be causing you problems

PanSevence

Clients
 

In System->Site Features->Web App, you dont have icons set in all areas, which is what will likely be causing you problems

Yes, that's true, but something is missing, which makes it impossible to create a PWA.

image.png

Marc

Invision Community Team

I've flagged our developers on this, to see if they can advise on whether or not this is actually a bug or something related to the app you are trying to use here. If its a bug, we can of course get that fixed

Stuart Silvester

Invision Community Team

This would be something to do with your server, the software is unable to create the files in your storage location. Check the location where your storage location is configured for the icons and make sure it is writable.

PanSevence

Clients
 

I've flagged our developers on this, to see if they can advise on whether or not this is actually a bug or something related to the app you are trying to use here. If its a bug, we can of course get that fixed

Yes, that's true, I managed to solve that problem. However, the issue with "start_url is required and must be a string with a length > 0" still remains. We don't have this parameter in the PWA, which prevents me from generating the PWA application for the Play Store. I would appreciate it if you could expand these required parameters to be configurable in the Web App. Thank you.

Stuart Silvester

Invision Community Team

Thanks, I have reproduced the issue when a custom start URL value is not specified. -- The start_url is configurable on the manifest tab.

I have worked around the issue for you on your community by specifying a custom start_url that still loads the community homepage.

PanSevence

Clients
 

Thanks, I have reproduced the issue when a custom start URL value is not specified. -- The start_url is configurable on the manifest tab.

I have worked around the issue for you on your community by specifying a custom start_url that still loads the community homepage.

Thank you so much! The best support ever!!!