Skip to content

Commit

Permalink
success-csv export
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlmgwi committed May 10, 2020
1 parent da6f62b commit 3cbc450
Show file tree
Hide file tree
Showing 8 changed files with 319 additions and 292 deletions.
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.8+2/","dependencies":[]},{"name":"firebase_messaging","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.13/","dependencies":[]},{"name":"flutter_barcode_scanner","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-0.1.7/","dependencies":[]},{"name":"flutter_keyboard_visibility","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-0.7.0/","dependencies":[]},{"name":"flutter_local_notifications","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-1.4.1/","dependencies":[]},{"name":"flutter_open_whatsapp","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/","dependencies":[]},{"name":"flutter_vibrate","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_vibrate-1.0.0/","dependencies":[]},{"name":"geolocator","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/geolocator-5.2.1/","dependencies":["location_permissions"]},{"name":"image_picker","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.6+1/","dependencies":[]},{"name":"location_permissions","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-2.0.5/","dependencies":[]},{"name":"path_provider","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/","dependencies":[]},{"name":"share","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.3+6/","dependencies":[]},{"name":"shared_preferences","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.6+3/","dependencies":[]},{"name":"soundpool","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/soundpool-1.0.1/","dependencies":[]},{"name":"sqflite","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/","dependencies":[]},{"name":"url_launcher","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.2/","dependencies":[]}],"android":[{"name":"connectivity","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.8+2/","dependencies":[]},{"name":"firebase_messaging","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.13/","dependencies":[]},{"name":"flutter_barcode_scanner","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-0.1.7/","dependencies":[]},{"name":"flutter_keyboard_visibility","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-0.7.0/","dependencies":[]},{"name":"flutter_local_notifications","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-1.4.1/","dependencies":[]},{"name":"flutter_open_whatsapp","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.7/","dependencies":[]},{"name":"flutter_vibrate","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_vibrate-1.0.0/","dependencies":[]},{"name":"geolocator","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/geolocator-5.2.1/","dependencies":["google_api_availability","location_permissions"]},{"name":"google_api_availability","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/google_api_availability-2.0.4/","dependencies":[]},{"name":"image_picker","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.6+1/","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"location_permissions","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-2.0.5/","dependencies":[]},{"name":"path_provider","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/","dependencies":[]},{"name":"share","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.3+6/","dependencies":[]},{"name":"shared_preferences","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.6+3/","dependencies":[]},{"name":"soundpool","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/soundpool-1.0.1/","dependencies":[]},{"name":"sqflite","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/","dependencies":[]},{"name":"url_launcher","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.2/","dependencies":[]}],"macos":[{"name":"connectivity_macos","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_macos-0.1.0+2/","dependencies":[]},{"name":"path_provider_macos","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4/","dependencies":[]},{"name":"shared_preferences_macos","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-0.0.1+6/","dependencies":[]},{"name":"sqflite","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+4/","dependencies":[]}],"linux":[],"windows":[],"web":[{"name":"shared_preferences_web","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-0.1.2+4/","dependencies":[]},{"name":"soundpool_web","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/soundpool_web-1.0.3/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+1/","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity","dependencies":["connectivity_macos"]},{"name":"connectivity_macos","dependencies":[]},{"name":"firebase_messaging","dependencies":[]},{"name":"flutter_barcode_scanner","dependencies":[]},{"name":"flutter_keyboard_visibility","dependencies":[]},{"name":"flutter_local_notifications","dependencies":[]},{"name":"flutter_open_whatsapp","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"flutter_vibrate","dependencies":[]},{"name":"geolocator","dependencies":["google_api_availability","location_permissions"]},{"name":"google_api_availability","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"location_permissions","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos"]},{"name":"path_provider_macos","dependencies":[]},{"name":"share","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_macos","shared_preferences_web"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"soundpool","dependencies":["soundpool_web"]},{"name":"soundpool_web","dependencies":[]},{"name":"sqflite","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_macos"]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]}],"date_created":"2020-05-08 16:58:16.683776","version":"1.17.0"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.8+2/","dependencies":[]},{"name":"firebase_messaging","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.13/","dependencies":[]},{"name":"flutter_barcode_scanner","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-0.1.7/","dependencies":[]},{"name":"flutter_keyboard_visibility","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-0.7.0/","dependencies":[]},{"name":"flutter_local_notifications","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-1.4.1/","dependencies":[]},{"name":"flutter_open_whatsapp","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/","dependencies":[]},{"name":"flutter_vibrate","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_vibrate-1.0.0/","dependencies":[]},{"name":"geolocator","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/geolocator-5.2.1/","dependencies":["location_permissions"]},{"name":"image_picker","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.6+1/","dependencies":[]},{"name":"location_permissions","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-2.0.5/","dependencies":[]},{"name":"path_provider","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.7/","dependencies":[]},{"name":"permission_handler","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.0+hotfix.5/","dependencies":[]},{"name":"share","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.3+6/","dependencies":[]},{"name":"shared_preferences","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.6+3/","dependencies":[]},{"name":"soundpool","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/soundpool-1.0.1/","dependencies":[]},{"name":"sqflite","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/","dependencies":[]},{"name":"url_launcher","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.2/","dependencies":[]}],"android":[{"name":"connectivity","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity-0.4.8+2/","dependencies":[]},{"name":"firebase_messaging","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.13/","dependencies":[]},{"name":"flutter_barcode_scanner","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_barcode_scanner-0.1.7/","dependencies":[]},{"name":"flutter_keyboard_visibility","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-0.7.0/","dependencies":[]},{"name":"flutter_local_notifications","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-1.4.1/","dependencies":[]},{"name":"flutter_open_whatsapp","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-1.0.7/","dependencies":[]},{"name":"flutter_vibrate","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_vibrate-1.0.0/","dependencies":[]},{"name":"geolocator","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/geolocator-5.2.1/","dependencies":["google_api_availability","location_permissions"]},{"name":"google_api_availability","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/google_api_availability-2.0.4/","dependencies":[]},{"name":"image_picker","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.6+1/","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"location_permissions","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/location_permissions-2.0.5/","dependencies":[]},{"name":"path_provider","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.7/","dependencies":[]},{"name":"permission_handler","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.0+hotfix.5/","dependencies":[]},{"name":"share","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.3+6/","dependencies":[]},{"name":"shared_preferences","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.6+3/","dependencies":[]},{"name":"soundpool","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/soundpool-1.0.1/","dependencies":[]},{"name":"sqflite","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/","dependencies":[]},{"name":"url_launcher","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.2/","dependencies":[]}],"macos":[{"name":"connectivity_macos","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/connectivity_macos-0.1.0+2/","dependencies":[]},{"name":"path_provider_macos","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4/","dependencies":[]},{"name":"shared_preferences_macos","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-0.0.1+6/","dependencies":[]},{"name":"sqflite","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+4/","dependencies":[]}],"linux":[],"windows":[],"web":[{"name":"shared_preferences_web","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-0.1.2+4/","dependencies":[]},{"name":"soundpool_web","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/soundpool_web-1.0.3/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/danielmgawi/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+1/","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity","dependencies":["connectivity_macos"]},{"name":"connectivity_macos","dependencies":[]},{"name":"firebase_messaging","dependencies":[]},{"name":"flutter_barcode_scanner","dependencies":[]},{"name":"flutter_keyboard_visibility","dependencies":[]},{"name":"flutter_local_notifications","dependencies":[]},{"name":"flutter_open_whatsapp","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"flutter_vibrate","dependencies":[]},{"name":"geolocator","dependencies":["google_api_availability","location_permissions"]},{"name":"google_api_availability","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"location_permissions","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos"]},{"name":"path_provider_macos","dependencies":[]},{"name":"permission_handler","dependencies":[]},{"name":"share","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_macos","shared_preferences_web"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"soundpool","dependencies":["soundpool_web"]},{"name":"soundpool_web","dependencies":[]},{"name":"sqflite","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_macos"]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]}],"date_created":"2020-05-10 02:02:57.899858","version":"1.17.0"}
21 changes: 5 additions & 16 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="za.co.sketchdm.homeless">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="za.co.sketchdm.homeless">

<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. -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

<application
android:name=".Application"
android:label="homeless"
android:icon="@mipmap/ic_launcher">
<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">
<application android:name=".Application" android:label="homeless" android:icon="@mipmap/ic_launcher">
<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" />
<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"/>
Expand Down
3 changes: 3 additions & 0 deletions lib/packages.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export 'package:flutter_open_whatsapp/flutter_open_whatsapp.dart';
export 'package:time_ago_provider/time_ago_provider.dart';
export 'package:flutter_form_builder/flutter_form_builder.dart';
export 'package:flutter_map/flutter_map.dart';
export 'package:path_provider/path_provider.dart';
export 'package:csv/csv.dart';
export 'package:permission_handler/permission_handler.dart';

//Routes
export 'package:homeless/routes.dart'; //Contains all named routes
Expand Down
Loading

0 comments on commit 3cbc450

Please sign in to comment.