webgev-mobile-template
v3.1.0
Published
Mobile app template for a quick start
Downloads
142
Readme
React Native Template
Mobile app template for a quick start
Usage
npx react-native init MyApp --template webgev-mobile-template
Settings
After creating the project, you need to configure:
- In the .env file, specify the
SENTRY_DSN
of the project and execute the commandnpx @sentry/wizard -i reactNative -p ios android
selecting your project there - In the .env file, specify the address of your api in
PROD_API_BASE
,STAGING_API_BASE
andDEV_API_BASE
- In the
src/lib/size/size.ts
file, use thesetDefaultWidth
function to set the screen width according to the design - In the
src/lib/theme/theme.ts
file, 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