Skip to content

Merge commit and master #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 265 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
8c7e88a
Added custom widget for step counter
SooryaSRajan Oct 27, 2021
6d2292c
Added svg assets
SooryaSRajan Oct 27, 2021
9f7bf96
Abstracted pages into separate files as forms
cyberwizard1001 Oct 30, 2021
ce9ac6e
FamilyMemberAdd.dart kind of works. StepCounting issues.
cyberwizard1001 Oct 30, 2021
e063c06
made changes to family member add
SooryaSRajan Oct 30, 2021
61d0a30
Added a separate widget for page view with error form and step counte…
SooryaSRajan Nov 1, 2021
c1e8d36
A comment and implemented FamilyMemberAdd.dart
cyberwizard1001 Nov 2, 2021
a55e08e
Weird error with FamilyMemberAdd() call in IndividualDataCollection.dart
cyberwizard1001 Nov 2, 2021
b268325
Added widget with form validation to get current location
SooryaSRajan Nov 7, 2021
83d26fe
Modified location widget style
SooryaSRajan Nov 7, 2021
b4519b2
Added more decoration to step counter widget to highlight current pag…
SooryaSRajan Nov 10, 2021
fb183ed
Added progress bar for location, added submit tab in step counter to …
SooryaSRajan Nov 10, 2021
00d94d2
Added custom widget for dropdown field with form validation
SooryaSRajan Nov 10, 2021
424042c
Fixed error, added AppTheme.dart
cyberwizard1001 Nov 11, 2021
4ab75fe
Added gender_picker, new widgets to individual data collection
cyberwizard1001 Nov 11, 2021
97e3c12
Error, needs fixing
cyberwizard1001 Nov 11, 2021
ec43a52
Added widget for options, OptionsFormWidget
SooryaSRajan Nov 11, 2021
ba9f097
Fixed dropdown bug, added scroll view inside page view to avoid overflow
SooryaSRajan Nov 12, 2021
1e7d732
Check if onSaved returns value
cyberwizard1001 Nov 13, 2021
108d61f
Fixed scrollview resize issues
cyberwizard1001 Nov 13, 2021
bcfa191
Removed SingleChildScrollView in PageViewContentBox.dart
cyberwizard1001 Nov 13, 2021
2e9c55b
Added labels, title constructor to DatePicker.dart
cyberwizard1001 Nov 15, 2021
3ea8972
Added more widgets
cyberwizard1001 Nov 15, 2021
dc8cb13
Preliminary addition for FamilyMemberAdd.dart done
cyberwizard1001 Nov 15, 2021
0e266fc
Added FamilyDetails.dart and FamilyHomeScreen.dart
cyberwizard1001 Nov 15, 2021
15e25ae
Modified redirects from Home.dart, fixed pixel overflow
cyberwizard1001 Nov 16, 2021
64e0572
Added widgets
cyberwizard1001 Nov 16, 2021
95309a7
Added keyboard_detector, did login screen styling
cyberwizard1001 Nov 17, 2021
80375c9
Built multi check box list dialog widget, with the choice to choose b…
SooryaSRajan Nov 18, 2021
5d1eb76
Cloned repo
SooryaSRajan Nov 19, 2021
a039185
Added date picker widget with form validation
SooryaSRajan Nov 19, 2021
8aeaec1
Modified main to accept themeData
cyberwizard1001 Nov 19, 2021
550e0a2
Added colors.dart and did some theming. Completed login, added backgr…
cyberwizard1001 Nov 20, 2021
f848b5c
Theming changes
cyberwizard1001 Nov 20, 2021
31a4fd3
UX changes
cyberwizard1001 Nov 24, 2021
697c116
Added textfield tags, UI improvements
cyberwizard1001 Nov 25, 2021
e66fd87
Added textFieldTag widget
cyberwizard1001 Nov 25, 2021
f92f222
Theme updates
cyberwizard1001 Nov 27, 2021
323418a
Fixed black text on dark background issues
cyberwizard1001 Nov 27, 2021
09bfd55
Replaced textfields with tagtextfields
cyberwizard1001 Nov 27, 2021
1da422b
Changed textcolor in textfieldtags widgets
cyberwizard1001 Dec 17, 2021
979fd27
Added widget for adding/removing content called AddRemoveBoxWidget
Dec 21, 2021
1b65272
Fixed scrollview in AddRemoveBoxWidget.dart
cyberwizard1001 Dec 22, 2021
0753828
Updated themes, added roundedDatePicker
cyberwizard1001 Dec 24, 2021
72acd0a
UI fixes
cyberwizard1001 Dec 24, 2021
ebb0b02
UI fixes
cyberwizard1001 Dec 24, 2021
a8d7b6d
Made changes to a few stuff
Dec 24, 2021
d54e38b
Added a new page for editing data
Dec 24, 2021
b4e331d
UI fixes
cyberwizard1001 Dec 24, 2021
7a7ff31
Tinyyyyy changes
Dec 24, 2021
f288ad8
Added model for CommunityDataCollection
Dec 24, 2021
d70f38d
UI fixes
cyberwizard1001 Dec 24, 2021
3e21edc
Added a screen for editing user data
Dec 24, 2021
e6aeff2
Fixed overflowing issues using slivers, made columns fill page, fixed…
Dec 25, 2021
8c4feed
Added last questions
cyberwizard1001 Dec 25, 2021
f94dd2d
Made theme changes
Dec 25, 2021
6b61cb5
UI fixes
cyberwizard1001 Dec 25, 2021
6d02509
Fixed overflow issues
cyberwizard1001 Dec 25, 2021
8978617
Added custom tag widget
Dec 25, 2021
daa4610
Changed autovalidate always to onUserInteraction
Dec 26, 2021
960f87f
Added local storage option for Communinty Data Collection
Dec 27, 2021
fadb327
Added model for Family data and implemented save features, remaining …
Dec 27, 2021
e2ff9ff
Fixed and implemented data saving for Family Members Data Collectin (…
Dec 27, 2021
a92f2da
Eyecandy for LocationWidget.dart
cyberwizard1001 Dec 29, 2021
2c2aff8
Replaced textfieldtag widgets with TagTextField widgets, added textbu…
cyberwizard1001 Dec 29, 2021
d484d9a
Made center aligned location widget text
Dec 29, 2021
7cba5e5
Removed TextTagsWidget.dart and associated files, unused imports
cyberwizard1001 Dec 29, 2021
81f4140
Fixed bug in auto validation
Dec 29, 2021
fef1fcf
Fixed bug in auto validation
Dec 29, 2021
087ed4e
Implemented CheckBoxAlertDialog
cyberwizard1001 Dec 29, 2021
9b3becb
Added search implementation in tag widget
Dec 29, 2021
f61220a
Added search implementation in tag widget
Dec 29, 2021
a125650
Styled CheckBoxAlertDialog.dart
cyberwizard1001 Dec 29, 2021
13e9949
Fixed widgt hug in dropdown widget
Dec 30, 2021
e453945
Added CheckBox dialog widget with option to add new data to the list
Dec 30, 2021
4a95228
Fixed inkwell in textfield icon
Dec 30, 2021
df0387e
Fixed documentation, other changes
cyberwizard1001 Dec 30, 2021
f171ff8
Change error color Check Box widget
Jan 1, 2022
b42aefa
UI fixes, incomplete sidebar
cyberwizard1001 Jan 2, 2022
a98012c
UI fix
cyberwizard1001 Jan 2, 2022
9c45736
Fixed spacing in CheckBoxAddExtraDialog.dart
cyberwizard1001 Jan 2, 2022
018064e
UI fixes, updated login screen
cyberwizard1001 Jan 2, 2022
574df05
Completed login screen
cyberwizard1001 Jan 2, 2022
296abeb
Started adding biometrics
cyberwizard1001 Jan 2, 2022
1f85f9d
Replaced checkboxalertdialog with checkboxalert with add element option
cyberwizard1001 Jan 3, 2022
e421678
Fixed textfield and datepicker error colors
cyberwizard1001 Jan 3, 2022
77f2b87
Added validators
cyberwizard1001 Jan 3, 2022
1b1a84d
Changed Text Tag Field error validation to return null on no error
Jan 4, 2022
b8bef4f
Completed NavigationDrawer.dart, changed gender images in FamilyMembe…
cyberwizard1001 Jan 4, 2022
cd66ba2
Fixed toMany realtion saving in FamilyMember data saving
Jan 4, 2022
18b794e
Resolved merge conflict in FamilyMemberAdd
Jan 4, 2022
5abd8b2
Added VillageSelection.dart, moved sign out function [DOES NOT WORK]
cyberwizard1001 Jan 4, 2022
f2b1c16
Fixed spelling mistakes
cyberwizard1001 Jan 4, 2022
37d7cd3
Implemented VillageSelection.dart
cyberwizard1001 Jan 4, 2022
22f711e
Added Are you Sure dialog to FamilyMemberAdd.dart
cyberwizard1001 Jan 4, 2022
72fb90e
Added Are you sure dialog to CommunityDataCollection.dart
cyberwizard1001 Jan 4, 2022
4e3f2d2
Added Are you sure dialog to FamilyDetails.dart
cyberwizard1001 Jan 4, 2022
15a0707
Added Are you sure dialog to CollectLocationWidget.dart
cyberwizard1001 Jan 4, 2022
a07d5ce
Resolved merge conflict
Jan 4, 2022
ba15822
Fixed VillageSelection.dart's reloading page
cyberwizard1001 Jan 5, 2022
cf55116
Success! Fixed data saving in Individual Data
Jan 5, 2022
a4428d6
FIxed logout button
Jan 5, 2022
7940dec
Fixed stuff
Jan 5, 2022
688e365
Added search bar in editing records page
Jan 5, 2022
5e1c91e
Added search bar in editing records page
Jan 5, 2022
4746451
Added all data fields to family common details
SooryaSRajan Jan 6, 2022
f598b85
Profile page - WIP
cyberwizard1001 Jan 6, 2022
bcf753b
Completed ProfilePage.dart
cyberwizard1001 Jan 6, 2022
20f8948
ProfilePage.dart improvements
cyberwizard1001 Jan 6, 2022
3f8b858
Attached profilepage to sidebar
cyberwizard1001 Jan 6, 2022
6c90a74
Added custom widget for picking gender with
SooryaSRajan Jan 6, 2022
71f72b6
Added messages and notes to submit page, added snack-bar messages and…
SooryaSRajan Jan 6, 2022
40870ec
Added option quit app
cyberwizard1001 Jan 6, 2022
fc49228
Added validation variable for family page
SooryaSRajan Jan 6, 2022
1e9ddae
Added validation variable for family page
SooryaSRajan Jan 6, 2022
4f08213
Added null check for onChanged method in FormPageView
SooryaSRajan Jan 6, 2022
3998ba5
Modified profile page buttons
SooryaSRajan Jan 6, 2022
a5353d1
Modified profile page buttons
SooryaSRajan Jan 6, 2022
4a0154c
Fixed bug in Step Counter Widget and Form Page View
SooryaSRajan Jan 6, 2022
2fff154
Fixed rendering and animation issue in scrolling pages, which causes …
SooryaSRajan Jan 6, 2022
e05cf87
UI fixes
cyberwizard1001 Jan 6, 2022
e9460f1
UI fixes
cyberwizard1001 Jan 6, 2022
3841ce4
UI fixes
cyberwizard1001 Jan 6, 2022
289f2bf
Fixed RenderFlex Issues
SooryaSRajan Jan 6, 2022
904c873
UI fixes, EditExistingRecordsPage.dart list tiles fixed
cyberwizard1001 Jan 7, 2022
be23109
UI fixes
cyberwizard1001 Jan 7, 2022
1a5e34c
Fixed Village Code page and Edit existing records to avoid RenderFlex…
SooryaSRajan Jan 7, 2022
79435b6
Fixed Add Remove Widget overflow issues, got rid of mediaQueries and …
SooryaSRajan Jan 7, 2022
3e0ab17
Removed media query from family home page buttons
SooryaSRajan Jan 7, 2022
b8347d1
Removed auto fade in text widget
SooryaSRajan Jan 7, 2022
ac87145
Added parser to convert model to JSON
SooryaSRajan Jan 7, 2022
065a97c
Center aligned gender wrap widget
SooryaSRajan Jan 7, 2022
904919b
Configured app to support iOS - 11 and above
SooryaSRajan Jan 7, 2022
37a7662
Port for iOS
SooryaSRajan Jan 7, 2022
c7f9224
Worked on models, added JSON parsers
SooryaSRajan Jan 7, 2022
c8b3b6e
Added widget to pick starting and ending time
SooryaSRajan Jan 7, 2022
d625f26
Added saving for time widget
SooryaSRajan Jan 7, 2022
be35896
Clean up
cyberwizard1001 Jan 7, 2022
e78cd7d
Added isGenerated to FamilyHomeScreen.dart
cyberwizard1001 Jan 7, 2022
df03a37
Made changes to facilitate record editing
SooryaSRajan Jan 7, 2022
492106c
Added api end points for login
SooryaSRajan Jan 7, 2022
8cc7818
Cleaned login
cyberwizard1001 Jan 7, 2022
b12cc79
Added Village Code Logic to get UID
SooryaSRajan Jan 7, 2022
90af8c5
Added ChangePassword.dart
cyberwizard1001 Jan 7, 2022
a9dc314
Added a new widget to get nested data for options
SooryaSRajan Jan 14, 2022
e73f82f
Altered NestedOptionsWidget.dart
cyberwizard1001 Jan 17, 2022
70243ab
Changed SavedData.dart icons
cyberwizard1001 Jan 17, 2022
056e8e5
Added no of working days to FamilyMemberAdd.dart and DataModel, added…
cyberwizard1001 Jan 17, 2022
022e03b
Replaced PHC, private hosp to yes/no questions, private reason to che…
cyberwizard1001 Jan 17, 2022
2ac0499
Changed from checkboxalert to checkboxaddextraalert for two/three/fou…
cyberwizard1001 Jan 17, 2022
7964966
Switched Private hospital reasons to CheckBoxAddExtraDialog
cyberwizard1001 Jan 17, 2022
c84d171
Added a new widget to get nested data for options
SooryaSRajan Jan 17, 2022
f2127b4
Added a new widget to get income with drop down to choose salary type…
SooryaSRajan Jan 17, 2022
b2f07a8
Removed debug card
SooryaSRajan Jan 17, 2022
dd96c8a
Fixed exception in Family Member Add and removed route to village page
SooryaSRajan Jan 17, 2022
69269f2
Added a widget to conditionally render for options widget
SooryaSRajan Jan 17, 2022
40cb5bb
Added a widget to conditionally render for options widget
SooryaSRajan Jan 17, 2022
7c2c9dd
Added progress bar for login page
SooryaSRajan Jan 18, 2022
947dcb5
Added progress bar for login page, added icon button to show/hide pas…
SooryaSRajan Jan 18, 2022
d7e277c
Added toast message to display on network errors while making request…
SooryaSRajan Jan 18, 2022
4aa1b03
Implemented all widgets
cyberwizard1001 Jan 18, 2022
4353edc
Fixed TODOs
cyberwizard1001 Jan 18, 2022
1be833c
Added user data to storage and displayed int places
SooryaSRajan Jan 18, 2022
50bdc32
Added login page logic for saving user data and almost done change pa…
SooryaSRajan Jan 18, 2022
4b040a0
Added jwt validation in LoadValidPageWidget, added request code in Co…
SooryaSRajan Jan 19, 2022
0f39738
Removed media queries and aligned content in Change Password and Prof…
SooryaSRajan Jan 19, 2022
31de03a
Fixed tiny bugs
SooryaSRajan Jan 19, 2022
d44aa2f
Added method to re render page to reflect user name when changed in F…
SooryaSRajan Jan 19, 2022
ee21dc7
Added method to re render page to reflect user name when changed in F…
SooryaSRajan Jan 19, 2022
831ca86
Completed FamilyMemberAdd.dart
cyberwizard1001 Jan 19, 2022
f78158f
Added constant variable for storage keys
SooryaSRajan Jan 19, 2022
5d67e1b
Altered FamilyDetails.dart
cyberwizard1001 Jan 19, 2022
caed74f
Removed unused libraries
SooryaSRajan Jan 19, 2022
6e61d83
Altered FamilyDetails.dart
cyberwizard1001 Jan 19, 2022
f356e3e
Removed unused libraries and files and refractored Constants file
SooryaSRajan Jan 19, 2022
b3e5d1f
Added user names in head of family field
SooryaSRajan Jan 19, 2022
07bf706
Added time out to http requests, completed data model for Community D…
SooryaSRajan Jan 19, 2022
ca5ef34
Changed model name
SooryaSRajan Jan 19, 2022
6ff524e
Altered data models
cyberwizard1001 Jan 19, 2022
90e16f4
Altered data models final
cyberwizard1001 Jan 19, 2022
df23cd5
Added code to differentiate between storage data for different users …
SooryaSRajan Jan 20, 2022
74c6248
Completed family data model JSON functions, need to add check conditi…
SooryaSRajan Jan 20, 2022
21293a4
Updated objectbox model classes
SooryaSRajan Jan 20, 2022
dfec05d
Completed JSON for Family Data
SooryaSRajan Jan 20, 2022
b1d236d
Added village code widget in Individual Data
SooryaSRajan Jan 20, 2022
f9b8069
Fixed bug in displaying Head of Family when the name was recently cha…
SooryaSRajan Jan 20, 2022
bbb93b6
Changed URL, added UIN place holder in toJson
SooryaSRajan Jan 20, 2022
a42d707
Updated check status code to 201
SooryaSRajan Jan 20, 2022
ea318d3
Changed HTTP to HTTPS
SooryaSRajan Jan 20, 2022
ca4374f
Updated server URL
cyberwizard1001 Jan 22, 2022
d9c1b80
Changed full URL to partial URL as HTTP and HTTPS is managed by libra…
SooryaSRajan Jan 22, 2022
3bdce42
Added validation to check if number is less than or equal to 0 in Inc…
SooryaSRajan Jan 22, 2022
07ebf44
Added validation to check if entered text value is only numbers in Te…
SooryaSRajan Jan 22, 2022
c2c463a
Added string parsing for empty fields to replace with <NA> in json pa…
SooryaSRajan Jan 22, 2022
5a974ba
Added and implemented method to parse values which depend on a the va…
SooryaSRajan Jan 22, 2022
770073f
Removed completed TODOs
SooryaSRajan Jan 22, 2022
d3b126d
Added remember me option and server timeouts and
SooryaSRajan Jan 22, 2022
aea0760
Added class to check for network connectivity and validate JWT token …
SooryaSRajan Jan 22, 2022
b1e4e63
Added volunteer user id field in json
SooryaSRajan Jan 22, 2022
64424bb
Added request code for Edit Existing Record page, fixed Json error in…
SooryaSRajan Jan 22, 2022
068ea92
Deleted VillageSelection.dart
cyberwizard1001 Jan 22, 2022
8bbdb1e
Added optional fields to FamilyMemberAdd.dart
cyberwizard1001 Jan 22, 2022
1340c95
Added optional fields and data to FamilyDetails.dart
cyberwizard1001 Jan 22, 2022
375dda3
Added occupations to the occupation widget
cyberwizard1001 Jan 22, 2022
67f3df6
Fixed bug in parsing occupation data
SooryaSRajan Jan 23, 2022
04597d5
Added null and empty check for skills list json
SooryaSRajan Jan 23, 2022
2cf781a
Added error validation for nested options inside NestedOptionsWidget.…
SooryaSRajan Jan 23, 2022
222a0bb
Added TOTO, toast message on error for LoadValidPage widget and added…
SooryaSRajan Jan 23, 2022
e891974
Made timeout messages more responsive and user-friendly
SooryaSRajan Jan 23, 2022
911aa4e
Added error message for Edit Existing Records page
SooryaSRajan Jan 23, 2022
fa6efa5
Removed unused comment
SooryaSRajan Jan 23, 2022
a6cd143
Removed redundant lines in FamilyHomeScreen.dart
SooryaSRajan Jan 23, 2022
815dd1d
Fixed glitch in drop down widget, text was not included in the inkwel…
SooryaSRajan Jan 23, 2022
c773760
Fixed color mismatch in ProfilePage.dart
SooryaSRajan Jan 23, 2022
62d79d9
Made changes to NavigationDrawer.dart
SooryaSRajan Jan 23, 2022
128ff58
Figured out that flutter had a way to change icon color for AppBar ha…
SooryaSRajan Jan 23, 2022
6b8c5cd
Updated timePicker theme
cyberwizard1001 Jan 23, 2022
c57c845
App didn't work without INTERNET permission in manifest, added permis…
SooryaSRajan Jan 24, 2022
fae418c
Added WillPopScope in FamilyHomeScreen.dart and changed app name in A…
SooryaSRajan Jan 24, 2022
0712de9
Changed ChangePassword.dart background color to match background asset
SooryaSRajan Jan 24, 2022
5d0d1dc
Modified, has error in student field. Needs dataModel modification
cyberwizard1001 Jan 24, 2022
e7b3d32
Fixed bug in Education Drop Down field added in FamilyMemberAdd.dart,…
SooryaSRajan Jan 24, 2022
aceb2e7
Added Student and Student education type fields to model and built ob…
SooryaSRajan Jan 24, 2022
d039570
Added parsing methods to new fields in FamilyDataModels.dart
SooryaSRajan Jan 24, 2022
eb21423
Changed Deployment endpoint for testing
SooryaSRajan Jan 24, 2022
efcdb6b
Fixed bug which caused data to persist even after closing page
SooryaSRajan Jan 24, 2022
1ddc927
Fixed bug in FamilyDataModels.dart which prevented occupationData fro…
SooryaSRajan Jan 24, 2022
e44e1a9
Changed note message in FamilyMemberAdd.dart and FamilyDetails.dart.dart
SooryaSRajan Jan 24, 2022
cdc7175
Changed note message for location page
SooryaSRajan Jan 24, 2022
6e38e70
Fixed issue with keyboard coming up and hiding text views and other w…
SooryaSRajan Jan 24, 2022
035d9ef
Set resizeToAvoidBottomInset to false in places where keyboards are n…
SooryaSRajan Jan 24, 2022
68fc519
Removed all print statements, removed unused permissions from Android…
SooryaSRajan Jan 24, 2022
9505a64
Added keygen code in gradle
SooryaSRajan Jan 24, 2022
fc259e5
Removed all redundant storage accessing fields, modularised all redun…
SooryaSRajan Jan 24, 2022
853de6f
Added TODO
SooryaSRajan Jan 24, 2022
9ab04a1
Removed redundant theme styles
SooryaSRajan Jan 24, 2022
f45379f
Removed elevation from IncomeWithTypeTextField.dart dropdown to match…
SooryaSRajan Jan 24, 2022
282e750
Changed host URL
SooryaSRajan Jan 25, 2022
c1bbc0e
Removed local auth library
SooryaSRajan Jan 25, 2022
aa9b990
Added icons for iOS and Android manually
SooryaSRajan Jan 25, 2022
af75ecb
Added icon background color asset in android values folder
SooryaSRajan Jan 25, 2022
5aea8b2
Added logic to signout account on invalid JWT usage, i.e, when passwo…
SooryaSRajan Jan 25, 2022
1421c69
Updated version number
SooryaSRajan Jan 25, 2022
2e32ff6
Removed unused libraries
SooryaSRajan Jan 25, 2022
20e73ad
Uncommented JWT saving code in ChangePassword.dart
SooryaSRajan Jan 31, 2022
e21ba2a
Added logout logic in ChangePassword.dart when invalid token detected
SooryaSRajan Jan 31, 2022
4d70ed8
Added new village code
SooryaSRajan Feb 23, 2022
cd74ec0
Added DisplayUploadData page to show paths to village and community data
SooryaSRajan Jul 23, 2022
02e253d
Added logic and dialog to delete records entered by the user through …
SooryaSRajan Jul 25, 2022
b26eaaa
Changed URL to Amrita server and downgraded connection to HTTP
SooryaSRajan Dec 27, 2022
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
1 change: 1 addition & 0 deletions android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ gradle-wrapper.jar
/gradlew
/gradlew.bat
/local.properties
/key.properties
GeneratedPluginRegistrant.java

# Remember to never publicly share your keystore.
Expand Down
20 changes: 16 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
compileSdkVersion 30
compileSdkVersion 31

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -50,11 +56,17 @@ android {
versionName flutterVersionName
}

signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
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
signingConfig signingConfigs.release
}
}
}
Expand Down
31 changes: 18 additions & 13 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,35 +1,40 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.geo_spatial">
<application
android:label="geo_spatial"
android:icon="@mipmap/ic_launcher">

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />

