Victory Native UIExplorer
Victory Native UIExplorer is a React Native app for iOS and Android that showcases Victory Native components. Each example has controls that toggle and animate between sample datasets and other configuration and style properties to give you a taste of what's possible in the Victory Native world of mobile data visualization. The API for Victory Native is identical to Victory, so you can do all the same stuff that you love in the browser on iOS or Android. For more information, check out the Victory docs: http://formidable.com/open-source/victory.
Setting up gradle variables (first time only)
Get release keystore and password from Formidable password safe, and follow instructions from Generating Signed APK:
- Place the
victory-uiexplorer.keystorefile under the
android/appdirectory in your project folder.
- Edit the file
~/.gradle/gradle.propertiesand add the following (replace
*****with the correct keystore password, alias and key password),
VICTORY_UIEXPLORER_RELEASE_STORE_FILE=victory-uiexplorer.keystore VICTORY_UIEXPLORER_RELEASE_KEY_ALIAS=victory-uiexplorer VICTORY_UIEXPLORER_RELEASE_STORE_PASSWORD=***** VICTORY_UIEXPLORER_RELEASE_KEY_PASSWORD=*****
Create release build
cd android && ./gradlew assembleRelease
Test release build locally
- Ensure that your emulator is running or device is connected.
- Remove development builds of the app from the device.
react-native run-android --variant=release