@kimjay112/cipherwire-react-native
v0.1.0
Published
Cipherwire for React Native & Expo: encrypted fetch, provider/hooks and an axios interceptor.
Downloads
159
Maintainers
Readme
@kimjay112/cipherwire-react-native
npx expo install @kimjay112/cipherwire-react-native react-native-get-random-values
# or: npm i @kimjay112/cipherwire-react-native react-native-get-random-values && cd ios && pod installimport { CipherwireProvider, useCipherwire } from '@kimjay112/cipherwire-react-native';
<CipherwireProvider publicKey="cw_pk_…" baseUrl="https://api.example.com">
<App />
</CipherwireProvider>The API is the same as @kimjay112/cipherwire-react, including the axios interceptor. The secure random polyfill is imported for you.
