Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

added team#18 #21

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
61f55bc
added team
anujpuri72 Oct 5, 2019
a74e3e8
Add skeletal models
thecodepapaya Oct 5, 2019
6bacc67
Merge pull request #1 from anujpuri72/team#18
pAditya198 Oct 5, 2019
48da6ff
Merge pull request #2 from ashutoshsingh05/team#18
pAditya198 Oct 5, 2019
2fc5c3a
added Base line code
thecodepapaya Oct 5, 2019
4ca8a22
Merge branch 'team#18' of https://github.com/ashutoshsingh05/hackiiit…
pAditya198 Oct 5, 2019
6cb8b34
Added dependencies | common properties
thecodepapaya Oct 5, 2019
cc8e6b5
Merge branch 'team#18' of https://github.com/ashutoshsingh05/hackiiit…
pAditya198 Oct 5, 2019
c6f6640
added firebase
anujpuri72 Oct 5, 2019
4f5eb29
added androidx
anujpuri72 Oct 5, 2019
d56661c
model defined
pAditya198 Oct 5, 2019
c827ec1
Add auth dependencies
thecodepapaya Oct 5, 2019
2f22ee0
Add button and textfield
thecodepapaya Oct 5, 2019
57e40a3
add phone number signin
thecodepapaya Oct 5, 2019
c6073e9
Merge branch 'team#18' of https://github.com/ashutoshsingh05/hackiiit…
pAditya198 Oct 5, 2019
0983934
added signin page
anujpuri72 Oct 5, 2019
0494ef0
added signin page scrollable
anujpuri72 Oct 5, 2019
5c86ae4
mandi models
pAditya198 Oct 5, 2019
ab24fca
Building homepage
thecodepapaya Oct 5, 2019
ef7518e
Merge branch 'team#18' of https://github.com/pAditya198/hackiiitv19-s…
thecodepapaya Oct 5, 2019
b261411
building homepage
thecodepapaya Oct 5, 2019
358ee2a
added farmer registration
anujpuri72 Oct 5, 2019
5b2f594
added farmer registration
anujpuri72 Oct 5, 2019
56188f4
add table to homepage
thecodepapaya Oct 5, 2019
38ce39d
resolved merge conflicts
thecodepapaya Oct 5, 2019
e55cc24
renamed files
thecodepapaya Oct 5, 2019
37e8fce
added Trader form
anujpuri72 Oct 5, 2019
b18c82f
all models modified
pAditya198 Oct 5, 2019
30fb597
Merge branch 'team#18' of https://github.com/pAditya198/hackiiitv19-s…
thecodepapaya Oct 5, 2019
d349171
Fix profile leading tap bug | contructing homepage
thecodepapaya Oct 5, 2019
fffdc19
something
thecodepapaya Oct 5, 2019
88968b8
Something 2
thecodepapaya Oct 5, 2019
d155ad9
Added json
thecodepapaya Oct 5, 2019
67f4e52
Add reg for farmer
thecodepapaya Oct 5, 2019
a0ab612
to be fixed
anujpuri72 Oct 5, 2019
527a1cc
Perfected sign in
thecodepapaya Oct 5, 2019
e3e279f
bypassed sign in to register page
thecodepapaya Oct 5, 2019
6a4675d
kuch bhi
thecodepapaya Oct 5, 2019
085e856
added logo
anujpuri72 Oct 5, 2019
ae8088a
enhanced homepage
anujpuri72 Oct 6, 2019
5658bf6
:init:
thecodepapaya Oct 6, 2019
d11242b
merge anuj error
thecodepapaya Oct 6, 2019
ec7d8e8
drop down button
thecodepapaya Oct 6, 2019
0bc240c
smth
thecodepapaya Oct 6, 2019
45b659f
add cards to homepage
thecodepapaya Oct 6, 2019
9249313
added profile
anujpuri72 Oct 6, 2019
5e2e9f1
added qrcode
anujpuri72 Oct 6, 2019
c653357
Add mandi detail
thecodepapaya Oct 6, 2019
93c9367
resoved conflict
thecodepapaya Oct 6, 2019
5fe1c6d
chage ui
thecodepapaya Oct 6, 2019
61006a4
Add details page
thecodepapaya Oct 6, 2019
4bfb11e
added all necessary files
anujpuri72 Oct 6, 2019
8780d47
last minute fixes
thecodepapaya Oct 6, 2019
238df0f
something
anujpuri72 Oct 6, 2019
f77ef40
Merge branch 'team#18' of https://github.com/ashutoshsingh05/hackiiit…
anujpuri72 Oct 6, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions team#18/cmms/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.packages
.pub-cache/
.pub/
/build/

# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java

# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*

# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
10 changes: 10 additions & 0 deletions team#18/cmms/.metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: 2d2a1ffec95cc70a3218872a2cd3f8de4933c42f
channel: stable

project_type: app
16 changes: 16 additions & 0 deletions team#18/cmms/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# cmms

A new Flutter project.

## Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
17 changes: 17 additions & 0 deletions team#18/cmms/android/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>android</name>
<comment>Project android created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
connection.project.dir=
eclipse.preferences.version=1
73 changes: 73 additions & 0 deletions team#18/cmms/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
apply plugin: 'com.android.application'
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 28

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

lintOptions {
disable 'InvalidPackage'
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.nahiapata.cmms"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}

flutter {
source '../..'
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.google.firebase:firebase-analytics:17.2.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
implementation 'androidx.core:core:1.0.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
implementation 'com.google.firebase:firebase-auth:19.1.0'
}
apply plugin: 'com.google.gms.google-services'
48 changes: 48 additions & 0 deletions team#18/cmms/android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"project_info": {
"project_number": "507519612700",
"firebase_url": "https://mandi-system.firebaseio.com",
"project_id": "mandi-system",
"storage_bucket": "mandi-system.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:507519612700:android:4ac811447b3c81fadbecd9",
"android_client_info": {
"package_name": "com.nahiapata.cmms"
}
},
"oauth_client": [
{
"client_id": "507519612700-l781kc2i4011psjhv2uklo776jcq4e24.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.nahiapata.cmms",
"certificate_hash": "98dcdffc49c5ebbf334b6968a3de554990b46f86"
}
},
{
"client_id": "507519612700-h58300ehigc391t4odleh7k7rkes82ih.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyD_RmUkxHoSkP1EhzyFprrTao4--wFy6io"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "507519612700-h58300ehigc391t4odleh7k7rkes82ih.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
7 changes: 7 additions & 0 deletions team#18/cmms/android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nahiapata.cmms">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
36 changes: 36 additions & 0 deletions team#18/cmms/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nahiapata.cmms">
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.INTERNET"/>

<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="cmms"
android:icon="@mipmap/launcher_icon">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity"/>
</application>
</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.nahiapata.cmms

import android.os.Bundle

import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
GeneratedPluginRegistrant.registerWith(this)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />

<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions team#18/cmms/android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
</resources>
7 changes: 7 additions & 0 deletions team#18/cmms/android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nahiapata.cmms">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
32 changes: 32 additions & 0 deletions team#18/cmms/android/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
buildscript {
ext.kotlin_version = '1.3.0'
repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.2'
}
}

allprojects {
repositories {
google()
jcenter()
}
}

rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
delete rootProject.buildDir
}
4 changes: 4 additions & 0 deletions team#18/cmms/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
org.gradle.jvmargs=-Xmx1536M

android.useAndroidX=true
android.enableJetifier=true
6 changes: 6 additions & 0 deletions team#18/cmms/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
15 changes: 15 additions & 0 deletions team#18/cmms/android/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
include ':app'

def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()

def plugins = new Properties()
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
if (pluginsFile.exists()) {
pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
}

plugins.each { name, path ->
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
include ":$name"
project(":$name").projectDir = pluginDirectory
}
Binary file added team#18/cmms/assets/images/Image-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added team#18/cmms/assets/images/ficon.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added team#18/cmms/assets/images/finalogo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added team#18/cmms/assets/images/finalogo1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added team#18/cmms/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added team#18/cmms/assets/images/ticon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added team#18/cmms/assets/images/wheat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading