Skip to content

Commit

Permalink
fix: #1155 - MissingPluginException (iOS scanner issue) (#1210)
Browse files Browse the repository at this point in the history
* fix: #1155 - MissingPluginException (iOS scanner issue)

* fix: #1155 - MissingPluginException (iOS scanner issue)
- Use an old version of google_ml_kit to remove firebase link
  • Loading branch information
cli1005 authored Mar 16, 2022
1 parent ca7be80 commit 44e9096
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/smooth_app/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import UIKit
import Flutter


@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:typed_data';
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
import 'package:google_ml_barcode_scanner/google_ml_barcode_scanner.dart';
import 'package:google_ml_kit/google_ml_kit.dart';

/// Abstract getter of Camera Image, for barcode scan.
///
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:typed_data';
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';
import 'package:google_ml_barcode_scanner/google_ml_barcode_scanner.dart';
import 'package:google_ml_kit/google_ml_kit.dart';
import 'package:smooth_app/pages/scan/abstract_camera_image_getter.dart';
import 'package:typed_data/typed_buffers.dart';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:typed_data';
import 'package:camera/camera.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:google_ml_barcode_scanner/google_ml_barcode_scanner.dart';
import 'package:google_ml_kit/google_ml_kit.dart';
import 'package:smooth_app/pages/scan/abstract_camera_image_getter.dart';

/// Camera Image helper where we get the full image.
Expand Down
2 changes: 1 addition & 1 deletion packages/smooth_app/lib/pages/scan/ml_kit_scan_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:camera/camera.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:google_ml_barcode_scanner/google_ml_barcode_scanner.dart';
import 'package:google_ml_kit/google_ml_kit.dart';
import 'package:provider/provider.dart';
import 'package:smooth_app/data_models/continuous_scan_model.dart';
import 'package:smooth_app/data_models/user_preferences.dart';
Expand Down
2 changes: 1 addition & 1 deletion packages/smooth_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ dependencies:
sentry_flutter: ^6.3.0
url_launcher: ^6.0.20
visibility_detector: ^0.2.2
google_ml_barcode_scanner: ^0.0.2
camera: ^0.9.4+16
percent_indicator: ^4.0.0
crop_your_image: ^0.7.0
mailto: ^2.0.0
flutter_native_splash: ^2.1.0
google_ml_kit: 0.6.0



Expand Down

0 comments on commit 44e9096

Please sign in to comment.