Skip to content

Commit

Permalink
Documentation added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovidiu USVAT committed Feb 25, 2021
1 parent 39479a2 commit 7a733c9
Show file tree
Hide file tree
Showing 16 changed files with 330 additions and 21 deletions.
38 changes: 35 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,39 @@
# Crew
# Crew: A Flutter app using SMS auth with Firebase and Google Vision

This a mobile app for scanning receipts and give rewards for each $20 spent.
This is a mobile app for scanning receipts using phone camera and send the image to `Google API` and process the response.

It have a reward system based on the money the customer has spent.

## App screenshots

![splash screen](assets/screenshots/1.png)

![splash screen](assets/screenshots/2.png)

![splash screen](assets/screenshots/3.png)

![splash screen](assets/screenshots/4.png)

![splash screen](assets/screenshots/5.png)

![splash screen](assets/screenshots/6.png)

## Log in the app

For logging in the app you should use `+1 555 555 5555` phone number and the `123456` pass code.
For logging in the app you should use `+1 555 555 5555` phone number and the `123456` pass code.

## Set up the app for you

For implementing your own Firebase projects don't forget to import your `GoogleService-Info.plist` for iOS and `google-services.json` for Android. The `bundle/application ID` of the app is `com.ovidiuusvat.crew`.

If you want to configure the app for your own `Google Vision API` account, you shoud replace the file from `assets/data/credentials.json` with your configuration `json` file.

## Contact

For more informations contact the developer: [Ovidiu Usvat](mailto:[email protected]?subject=[GitHub]%20Source%20Crew%20Project)

## Support

If you like this open source repo you can encourage me by buying me a coffee(or a tea).

<a href="https://www.buymeacoffee.com/ovidiuusvat" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
Binary file added assets/screenshots/1.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/screenshots/2.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/screenshots/3.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/screenshots/4.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/screenshots/5.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/screenshots/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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, '9.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
107 changes: 107 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
PODS:
- camera (0.0.1):
- Flutter
- Firebase/Auth (7.3.0):
- Firebase/CoreOnly
- FirebaseAuth (~> 7.3.0)
- Firebase/CoreOnly (7.3.0):
- FirebaseCore (= 7.3.0)
- firebase_auth (0.20.0-1):
- Firebase/Auth (= 7.3.0)
- firebase_core
- Flutter
- firebase_core (0.7.0):
- Firebase/CoreOnly (= 7.3.0)
- Flutter
- FirebaseAuth (7.3.0):
- FirebaseCore (~> 7.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.0)
- GoogleUtilities/Environment (~> 7.0)
- GTMSessionFetcher/Core (~> 1.4)
- FirebaseCore (7.3.0):
- FirebaseCoreDiagnostics (~> 7.0)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/Logger (~> 7.0)
- FirebaseCoreDiagnostics (7.6.0):
- GoogleDataTransport (~> 8.0)
- GoogleUtilities/Environment (~> 7.0)
- GoogleUtilities/Logger (~> 7.0)
- nanopb (~> 2.30907.0)
- Flutter (1.0.0)
- GoogleDataTransport (8.2.0):
- nanopb (~> 2.30907.0)
- GoogleUtilities/AppDelegateSwizzler (7.2.2):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.2.2):
- PromisesObjC (~> 1.2)
- GoogleUtilities/Logger (7.2.2):
- GoogleUtilities/Environment
- GoogleUtilities/Network (7.2.2):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.2.2)"
- GoogleUtilities/Reachability (7.2.2):
- GoogleUtilities/Logger
- GTMSessionFetcher/Core (1.5.0)
- nanopb (2.30907.0):
- nanopb/decode (= 2.30907.0)
- nanopb/encode (= 2.30907.0)
- nanopb/decode (2.30907.0)
- nanopb/encode (2.30907.0)
- path_provider (0.0.1):
- Flutter
- PromisesObjC (1.2.12)

DEPENDENCIES:
- camera (from `.symlinks/plugins/camera/ios`)
- firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
- Flutter (from `Flutter`)
- path_provider (from `.symlinks/plugins/path_provider/ios`)

SPEC REPOS:
trunk:
- Firebase
- FirebaseAuth
- FirebaseCore
- FirebaseCoreDiagnostics
- GoogleDataTransport
- GoogleUtilities
- GTMSessionFetcher
- nanopb
- PromisesObjC

EXTERNAL SOURCES:
camera:
:path: ".symlinks/plugins/camera/ios"
firebase_auth:
:path: ".symlinks/plugins/firebase_auth/ios"
firebase_core:
:path: ".symlinks/plugins/firebase_core/ios"
Flutter:
:path: Flutter
path_provider:
:path: ".symlinks/plugins/path_provider/ios"

SPEC CHECKSUMS:
camera: a0ca5080336f7af47b88436e5e26da3dee5568f0
Firebase: 26223c695fe322633274198cb19dca8cb7e54416
firebase_auth: b55e5136528dced982022ee073ed4b48f15c055c
firebase_core: 91b27774a52f41f8b58484a75edf71197ac01c59
FirebaseAuth: c224a0cf1afa0949bd5c7bfcf154b4f5ce8ddef2
FirebaseCore: 4d3c72622ce0e2106aaa07bb4b2935ba2c370972
FirebaseCoreDiagnostics: ee1184d51da3293335b83355aad20f537acc24cf
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
GoogleDataTransport: 1024b1a4dfbd7a0e92cb20d7e0a6f1fb66b449a4
GoogleUtilities: 31c5b01f978a70c6cff2afc6272b3f1921614b43
GTMSessionFetcher: b3503b20a988c4e20cc189aa798fd18220133f52
nanopb: 59221d7f958fb711001e6a449489542d92ae113e
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97

PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c

COCOAPODS: 1.10.1
Loading

0 comments on commit 7a733c9

Please sign in to comment.