webgev-mobile-template
v3.1.0
Published
Mobile app template for a quick start
Readme
React Native Template
Mobile app template for a quick start
Usage
npx react-native init MyApp --template webgev-mobile-templateSettings
After creating the project, you need to configure:
- In the .env file, specify the
SENTRY_DSNof the project and execute the commandnpx @sentry/wizard -i reactNative -p ios androidselecting your project there - In the .env file, specify the address of your api in
PROD_API_BASE,STAGING_API_BASEandDEV_API_BASE - In the
src/lib/size/size.tsfile, use thesetDefaultWidthfunction to set the screen width according to the design - In the
src/lib/theme/theme.tsfile, set up the theme according to the design
Functionality
Logging
For logging use sentry.io
The form
The formik library is connected for the form
UI components
The library native-base is connected as a UI
API
Graphql with library @apollo/client
