Summary: Some more minor cleanups that don't (well, barely) affect semantics. - Fix singleton management in multi-threaded environments. - Remove double assignment. - Make all things final where they can be. - Use ugly Hungarian notation. - Weaken some types. Reviewed By: mweststrate Differential Revision: D19471227 fbshipit-source-id: 18833c3fe940f51b8d4cb3948a63387b8cd9316c
README
If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm:
- Be sure to have the Android SDK and NDK installed
- Be sure to have a
local.propertiesfile in this folder that points to the Android SDK and NDK
ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/{username}/Library/Android/sdk
- Delete the
mavenfolder - Run
./gradlew installArchives - Verify that latest set of generated files is in the maven folder with the correct version number