saycel / webph.one

The SayCel Webph.one - An App for Community Cell Networks
GNU Affero General Public License v3.0
11 stars 6 forks source link

Receive notification for new message #128

Closed rodrigomonelos closed 6 years ago

sanchi commented 6 years ago

Currently, a MESSAGE coming in for an offline user sends the same call-incoming push notification as a Call. This should probably be changed so that the app notifications can be specific (e.g. directly show the contents of the Text).

gmarcos87 commented 6 years ago

HI @sanchi, Can you change the payload you send?: 'payload': { 'action': 'sms-incoming', 'from': '99910012345', 'content': 'hello world!' }

sanchi commented 6 years ago

ok, I have changed it

gmarcos87 commented 6 years ago

Works.