README
app hooks
React hooks for creating native feels for web
Why
Web has been evolving fast. PWA is coming closer and closer to native since Trusted Web Activitiy (TWA). It would be great if we can easily make PWA to feels more like native.
This library is a collection for just that encapsulated in React Hooks.
Outline
- useShare
- Hook for OS native share
- useInstall
- hook for controlling and displaying PWA installation prompt.
- usePwa
- Hook for determine open as web or PWA detection.
- useMedia
- Hook for capturing video and audio for Web RTC
- useCaptureImage
- Hook for capture image
- (Best use with
useMedia
hook)
- useBadge
- Hook for controlling app badge