Clone this repository and import into Android Studio
git clone https://github.com/thebigshotsam/Agro.git
Check out the video of what is Kronia and how it works here: https://drive.google.com/file/d/1D2Hb0gD__yu_bjLrxsbiCLj2GT-6Nd4t/view?usp=sharing
Download the app: https://drive.google.com/file/d/11g6SQpSv4O7lo9cWtr-7e8M1FVO3nx2y/view?usp=sharing
Check out our Machine Learning and Backend implementation: https://github.com/KroniaPytorch/KroniaModels
https://reactnative.dev/docs/environment-setup
Kronia is an agritech android mobile application that works to automate the existing farming practices and agriculture methodologies, leveraging the potential of computer vision and AI built on top of Pytorch framework.
- "@react-native-community/art": "^1.2.0",
- "@react-native-community/geolocation": "^2.0.2",
- "@react-native-community/masked-view": "^0.1.11",
- "@react-native-firebase/app": "^12.9.2",
- "@react-native-firebase/auth": "^12.9.2",
- "@react-native-firebase/database": "^12.9.2",
- "@react-native-firebase/storage": "^12.9.2",
- "axios": "^0.23.0",
- "galio-framework": "^0.8.0",
- "react": "17.0.2",
- "react-native": "0.66.1",
- "react-native-camera": "3.40.0",
- "react-native-elements": "^3.4.2",
- "react-native-geolocation-service": "^5.3.0-beta.3",
- "react-native-gesture-handler": "^1.10.3",
- "react-native-get-location": "^2.1.2",
- "react-native-image-picker": "^4.1.2",
- "react-native-indicator": "^1.2.2",
- "react-native-location": "^2.5.0",
- "react-n ative-material-ripple": "^0.9.1",
- "react-native-modal": "^13.0.0",
- "react-native-paper": "4.9.1",
- "react-native-reanimated": "1.13.2",
- "react-native-safe-area-context": "3.2.0",
- "react-native-screens": "3.3.0",
- "react-native-sliding-up-down-panels": "1.0.0",
- "react-native-status-bar-height": "^2.6.0",
- "react-native-svg": "^12.1.1",
- Clone or download this repo.
- This app runs off a Firebase backend. It uses realtime firebase database and authentication api's.
- The database rules and storage rules can also be imported into Firebase, those files are also located in the server folder. (For more info on getting your own server up and running, check outhttps://reactnative.dev/
- There is google-services.json file inside app directory to use with the app. It is used to configure firebase with the react native modules and links it with the native modules of the android.
- If you wish to build a release version you will need to create your own keystore file and edit the password values in the following file - (create a version of the file without the .sample extension): release-keystore.properties.sample
- Write yarn install on the terminal in the project directory
Use the Android Studio with debug and release build types
- run yarn android for building debug apk and then executing it on via metro server of react native by entering yarn start.
- run cd android to navigate to android directory and then run ./gradlew assembleRelease to build signed apk
From Android Studio:
- Build menu
- Generate Signed APK...
- Fill in the keystore information (you only need to do this once manually and then let Android Studio remember it)