• Resolved joyeux86

    (@joyeux86)


    Hello,
    This plugins seems great and comlplete.
    However, I have installed it and activate for network multisite.
    I have configured the Firebase credentials.
    The service worker is active on firefox and Chrome, but from admin interface, I get no "No devices registered" so I cannot send Notification.

    • This topic was modified 6 years, 7 months ago by joyeux86.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Nico Martin

    (@nico_martin)

    Hi @joyeux86

    Yes, thats right. To receive push notifications you have to manually accept that.
    In other words as long as there are no devices registered, you won’t be able to send notifications.

    The plugin has a built in JavaSCript-function to register your device pwpRegisterPushDevice();.
    You can create your own push registration button (https://github.com/SayHelloGmbH/progressive-wordpress#push-notifications-1) or you could use the built in Button (“Push notifications” -> “Push Button” -> ”
    Add notification button”).

    I hope that helps ??

    Kind regards,
    Nico

    Thread Starter joyeux86

    (@joyeux86)

    Hi Nico,

    Thanks for this response, you’re right : enabled the checkbox “Add notification button” and I could send notifications. Great support !

    It’s currenlty not working on iOS, but it should be the old version of my safari browser.

    Now, I have a last question about the installable manifest.

    From my samsung 8 device, when I reach the website, I am not prompted to install the app in the homescreen.
    Do you know why, even if I have enabled the option in your plugin from Installable > Enable installation ?

    Regards,
    Yohann

    • This reply was modified 6 years, 7 months ago by joyeux86.
    Plugin Author Nico Martin

    (@nico_martin)

    Hi Yohann

    I’m glad to hear it works!
    Yes, iOS does not support web push notifications at all. I hope they will change that in the future.

    On the “Progressive WP -> Installable” Settings page you should add an Icon which should be a PNG and at least 144px (i recommend something around 500x500px).

    Kind regards,
    Nico

    • This reply was modified 6 years, 7 months ago by Nico Martin.
    Thread Starter joyeux86

    (@joyeux86)

    Thanks Nico for this quick answer.

    I have added a picture, my manifest is now updated :

    {
    “name”:”startup me”,
    “short_name”:”startupme”,
    “start_url”:”./”,
    “description”:”startup-me, wordpress and online editor elementor for amazing site creation”,
    “theme_color”:”#f27157″,
    “background_color”:”#ffffff”,
    “display”:”standalone”,
    “lang”:”en_US”,
    “orientation”:”portrait”,
    “icons”:[
    {
    “src”:”/wp-content/uploads/2018/08/background-ico-128×128.png”,
    “type”:”image/png”,
    “sizes”:”128×128″
    },
    {
    “src”:”/wp-content/uploads/2018/08/background-ico-192×192.png”,
    “type”:”image/png”,
    “sizes”:”192×192″
    }
    ],
    “gcm_sender_id”:”xxxxxx”
    }

    If I use the “add to homescreen” shortcut, the manisfest works properly.
    But from my device; it does not suggest “Would you want to add to homescreen” automatically.
    Any idea? What is the behaviour from our device side?

    Plugin Author Nico Martin

    (@nico_martin)

    Hi Yohann

    I tested it and it worked fine for me. It meets all the criteria and I got the mini-info bar for chrome.
    https://developers.google.com/web/fundamentals/app-install-banners/
    So in my opinion all works as it should.

    Kind regards,
    Nico

    Thread Starter joyeux86

    (@joyeux86)

    Hi Nico,

    Ok, may be there is some browser/OS cache because I always use the same device and url. Anyway, if it’s working for you, this is because it’s working fine ??

    I would like to thank you for you support and the quick answers, even saturday !

    I will add your plugin to my website, with a special thanks for it on homepage.

    Have a good Day,
    Yohann

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No devices registered’ is closed to new replies.