Juan David Maldonado
Fullstack Software Developer, Lover of Google Technologies. Trilingual
PWA
@jdmaldonado06
Juan David Maldonado G.
https://jdmaldonado.com.co
Social
Business
jdmaldonado
jdmaldonado06
jdmaldonado06
Command line
Web
FrontEnd
Vue JS
Angular
React JS
SPA
Backend
Node JS
C# .Net
Java
PHP
As a service
Firebase
Native
Hybrid
Native vs Hybrid
Native vs Hybrid
Progressive Web Apps
Web
PWA
Native
Device | Tinder | |
---|---|---|
Android | 22 MB | 130 MB |
iOS | 114 MB | 178.4 MB |
PWA | 0.25 MB | 0.2 MB |
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('/sw.js')
.then(function (registration) {
// Registration was successful
console.log('Successful', registration.scope);
}).catch(function (err) {
// registration failed :(
console.log('Failed: ', err);
});
});
}
{
"name": "My PWA",
"short_name": "My PWA",
"start_url": "index.html",
"display": "standalone",
"icons": [{
"src": "assets/imgs/icon.png",
"sizes": "512x512",
"type": "image/png"
}],
"background_color": "#4e8ef7",
"theme_color": "#4e8ef7"
}
https://console.firebase.google.com/
https://ionicframework.com/getting-started#cli
https://onesignal.com/
By Juan David Maldonado
Fullstack Software Developer, Lover of Google Technologies. Trilingual