FormidableLabs/victory-uiexplorer-native

Name: victory-uiexplorer-native

Owner: Formidable

Description: A React Native app for iOS and Android that showcases Victory Native components

Created: 2016-09-07 01:29:43.0

Updated: 2018-01-12 08:46:25.0

Pushed: 2017-11-10 23:33:55.0

Homepage:

Size: 9661

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.

UIExplorerExamples

Release
Android
Setting up gradle variables (first time only)

Get release keystore and password from Formidable password safe, and follow instructions from Generating Signed APK:

  1. Place the victory-uiexplorer.keystore file under the android/app directory in your project folder.
  2. Edit the file ~/.gradle/gradle.properties and add the following (replace ***** with the correct keystore password, alias and key password),
ORY_UIEXPLORER_RELEASE_STORE_FILE=victory-uiexplorer.keystore
ORY_UIEXPLORER_RELEASE_KEY_ALIAS=victory-uiexplorer
ORY_UIEXPLORER_RELEASE_STORE_PASSWORD=*****
ORY_UIEXPLORER_RELEASE_KEY_PASSWORD=*****
Create release build
ndroid && ./gradlew assembleRelease
Test release build locally
  1. Ensure that your emulator is running or device is connected.
  2. Remove development builds of the app from the device.
  3. react-native run-android --variant=release

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.