An open API service indexing awesome lists of open source software.

https://github.com/webview-crypto/react-native-webview-crypto-example


https://github.com/webview-crypto/react-native-webview-crypto-example

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# Example for `react-native-webview-crypto`

This repo serves as an example usage and
end to tend test of [`react-native-webview-crypto`](https://github.com/saulshanabrook/react-native-webview-crypto).

## Install

1. [Get setup with React Native](https://facebook.github.io/react-native/docs/getting-started.html)
2. `npm install`

## Usage

Simple run `./node_modules/.bin/react-native run-ios` and click on the `None` text. It should then
executes the code for [this tutorial](https://coolaj86.com/articles/webcrypto-encrypt-and-decrypt-with-aes/),
encrypting and decrypting with AES. If it is successful, it should display
`This is very sensitive stuff.` at the end. It should work with the debugger
both on and off

### Cavets
This isn't working on the latest version of React Native or Android
because [`react-native-webview-bridge` has not been updated for that yet](https://github.com/alinz/react-native-webview-bridge/issues/111#issuecomment-232780632).