<application
android:icon="@mipmap/ic_samagri_icon"
android:roundIcon="@mipmap/ic_samagri_icon_round"
android:label="Samagri Spatial">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" />
<!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/>
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_samagri_icon_background"/>
<foreground android:drawable="@mipmap/ic_samagri_icon_foreground"/>
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_samagri_icon_background"/>
<foreground android:drawable="@mipmap/ic_samagri_icon_foreground"/>
</adaptive-icon>
Binary file removed android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
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.
Binary file removed android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
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.
Binary file removed android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file not shown.
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.
Binary file not shown.
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.
Binary file not shown.
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.
2 changes: 2 additions & 0 deletions android/app/src/main/res/values-night/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:windowFullscreen">false</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Expand All @@ -14,5 +15,6 @@
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
<item name="android:windowFullscreen">false</item>
</style>
</resources>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_samagri_icon_background">#3F3D56</color>
</resources>
2 changes: 2 additions & 0 deletions android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:windowFullscreen">false</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Expand All @@ -14,5 +15,6 @@
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
<item name="android:windowFullscreen">false</item>
</style>
</resources>
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.3.50'
ext.kotlin_version = '1.6.10'
repositories {
google()
mavenCentral()
Expand Down
Binary file added assets/Illustration.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 assets/avatar_man.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 assets/avatar_woman.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 removed assets/bg.png
Binary file not shown.
Binary file modified assets/image_01.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 assets/location.png
Binary file added assets/profile_background.png
11 changes: 11 additions & 0 deletions assets/svg/background.svg
11 changes: 11 additions & 0 deletions assets/svg/profile_bg.svg
10 changes: 10 additions & 0 deletions assets/svg/user-id-icon.svg
2 changes: 1 addition & 1 deletion ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
<string>9.0</string>
</dict>
</plist>
1 change: 1 addition & 0 deletions ios/Flutter/Debug.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
1 change: 1 addition & 0 deletions ios/Flutter/Release.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
41 changes: 41 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}

