AnimateItNow now supports Progressive Web App (PWA) functionality!
- Defines app metadata, icons, and display settings
- Enables "Add to Home Screen" functionality
- Configures app appearance and behavior
- Enables offline functionality
- Caches static assets for faster loading
- Provides background sync capabilities
- Handles app updates
- Smart install button that appears when installable
- Cross-platform installation instructions
- Update notifications
- Install status detection
- Multiple icon sizes for different devices
- Optimized for various display densities
- Maskable icons for adaptive icon support
Replace the placeholder icons with actual app icons:
cd images/icons
# Follow the README.md in that directoryAdd app screenshots for app stores:
- Desktop screenshot (1280x720):
images/screenshots/screenshot-wide.png - Mobile screenshot (640x1136):
images/screenshots/screenshot-narrow.png
The main HTML files need PWA meta tags. Run:
node update-html-files.js- Serve the site (use a local server)
- Open Chrome DevTools β Application β Manifest
- Check "Service Workers" tab
- Test "Add to Home Screen" functionality
β Installable: Users can install the app like a native app β Offline Support: Core functionality works without internet β Fast Loading: Assets are cached for quick startup β Auto Updates: App updates automatically in background β Cross Platform: Works on desktop, mobile, and tablets β App Shortcuts: Quick access to Templates and Contributors β Responsive: Adapts to different screen sizes and orientations
- β Chrome/Edge (full support)
- β Firefox (good support)
- β Safari (basic support)
- β Samsung Internet (full support)
Run a Lighthouse audit to verify PWA compliance:
- Open Chrome DevTools
- Go to Lighthouse tab
- Select "Progressive Web App"
- Run audit
- Install Test: Check if install prompt appears
- Offline Test: Disconnect internet and test functionality
- Update Test: Deploy changes and verify update mechanism
- Icon Test: Check app icon on home screen
When deploying to production:
- Ensure HTTPS is enabled (required for PWA)
- Update manifest start_url if deploying to subdirectory
- Update service worker cache URLs if needed
- Test on actual devices for best results
Great job adding PWA support! π