Ah, I think the delegate is the issue; because it lacks the FCM topic code from Android SDK



On Friday, 22 July 2016, mischa <mischa.neumann@init.de> wrote:
Matthias Wessendorf wrote
> when you say 4 devices - out of 10 are receiving notifications:
> are that all 3 ios devices, and just one Android device?
>
> what version of the Android SDK are you using ?

yes, you are right, now:
- we have 26 android and 5 ios devices, all registered to the category
"PRODUCTS"
- {"message":{"alert":"unit-test alert
message","badge":-1,"priority":"NORMAL","windows":{"type":null,"duration":null,"badge":null,"tileType":null,"toastType":null,"images":[],"textFields":[],"page":null},"apns":{"content-available":false},"user-data":{"warningId":12}},"criteria":{"categories":["PRODUCTS"]},"config":{"ttl":-1}}
is delivered to 6 devices (5 ios and 1 android)

the devices are not registering themselves at the UPS but the backend server
does this as a delegate.
sample from unit test:

>> "Authorization: Basic ZjJl..."
>> "{"alias":"42","categories":["FOOD","PRODUCTS"],"deviceToken":"aaaaaaaa
>> aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa 302087"}"

<<
"{"id":"6b186514-f0d7-461a-b996-b6efee732a04","enabled":true,"deviceToken":"aaaaaaaa
aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa aaaaaaaa
302087","deviceType":null,"operatingSystem":null,"osVersion":null,"alias":"42","categories":[{"name":"PRODUCTS"},{"name":"FOOD"}],"platform":null}[\r][\n]"

--> works like a charm

Mischa




--
View this message in context: http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-broken-push-notification-in-UPS-1-1-3-Final-tp12629p12638.html
Sent from the aerogear-dev mailing list archive at Nabble.com.
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev


--
Sent from Gmail Mobile