Skip to content

Commit

Permalink
Merge pull request #192 from AmolGangadhare/master-stable
Browse files Browse the repository at this point in the history
Master <-- Master stable merge updates
  • Loading branch information
AmolGangadhare authored Apr 19, 2021
2 parents 93c8447 + fafd563 commit 73e2505
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .idea/libraries/Flutter_Plugins.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 40 additions & 29 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.0.2

* Android: Fixes #137 and #132
* iOS: Fixes #97

## 1.0.1

* Merge PR #90
Expand Down
4 changes: 2 additions & 2 deletions android/src/main/res/layout/barcode_capture.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@

<ImageView
android:id="@+id/imgViewBarcodeCaptureUseFlash"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_centerInParent="true"
android:contentDescription="Flash button"
android:src="@drawable/ic_barcode_flash_off" />
Expand Down
13 changes: 13 additions & 0 deletions example/ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Volumes/MyData/Flutter_SDK/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/admin/Desktop/FlutterBarcodeScanner/FBSStableMaster/flutter_barcode_scanner/example"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "FLUTTER_BUILD_NAME=2.0.0.0"
export "FLUTTER_BUILD_NUMBER=2.0.0.0"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=false"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.packages"
6 changes: 3 additions & 3 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.amolg.flutterBarcodeScannerExample20;
PRODUCT_BUNDLE_IDENTIFIER = com.amolg.flutterBarcodeScannerExample2021;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
Expand Down Expand Up @@ -526,7 +526,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.amolg.flutterBarcodeScannerExample20;
PRODUCT_BUNDLE_IDENTIFIER = com.amolg.flutterBarcodeScannerExample2021;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down Expand Up @@ -559,7 +559,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.amolg.flutterBarcodeScannerExample20;
PRODUCT_BUNDLE_IDENTIFIER = com.amolg.flutterBarcodeScannerExample2021;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down
5 changes: 5 additions & 0 deletions ios/Classes/SwiftFlutterBarcodeScannerPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ class BarcodeScannerViewController: UIViewController {
super.viewWillAppear(animated)
self.moveVertically()
}

override public func viewDidDisappear(_ animated: Bool){
// Stop video capture
captureSession.stopRunning()
}

// Init UI components needed
func initUIComponents(){
Expand Down
22 changes: 0 additions & 22 deletions ios/flutter_barcode_scanner.podspec

This file was deleted.

0 comments on commit 73e2505

Please sign in to comment.