kv-netflix/frontend/public/js/capacitor-mock.js
Khoa.vo 00ccf95cae v1.0.6: Image optimization, navigation fixes, PWA improvements
- Optimized mobile image loading (180px vs 200px desktop)
- Fixed Install App navigation not working on desktop
- Fixed replaceChild null error in hero rendering
- Added PWA icon (512x512)
- Fixed back button navigation issues
- Added mobile bottom padding for nav bar
- Moved Get App FAB higher to avoid nav overlap
- Removed unnecessary pushState from video navigation
- Made Search/MyList tabs not scroll to top on mobile
- Removed duplicate Android TV section from download page
2025-12-24 12:21:34 +07:00

25 lines
630 B
JavaScript

// Mock Capacitor Plugins for Browser/Dev Mode
export const StatusBar = {
setStyle: async () => { },
setBackgroundColor: async () => { },
show: async () => { },
hide: async () => { },
Style: { Dark: 'DARK', Light: 'LIGHT' }
};
export const Style = { Dark: 'DARK', Light: 'LIGHT' };
export const Haptics = {
impact: async () => { },
vibrate: async () => { },
notification: async () => { },
selectionStart: async () => { },
selectionChanged: async () => { },
selectionEnd: async () => { }
};
export const ImpactStyle = {
Heavy: 'HEAVY',
Medium: 'MEDIUM',
Light: 'LIGHT'
};