You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
def test_pfcm_send_topic_include_not2():
message_title = "topic"
message_body = "{} body of message".format(datetime.datetime.now())
fsmapi = FcmAPI(project_name, private_file)
pfcm = Pfcm(fsmapi)
topic = "!('test' in topics)"
results = pfcm.send_msg(
topic_condition=topic,
message_title=message_title,
message_body=message_body)
for result in results:
print(result)
assert not "error" in result
print the playload json: I already send email to firebase support(They said they are confirm it and need to wait to fix but don't know when)
'{"message": {"notification": {"title": "topic", "body": "2018-03-27 12:24:23.399014 body of message"}, "condition": "!(\'test\' in topics) && (\'test2\' in topics)"}}'
I have a lib https://github.com/jiamo/pfcm to use firebase cloud message.
Got error:
print the playload json: I already send email to firebase support(They said they are confirm it and need to wait to fix but don't know when)