def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end

File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
use_frameworks!
use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
63 changes: 63 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
PODS:
- connectivity_plus (0.0.1):
- Flutter
- ReachabilitySwift
- Flutter (1.0.0)
- flutter_keyboard_visibility (0.0.1):
- Flutter
- flutter_secure_storage (3.3.1):
- Flutter
- geolocator_apple (1.2.0):
- Flutter
- ObjectBox (1.6.0)
- objectbox_flutter_libs (0.0.1):
- Flutter
- ObjectBox (= 1.6.0)
- path_provider_ios (0.0.1):
- Flutter
- ReachabilitySwift (5.0.0)

DEPENDENCIES:
- connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
- Flutter (from `Flutter`)
- flutter_keyboard_visibility (from `.symlinks/plugins/flutter_keyboard_visibility/ios`)
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
- geolocator_apple (from `.symlinks/plugins/geolocator_apple/ios`)
- objectbox_flutter_libs (from `.symlinks/plugins/objectbox_flutter_libs/ios`)
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)

SPEC REPOS:
trunk:
- ObjectBox
- ReachabilitySwift

EXTERNAL SOURCES:
connectivity_plus:
:path: ".symlinks/plugins/connectivity_plus/ios"
Flutter:
:path: Flutter
flutter_keyboard_visibility:
:path: ".symlinks/plugins/flutter_keyboard_visibility/ios"
flutter_secure_storage:
:path: ".symlinks/plugins/flutter_secure_storage/ios"
geolocator_apple:
:path: ".symlinks/plugins/geolocator_apple/ios"
objectbox_flutter_libs:
:path: ".symlinks/plugins/objectbox_flutter_libs/ios"
path_provider_ios:
:path: ".symlinks/plugins/path_provider_ios/ios"

SPEC CHECKSUMS:
connectivity_plus: 413a8857dd5d9f1c399a39130850d02fe0feaf7e
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069
flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec
geolocator_apple: b741765c55dc21950e3e106e8b3584e55cf81ce5
ObjectBox: a181cc5fb47e0a6ec60754d34dc49f40dc17829e
objectbox_flutter_libs: 511c59b863bc45abc7f6f338499e4a50e9aa5f1d
path_provider_ios: 7d7ce634493af4477d156294792024ec3485acd5
ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825

PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d

COCOAPODS: 1.11.2
Loading