We use Google notifications server. All the delays might be caused by them.
The pop-up alerts overwrite all of your notifications settings only when the app is open. We will change it over time to our custom internal messages. Banners are prohibited by Apple when app is open.
Check your notifications settings, my iPhone gets them on the lock screen and when the phone is off. I even get them on the Apple watch.
I wonder if this will work in mainland China. Every piece of code related to google is blocked here. The recent change in structure aat google becoming a part of Alphabet.inc was caught up really quickly here. The website was already blocked on the same day. I was using google app engine before, It cannot be accessed anymore unless you have VPN.
I will test PN function soon. And keep you posted. Got a lot to discuss as you mentioned earlier.
Oh⦠So not really something that will be an easy fix?
With the cloud based server Iām getting delays of up to 4 seconds from the time of pressing the button on the dash to when the device reacts and starts the activity, with the local server its around 80-100ms response, thus for me using the local server is quite crucial.
You mean delays for PN? In that case it doesnāt matter local server or not. Cause this is google servers itself provides a delay. For Android it works well but for iOS for some reason there are delays.
No, not on the PN, on normal operating conditions:
i.e. if i press the button on the Dashboard ā send High to the Primary Arduino ā High via Bridge to Secondary Arduino ā Open Relay via Cloud server takes about 4 seconds, via local its āinstantā
I expect the traffic for the example would look something like:
Mobile Device app ā Cellular Service Provider ā Cloud Server ā Fixed Line Service Provider (DSL) ā Arduino #1 ā Fixed Line Service Provider (DSL) ā Cloud Server ā Fixed Line Service Provider (DSL) ā Arduino #2
Compared to local:
Mobile Device app ā Cellular Service Provider ā Fixed Line Service Provider (DSL) ā Arduino #1 ā local Server ā Arduino #2
Ah, Ok. for that case yes - local server would be the best option. Regarding PN on local server⦠Well, I could implement it very quickly for Android and it will work. But with iOS it is not so simple.
Its the problem with policy here. Actually no google product is available. The Great Chinese Firewall blocks everything. I might have a solution, maybe you can PM me
For some reasonā¦Notifications were working much better tonightā¦Until I shut down the Blynk App.
QUESTION: Does the app need to be open to receive notifications? (iOS)
This is all just a test playgroundā¦
iOS, Arduino Uno, SeeedStudio Ethernet Shield V2.0
I have 3 LEDs, 2 PWM LEDs, 4 Relays, a DHT11 Temp sensor, and I have the receiving end of a wireless doorbeel attached to my arduinoās pin 19. See doorBell function.
Thanks for looking.
Test complete. Same results for all. (Ignoring the delays from Google, there may be slight delays from the delays that are there as a debounce for the doorbell).
Notify below the LED blink commands:
- Works when app is running.
- Doesnt work when app is closed.
Notify on top of the LED blink commands:
- Works when app is running.
- Doesnt work when app is closed.
Notify without the LED blink commands (No delay debounce):
- Works when app is running.
- Doesnt work when app is closed.
Though these results are sadly consistent, the Google service is much too inconsistent, making it unusable for certain applications.
Iām hoping there is a fix for my notifications not working when the app is closed.