0

Android and iOs push error

Gruyère Energie SA 4 years ago in bOS Client updated by Ricardo Pinto | visiontech pt 4 years ago 6

Hello,

From somes days the push notification not working and I have this error into the event list.

Devices : 18.08.2020 17:26:51 : Error : General\Messaging : Android push error. Une ou plusieurs erreurs se sont produites. à System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
à System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
à System.Threading.Tasks.Task`1.get_Result()
à BOSServer.Cloud.ServerCloudClient.SendNotificationAndroid(String gcmToken, String messsage)
à BOSServer.BOSServerMain.SendNotificationAndroid(String token, String text)
à BOSGeneral.Drivers.Common.AndroidQueueObject.Send(NodeHost host, Messaging messaging)

The problem apear for iOS and Android.


Notifications worked until a week ago and I have nothing change on the server since.

Any idea ??

Best regards

Hello,

did you try re-adding the message tasks you have created and see if it works?

Best regards.

I try to creat a new push notification but the problem is the same

Hi,

For me the push notifications are working ok!

Just a question:

When I receive a push notification, unfortunately I only can see the latest notification. The most recent notification actually overrides the last one. Let me explain:

Let's say I have a notification for 2x different temperature changes (like two different locations).

I get the 1st temperature change and I get the notification on the phone. Then suddenly I get the 2nd temperature notification, and the 1st one disappears. So I can only get to read the latest, which in turn is bad because I lost the previous notifications, so I can't read them on the phone. I only get the latest on the notification bar. So in practice, I can't create different notifications because the latest will always override the other ones.

On other apps, where I get also push noticications, every notification is treated as a different one, so if I get 4 notifications I get 4 separators of the same notification.

Is it just me? This happens on my Huawei P9, a Huawei MediaPad M5, and an old iPad2.

Best regards

At least on Android it looks like the bOS notification is not using unique identification id's for each notification, or the most recent group notifications implementation from Android SDK.

As for iOS I can't comment on that.


It would be cool if the different notifications could be treated individually, rather that overriding the previous ones. I know that they are logged on the app, but on the Android notifications bar only the last one prevails.

Just saying...

Best regards

I  founded the problem. The IP adress of the bOS server is set to static. When I set to DHCP the notification work fine.

I suspect a problem on my network with my old router.

Glad you solved it out.

Nonetheless, we're still facing the single push notification issues.

When receiving different push notifications, only the last one is actually listed on the phone notification bar, so the last notification overrides the other ones.

Can the team check this, and eventually add it to a future release?