Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send notifications to mobile application #17

Open
lexcorp opened this issue Aug 3, 2017 · 7 comments
Open

Send notifications to mobile application #17

lexcorp opened this issue Aug 3, 2017 · 7 comments

Comments

@lexcorp
Copy link

lexcorp commented Aug 3, 2017

Hi Edgar,

This notifications are send to mobiles?

@edgardmessias
Copy link
Owner

Not currently.

For this it is necessary to work with webworker (Only with HTTPS)
Or use third party service to push notification

@lexcorp
Copy link
Author

lexcorp commented Aug 4, 2017

Hello Edgard,

Will you have any examples that you can share? I currently have a development environment with SSL configured.

@edgardmessias
Copy link
Owner

@edgardmessias
Copy link
Owner

Alternative: https://onesignal.com/

@lexcorp
Copy link
Author

lexcorp commented Aug 9, 2017

Hi Edgar,

I was analyzing the code of the plugin, since I intend to send notifications mobile devices, I have a couple of doubts:

Have you created new tables or fields in existing GLPI tables?

When I login with a user and receive a notification, how do you manage that the notification is no longer displayed?

Could you help me with these doubts?

@edgardmessias
Copy link
Owner

Have you created new tables or fields in existing GLPI tables?

No, I only use SQL to return the list

When I login with a user and receive a notification, how do you manage that the notification is no longer displayed?

I use the localStorage of the browser, to save the last identifier shown

For your case, I would recommend working with the hooks ("item_add", "item_update", "item_delete", .....)

@lexcorp
Copy link
Author

lexcorp commented Aug 9, 2017

Thank you very much Edgard...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants