Skip to content

Commit 1bf5c76

Browse files
authored
Merge pull request Redth#533 from Redth/feature
Fix Forms default overlay bindings
2 parents 27840c8 + 2430fde commit 1bf5c76

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

Source/ZXing.Net.Mobile.Forms.Android/ZXing.Net.Mobile.Forms.Android.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
9090
<HintPath>..\..\packages\Xamarin.Forms.2.3.3.193\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
9191
</Reference>
92+
<Reference Include="FastAndroidCamera">
93+
<HintPath>..\..\Samples\Forms\packages\FastAndroidCamera.2.0.0\lib\MonoAndroid403\FastAndroidCamera.dll</HintPath>
94+
</Reference>
9295
</ItemGroup>
9396
<ItemGroup>
9497
<Compile Include="Properties\AssemblyInfo.cs" />

Source/ZXing.Net.Mobile.Forms.Android/packages.config

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3+
<package id="FastAndroidCamera" version="2.0.0" targetFramework="monoandroid71" />
34
<package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
45
<package id="Xamarin.Android.Support.Design" version="23.3.0" targetFramework="monoandroid60" />
56
<package id="Xamarin.Android.Support.v4" version="23.3.0" targetFramework="monoandroid60" />

Source/ZXing.Net.Mobile.Forms/ZXingDefaultOverlay.cs

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ public class ZXingDefaultOverlay : Grid
1515

1616
public ZXingDefaultOverlay ()
1717
{
18+
BindingContext = this;
19+
1820
VerticalOptions = LayoutOptions.FillAndExpand;
1921
HorizontalOptions = LayoutOptions.FillAndExpand;
2022

ZXing.Net.Mobile.Forms.nuspec

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
<projectUrl>http://github.com/Redth/ZXing.Net.Mobile</projectUrl>
1010
<iconUrl>http://raw.github.com/Redth/ZXing.Net.Mobile/master/Art/ZXing.Net.Mobile-Icon.png</iconUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>ZXing.Net.Mobile is a C#/.NET library based on the open source Barcode Library: ZXing (Zebra Crossing), using the ZXing.Net Port. It works with Xamarin.iOS, Xamarin.Android, Windows Phone (Silverlight), and Windows Universal. The goal of ZXing.Net.Mobile is to make scanning barcodes as effortless and painless as possible in your own applications.</description>
12+
<description>
13+
ZXing.Net.Mobile is a C#/.NET library based on the open source Barcode Library: ZXing (Zebra Crossing), using the ZXing.Net Port. It works with Xamarin.iOS, Xamarin.Android, Windows Phone (Silverlight), and Windows Universal. The goal of ZXing.Net.Mobile is to make scanning barcodes as effortless and painless as possible in your own applications.
14+
15+
See https://github.com/Redth/ZXing.Net.Mobile/releases for release notes.
16+
</description>
1317
<summary>ZXing Barcode Scanning for your Xamarin.iOS, Xamarin.Android, Windows Phone (Silverlight), and Windows Universal apps!</summary>
1418
<copyright />
1519
<tags>barcode, zxing, zxing.net, qr, scan, scanning, scanner</tags>

ZXing.Net.Mobile.nuspec

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
<projectUrl>http://github.com/Redth/ZXing.Net.Mobile</projectUrl>
1010
<iconUrl>http://raw.github.com/Redth/ZXing.Net.Mobile/master/Art/ZXing.Net.Mobile-Icon.png</iconUrl>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>ZXing.Net.Mobile is a C#/.NET library based on the open source Barcode Library: ZXing (Zebra Crossing), using the ZXing.Net Port. It works with Xamarin.iOS, Xamarin.Android, Windows Phone (Silverlight) and Windows Universal. The goal of ZXing.Net.Mobile is to make scanning barcodes as effortless and painless as possible in your own applications.</description>
12+
<description>
13+
ZXing.Net.Mobile is a C#/.NET library based on the open source Barcode Library: ZXing (Zebra Crossing), using the ZXing.Net Port. It works with Xamarin.iOS, Xamarin.Android, Windows Phone (Silverlight) and Windows Universal. The goal of ZXing.Net.Mobile is to make scanning barcodes as effortless and painless as possible in your own applications.
14+
15+
See https://github.com/Redth/ZXing.Net.Mobile/releases for release notes.
16+
</description>
1317
<summary>ZXing Barcode Scanning for your Xamarin.iOS, Xamarin.Android, Windows Phone (Silverlight) and Windows Universal apps!</summary>
1418
<copyright />
1519
<tags>barcode, zxing, zxing.net, qr, scan, scanning, scanner</tags>

0 commit comments

Comments
 (0)