From the root project, run:
# Setup the library
npm install
npm run build
npm link
# Link it to the example
cd examples/react
npm install
npm link @psyycker/react-translation
# Start the example
npm startExpo for some reason is unable to resolve the library if doing a link or use "file:../.."
The solution is instead to pack the lib as a tgz and use it instead
This is for development only. The library itself works.
# Setup the library and pack
npm install
npm run build
./pack-for-expo.sh
# Setup the expo project
cd examples/reactnative
npm install