W
W
whiteleaf2017-10-22 22:44:45
Angular
whiteleaf, 2017-10-22 22:44:45

PWA + Angular4?

Tell me, please,
will push-up notifications work on mobile phones if the site is developed using progressive web app technology? If you save a link to the application on the home screen.
And how is the data registered in the local storage? Will they be encrypted, or open to curious users? If they are not encrypted, then how can you protect yourself and your data so that they are both protected and not available for viewing by unauthorized people.
And is one common service worker created for the entire site, or does each section need a separate one? What is the best and correct way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sasha Novik, 2017-10-23
@whiteleaf

1. Push notifications are one of the main points of PWA. And offline too. Here's some good stuff to try https://github.com/eveness/web-push-api
2. Data is stored in much the same way as cookies or sessions. The user can view them. Here is a good material on SW security https://www.chromium.org/Home/chromium-security/se...
3. You can create as many workers as you like, you can specify the url-scope by which the worker is available. It's better to start with one.
Here is a checklist to understand what characteristics a PWA should have: https://developers.google.com/web/progressive-web-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question