Yes you can do that.
In order to restrict redirection go to
Admin -> Configure -> PWA.
Scroll down and uncheck the option of Redirect user to PWA if using mobile devices.
Do one thing.
use manual method to install as on package org the package is updated for 1.3.0
use this method
I just tested and fond this issue. I raised it and also informed to concerned developer. This bug will be fixed very soon.
You can put svg file to this directory.
package name -> Resources -> assets -> images -> icon.svg
After that make a css class in scss file. And use background: url(); to call your svg file.
Later use that css class in menu.php or anywhere else you want.
The Push Notification is only available only for Bagisto PWA as of now.
If you want to make it for Bagisto as well. You'll have to make it from scratch.
You can use this guide: https://firebase.google.com/docs/cloud-messaging/js/client
Partially it is fixed. You can use topic and Legacy Server Key from the admin panel.
For rest of the credentials, you can add the to code for now.
2. service worker.js
Line: 201-207, 212.
Than run "php artisan vendor:publish --force". This will publish your assets to public folder. That's it.
We are working on firebase configuration and fixing PWA Push Notifications.
What you have to do is:
Step 1: Go to config/app.php and look for
"Webkul\Discount\Providers\DiscountServiceProvider::class," under providers array.
Step 2: Remove it.
Step 3: Go to composer.json in the root directory and look for
"Webkul\Discount\": "packages/Webkul/Discount/src", under psr-4
Step 4: Remove it
Step 5: Again Go to config/app.php and add these under providers array.
Step 6: Now Go to composer.json again in the root directory and add these under psr-4
Step 7: Run php artisan vendor:publish --force
Step 8: Run composer dump-autoload.
It will work. Just follow these simple steps:
After that run php artisan migrate and it will migrate your tables.
Feel free to revert back in any kind of confusion or query.