• Resolved junpeizaki

    (@junpeizaki)


    Hi,

    I am experiencing an issue where OneSignal sends a push notification when I save the post as a Draft in the WordPress editor. This, of course, sends a notification to a Post that is not yet published which is obviously less than ideal.

    The issue currently only seems to occur when I have “Automatically send a push notification when I create a post from the WordPress editor” enabled.

    I am using OneSignal ver 1.17.4 and WordPress ver 5.2.1

Viewing 10 replies - 1 through 10 (of 10 total)
  • @junpeizaki ,
    Sorry to hear you’re encountering this issue. Are you using Gutenberg or Classic editor? Furthermore, what WordPress theme are you using?

    Best,
    The OneSignal Team

    Thread Starter junpeizaki

    (@junpeizaki)

    @onesignal

    I’m using the WordPress Classic Editor plugin ver 1.5
    The theme I am using is Newspaper By tagDiv Version: 9.6.1

    Thanks.

    Hello,
    Could you please send us the entire list of plugins you are using as well? I haven’t been able to reproduce.

    Thanks,
    The OneSignal Team

    Hello again,
    Could you please do a manual install and test this special version of the plugin aiming to fix the scheduling bug? https://github.com/OneSignal/OneSignal-WordPress-Plugin/archive/1.17.6.zip
    Best,
    The OneSignal Team

    Looks good for me for now. I deactivated the old plugin and installed the new one. I tried it with a scheduled post and this was the notification I received that sounds like it’s working to me:

    OneSignal Push: Please try again in 1 seconds. Only one notification can be sent every 1 seconds.
    OneSignal Push: Successfully scheduled notification to 118 recipients.

    FWIW here’s my configuration:

    Theme: Mantra Version: 3.2.0 By Cryout Creations
    WordPress: Version 5.2.1
    PHP: 7.2
    Plugins:
    Add From Server
    Akismet Anti-Spam
    AMP
    Child Theme Generator
    Classic Editor
    Cryout Serious Theme Settings
    Default featured image
    Disable Real MIME Check
    Duplicate Post
    Easy Google AdSense
    EasyRecipe Plus
    Fast Velocity Minify
    Featured Image Admin Thumb
    Font Organizer
    GA Google Analytics
    Glue for Yoast SEO & AMP
    Image Auto Poster
    Ivory Search
    Jetpack by WordPress.com
    My Calendar
    OneSignal Push Notifications
    Pinterest Pin It Button On Image Hover And After Post & Page Content
    SSL Insecure Content Fixer
    Webcraftic Clearfy – WordPress optimization plugin
    WP Database Backup
    WP Extended Search
    WP Featherlight
    WP Super Cache
    WPMobile.App — Android and iOS Mobile Application
    Yoast SEO

    Thread Starter junpeizaki

    (@junpeizaki)

    Hi sorry for the late response.

    I installed the build you sent but unfortunately it didn’t seem to work – OneSignal still sent out notifications.

    Here are all the plugins I currently use.

    AMP
    BackWPup
    Classic Editor
    Contact Form 7
    Gmail SMTP
    OneSignal Push Notifications
    Revive Old Posts
    Revive Old Posts Pro Add-on
    Simple Revisions Delete by b*web
    tagDiv Composer
    tagDiv Mobile Theme
    Webcraftic Disable Admin Notices Individually
    Yoast SEO

    Could you please either:
    1) Take a look at your logs
    2) Debug with Gutenberg

    So we can better understand what can be happening?

    Best,
    OneSignal Team

    Thread Starter junpeizaki

    (@junpeizaki)

    Hi

    I uploaded an unlisted screen-recording of the issue I am experiencing to YouTube. (At the time of writing the video can only be viewed at 360p as higher resolutions have yet to be processed)

    Video: https://www.youtube.com/watch?v=cVf97pgaHlw

    As far as I can see the console doesn’t seem to be working the way it should base on what I read at Debug with Gutenberg

    Thanks for the video. It looks like you’re using the Classic Editor so you will need to switch to the Gutenberg editor if you want to debug with it. Also, I think you may see the issue go away if you switch to the Gutenberg editor. Please let us know if this works for you.

    Best,
    The OneSignal Team

    Thread Starter junpeizaki

    (@junpeizaki)

    Hi

    I tested OneSignal with the Classic Editor Plugin disabled (i.e. The standard Gutenberg Editor) but OneSignal still sent out push notifications… Have you got any other ideas as to what could potentially be the cause?

    • This reply was modified 5 years, 8 months ago by junpeizaki.
    • This reply was modified 5 years, 8 months ago by junpeizaki.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Push Notifications Sent on “Save Draft”’ is closed to new replies.