@askvortsov - any insights or suggestions for daxpandhi
I'm still stuck
@askvortsov - any insights or suggestions for daxpandhi
I'm still stuck
why does the app not include the admin panel? bc of that I still have to use my browser
Lemming8 why does the app not include the admin panel? bc of that I still have to use my browser
Hmm, that should be working... Which OS are you using? And could you share a link to your site?
Sorry, I'm kinda stumped at this one, as the payload size is now beneath the limits for most devices/browsers. One idea (although kinda unlikely): is it possible that there's some other error happening that interferes with the request?
I need to get around to releasing a debug version that logs attempted notifs and send status (should help for malago), will try to get that out soon. That should give us a fair bit more info.
askvortsov I am using windows 10 and the (link removed)
(Sorry for my late answer)
Edit: on Android it doesn't work as well
Lemming8 Hmm, very odd. I can't test this on your site (I'm not an admin), but it should be opening in the same tab. Could you inspect element the administration button and screenshot how it looks, and share that here?
Nevermind, got it! Fixed in v2.0.3
daxpandhi Actually I've tried something else that might fix it, could you test again with v2.0.4? Sorry for the delays
ok, l will try in a second
works like a charm, thanks a lot
edit: nvm, the link in the dropdown still doesn't work, but I can now open the dashboard by opening it in the browser and clicking "open in app"
i also inspected the button in the app and it gives following output:
<a href="https://<my-url>/admin" target="_self" active="false" type="button" title="Administration" class="hasIcon"><i class="icon fas fa-wrench Button-icon"></i><span class="Button-label">Administration</span></a>
Lemming8 edit: nvm, the link in the dropdown still doesn't work, but I can now open the dashboard by opening it in the browser and clicking "open in app"
WHat happens when you click it? It should refresh the page and open the admin bit. Have you cleared cache? (php flarum cache:clear
, or there's a button in the admin dashboard)
askvortsov ok, I cleared the cache now and reinstalled the app, now it works. Thanks for your help
Oh my god, how to fix it
[http@archlinux clinux]$ composer require minishlink/web-push
Using version ^6.0 for minishlink/web-push
./composer.json has been updated
Running composer update minishlink/web-push
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- askvortsov/flarum-pwa v2.0.4 conflicts with minishlink/web-push v6.0.3.
- askvortsov/flarum-pwa v2.0.4 conflicts with minishlink/web-push v6.0.2.
- askvortsov/flarum-pwa v2.0.4 conflicts with minishlink/web-push v6.0.1.
- askvortsov/flarum-pwa v2.0.4 conflicts with minishlink/web-push v6.0.0.
- askvortsov/flarum-pwa is locked to version v2.0.4 and an update of this package was not requested.
- Root composer.json requires minishlink/web-push ^6.0 -> satisfiable by minishlink/web-push[v6.0.0, v6.0.1, v6.0.2, v6.0.3].
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[http@archlinux clinux]$ composer update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files
71 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
[http@archlinux clinux]$
[http@archlinux clinux]$ php flarum info
Flarum core 0.1.0-beta.15
PHP version: 7.4.15
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, ctype, dom, fileinfo, filter, hash, json, mbstring, pcntl, SPL, PDO, session, posix, readline, Reflection, standard, SimpleXML, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, curl, gd, gmp, pdo_mysql, zip
+-------------------------------+------------------+--------+
| Flarum Extensions | | |
+-------------------------------+------------------+--------+
| ID | Version | Commit |
+-------------------------------+------------------+--------+
| flarum-approval | v0.1.0-beta.15 | |
| flarum-emoji | v0.1.0-beta.15 | |
| flarum-flags | v0.1.0-beta.15 | |
| flarum-likes | v0.1.0-beta.15 | |
| flarum-lock | v0.1.0-beta.15 | |
| flarum-markdown | v0.1.0-beta.15 | |
| flarum-statistics | v0.1.0-beta.15 | |
| flarum-sticky | v0.1.0-beta.15.1 | |
| flarum-subscriptions | v0.1.0-beta.15 | |
| flarum-suspend | v0.1.0-beta.15 | |
| flarum-tags | v0.1.0-beta.15 | |
| flarum-lang-english | v0.1.0-beta.15 | |
| flarum-mentions | v0.1.0-beta.15 | |
| fof-upload | 0.11.3 | |
| fof-nightmode | 0.7.1 | |
| lcinhk-acgembed | v0.5.2 | |
| flarum-akismet | v0.1.0-beta.15 | |
| ffans-lang-simplified-chinese | v0.1.0-beta.15.1 | |
| askvortsov-pwa | v2.0.4 | |
+-------------------------------+------------------+--------+
Debug mode: off
[http@archlinux clinux]$
xkeyC you need to explicitly require minishlink web push v5.2.5
Install minishlink/web-push lower than version 6 first, then try again. I had same problem. Got it fixed that way.
askvortsov Oh! Awesome,it work!
Custom icons not working............
lakshya the icons upload able in this extension are only used inside the actual PWA, iirc. Could you please elaborate as to what part isn't working, and share screenshots if possible?
askvortsov I meant to say...that the icon/badge used to send push notifications to browsers is set to default browser icon....not what i uploaded in PWA......for example its default chrome icon in chrome browser.
lakshya Ah, yeah the icon isn't used for that. Doing a bit more research, this might be possible; I'll investigate a bit more.
askvortsov Will be good if possible.....