@fonderie/react-native-media
v0.1.3
Published
React Native media hooks for Fonderie — re-exports @fonderie/react-media (no platform-specific code: FileReader/Blob exist on both).
Maintainers
Readme
@fonderie/react-native-media
React Native media hooks for Fonderie — useUploadAvatar, useUploadMedia,
useDeleteMedia.
This package re-exports @fonderie/react-media wholesale.
Media hooks have no platform-specific behavior: they own no storage (they read
the token @fonderie/auth set on the shared FonderieClient), and the
file→base64 step uses FileReader/Blob, which exist on both web and React
Native. See the @fonderie/react-media README for usage.
Install
npm install @fonderie/react-native-mediaimport { useUploadAvatar } from '@fonderie/react-native-media';