Skip to content

Latest commit

 

History

History
 
 

frontend

SPR UI

The UI is built with React Native and Native Base.

Build status

dev: action workflow

main: action workflow

Running

To test locally:

yarn dev

You can point it to your SPR instance with the REACT_APP_API variable:

REACT_APP_API=http://192.168.2.1 yarn start

If you want to use the MockAPI (with only a frontend and no SPR system running):

REACT_APP_API=mock yarn start

iOS version:

yarn ios
# might have to specify iPhone version:
npx react-native run-ios --simulator="iPhone 14"

iOS build

install deps:

yarn setup:ios

open ios/spr.xcworkspace in Xcode && build/run

for testflight we need:

  • production certificate
  • App Store distribution provisioning profile

= same as app store dist