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
- Host: GitHub
- URL: https://github.com/webview-crypto/react-native-webview-crypto-example
- Owner: webview-crypto
- Created: 2016-07-20T02:28:32.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-28T18:10:46.000Z (almost 10 years ago)
- Last Synced: 2025-02-15T08:17:05.590Z (over 1 year ago)
- Language: Objective-C
- Size: 89.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).