Commit ad15ad3b authored by CLOUARD Regis's avatar CLOUARD Regis
Browse files

Merge branch '75_Bug-on-mapchoice' into 'master'

75 bug on mapchoice

See merge request rclouard/vikazimut-flutter!53
parents 8795aa0b 08f143d2
......@@ -8,7 +8,7 @@ if (localPropertiesFile.exists()) {
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.")
throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
......@@ -67,7 +67,7 @@ android {
// Enables resource shrinking, which is performed by the
// Android Gradle plugin.
shrinkResources true
proguardFiles 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
......
......@@ -19,3 +19,11 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
-renamesourcefileattribute SourceFile
# Flutter
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
import 'dart:convert';
import 'package:nfc_manager/nfc_manager.dart';
import 'package:nfc_manager/src/nfc_manager/nfc_manager.dart';
/// See NFC forum specification for "Text Record Type Definition"
/// https://blog.zenika.com/2012/04/24/nfc-iv-les-types-de-messages-du-nfc-forum-wkt/
......
import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/annotations.dart';
import 'package:mockito/mockito.dart';
import 'package:vikazimut/course/course_controller/free_order_auto_validation_course_controller.dart';
import 'package:vikazimut/course/course_presenter.dart';
import '../validation_forcing/qrcode_control_point_validation_forcing_handler_test.mocks.dart';
......@@ -11,5 +9,6 @@ import '../validation_forcing/qrcode_control_point_validation_forcing_handler_te
void main() {
test('When course.device not started and start with course.device', () async {
var coursePresenter = MockCoursePresenter();
expect(coursePresenter, isNotNull);
});
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment