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

Commit

Permalink
Remove Firestore and fix critical crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert221 committed Oct 24, 2018
1 parent 9ec1c7c commit 4b5e098
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 70 deletions.
2 changes: 2 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ android {
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

ndk{ abiFilters "armeabi-v7a" }
}

signingConfigs {
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:3.2.1'
classpath 'com.google.gms:google-services:4.0.1'
}
}

Expand Down
49 changes: 0 additions & 49 deletions lib/api/firebase_persistor.dart

This file was deleted.

1 change: 0 additions & 1 deletion lib/ui/scan_dialog/screen.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'dart:async';
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
Expand Down
8 changes: 8 additions & 0 deletions local.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Wed Oct 24 19:21:24 CEST 2018
sdk.dir=C\:\\Users\\walbe\\AppData\\Local\\Android\\Sdk
16 changes: 1 addition & 15 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.2"
cloud_firestore:
dependency: "direct main"
description:
name: cloud_firestore
url: "https://pub.dartlang.org"
source: hosted
version: "0.8.1+1"
code_builder:
dependency: transitive
description:
Expand Down Expand Up @@ -155,20 +148,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.3"
firebase_core:
dependency: transitive
description:
name: firebase_core
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.5+1"
firebase_ml_vision:
dependency: "direct main"
description:
name: firebase_ml_vision
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.2"
version: "0.2.0+1"
fixnum:
dependency: transitive
description:
Expand Down
6 changes: 2 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: Medicine tracking that saves your time. And health.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# Read more about versioning at semver.org.
version: 1.0.0+1
version: 1.0.2+3

environment:
sdk: ">=2.0.0-dev.68.0 <3.0.0"
Expand All @@ -24,12 +24,10 @@ dependencies:
built_value: ^6.1.4
built_collection: ^4.0.0

cloud_firestore: ^0.8.1+1

scoped_model: ^0.3.0
http: ^0.11.3
camera: ^0.2.4
firebase_ml_vision: ^0.1.2
firebase_ml_vision: ^0.2.0+1
intl: ^0.15.7
uuid: ^1.0.3
path_provider: ^0.4.1
Expand Down

0 comments on commit 4b5e098

Please sign in to comment.