Hello, this is likely some kind of cacheing issue and simply clearing the cache or disabling it, updating the setting, then enabling it should fix it.
It turns out that I had to reenter the REST API key before it would let me save the option to enable Mobile app. Everything is working now
It seems that this setting does not persist. I reenter the API key and it allows me to save “Send notification to Mobile app subscribers,” but then after a reboot of the server the setting is unchecked again.
“It seems that this setting does not persist. I reenter the API key and it allows me to save “Send notification to Mobile app subscribers,” but then after a reboot of the server the setting is unchecked again.”
I have the same issue. It’s annoying. After 7 days this checkbox will be disabled.
I see that this setting is saved in the database as OneSignalWPSetting “send_to_mobile_platforms”.
You can change the fragment from “send_to_mobile_platforms”;i:0 to “send_to_mobile_platforms”;i:1 in the database
Or modify php code in onesignal-notification.php to “== 0”
if (get_option('OneSignalWPSetting')['send_to_mobile_platforms'] && get_option('OneSignalWPSetting')['send_to_mobile_platforms'] == 0) {
-
This reply was modified 2 months, 2 weeks ago by
enforces.
Thank you. That seems to work for now.
The bug relating to persistence still exists in 3.0.6.
Hi there,
We just released version 3.1.0 of our wordpress SDK and it should fix these issues.
Full details on our Github:
https://github.com/OneSignal/OneSignal-WordPress-Plugin/releases/tag/v3.1.0
Can you please upgrade and let us know if you are still having problems with this?
Thank you again for your patience!