android - Why does FCM return a 400 error code when I send the JSON message below via a custom Java client -


i sending multiple topics.

  {     "condition": "'used_cars' in topics || 'entertainment' in topics || 'shopping' in topics || 'real_estate' in topics || 'jobs' in topics || 'news' in topics ",     "notification": {         "body": "details test",         "title": "title test",         "icon": "ic_stat_name",         "sound": "default"     },     "data": {         "title": "title test",         "body": "details test"     }  } 

if send 3 topics works fine , can receive notifications on device. json valid.

i think maximum number of terms in condition 5, , have 6. can remove 1 , see if works?

btw: maximum number of terms used 3, if i'm wrong being increased indeed can have no more 3.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -