1

Send mobile notification enhanced

(edited by hasan.ahmed 03/06/2019 21:31:02)

Topic: Send mobile notification enhanced

Hi GURTAM

today a customer asked me to activate mobile notification to a new user that he created, the account had like 15 notification so i had to modify each one individually and select send mobile notification and check the new user.



my idea is that there sholud be an option in the user setting that chooses which notification should be sent to the user and which is not.


in this case if a new user was created, i will only adjust the setting once instead of 15 .


Regard

2

Send mobile notification enhanced

Re: Send mobile notification enhanced

Dear hasan.ahmed

I want to share with you the way I would solve this problem. I say at once that this is not a user-friendly way. It is easy if you are not afraid of code and raw data.
The steps are the following:
1. Export to WLP all notifications, that you want to edit.
2. Open the file
There you can find parameter like this

"p":{  
        "apps":"{\"Wialon\":[763000]}"
       },

That means "send push notification to Wialon app to the user with ID 763000".
3. Add to all brackets new user or just replace bracket content to a new one. Eg. replace 763000 to 763660,1260000
You can get user IDs by SDK or just edit manually one notification and take the updated parameter from it.
4. Import edited file back.

I understand that this way is not for a common user, but it works now (I've checked), and you can edit in a couple of minutes hundreds of notifications.

I'll add your case to the backlog, we will try to find a more friendly solution in the future.

Tatsiana Kots
Business Analyst, Gurtam
Join our Telegram Update Channel | Следите за обновлениями на нашем Telegram канале
3

Send mobile notification enhanced

Re: Send mobile notification enhanced

what will happen to the old notification after i import the new one?

overwrite of duplication?

4

Send mobile notification enhanced

Re: Send mobile notification enhanced

i tested it, thanks