A base64 library with android and iOS native tests.
First, setup the package:
yarn
(cd example && yarn)
To run all tests:
(cd android && ./gradlew clean build)
To run only the linter:
(cd android && ./gradlew ktlintCheck)
To fix the linter:
(cd android && ./gradlew ktlintFormat)
To run only the tests:
(cd android && ./gradlew testDebugUnitTest)
Open the example project in Xcode xed example/ios
and run the tests from Test explorer.
npm install react-native-tested-base64
import { encode } from 'react-native-tested-base64';
// ...
const result = await encode('my string');
const decoded = await decode(result);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library