Hi askvortsov ,
There is a bug when admin tries to enable the extension, this bug has kept me out from testing the extension for the past days, I thought it was a problem on my end that is why I have not reported earlier.
I believe those who have tested it, just upgraded from an activated version lower than or equal to v0.1.5
.
The Problem:
I have v0.1.5
installed, so I disable it in the admin panel then I run composer require askvortsov/flarum-pwa
. Installation runs successfully but when I want to enable the extension an error occurs which says "Oops! Something went wrong. Please reload the page and try again." And the extension is not enabled.
However, if I leave the v0.1.5
enabled and run the upgrade the extension remains enabled and I am able to use it. But, if i deactivate the v1.0.0
upgrade of the extension, the problem resumes, and I would not be able to enable the extension as the error occurs which says "Oops! Something went wrong. Please reload the page and try again." And the extension is not enabled.