Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
Update binaries and bindings for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardocolombo committed Aug 8, 2022
1 parent 1917749 commit b983194
Show file tree
Hide file tree
Showing 338 changed files with 369 additions and 341 deletions.
2 changes: 1 addition & 1 deletion BindingSource/AnylineXamarinSDK.iOS/Anyline.a
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
6 changes: 5 additions & 1 deletion BindingSource/AnylineXamarinSDK.iOS/ApiDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ interface ALSampleBufferImageProvider : IALImageProvider, IAnylineVideoDataSampl

// @interface ALAbstractScanViewPlugin : UIView <ALInfoDelegate>
[BaseType(typeof(UIView))]
interface ALAbstractScanViewPlugin : IALInfoDelegate
interface ALAbstractScanViewPlugin : IALInfoDelegate, INativeObject
{
// @property (nonatomic, strong) ALSampleBufferImageProvider * _Nullable sampleBufferImageProvider;
[NullAllowed, Export("sampleBufferImageProvider", ArgumentSemantic.Strong)]
Expand Down Expand Up @@ -3550,6 +3550,10 @@ interface ALAbstractScanViewPluginComposite
[Export("isRunning")]
bool IsRunning { get; set; }

// @property (readonly, nonatomic) NSDictionary<NSString *,ALAbstractScanViewPlugin *> * _Nullable childPlugins;
[NullAllowed, Export ("childPlugins")]
NSDictionary<NSString, ALAbstractScanViewPlugin> ChildPlugins { get; }

// -(void)addPlugin:(ALAbstractScanViewPlugin * _Nonnull)plugin;
[Export("addPlugin:")]
void AddPlugin(ALAbstractScanViewPlugin plugin);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("41.0.0")]
[assembly: AssemblyVersion("41.0.1")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
2 changes: 1 addition & 1 deletion Examples/AnylineExamples.iOS/AnylineExamples.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
</ImageAsset>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Anyline.Xamarin.SDK.iOS" Version="41.0.0" />
<PackageReference Include="Anyline.Xamarin.SDK.iOS" Version="41.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
<Import Project="..\AnylineExamples.Shared\AnylineExamples.Shared.projitems" Label="Shared" />
Expand Down
2 changes: 1 addition & 1 deletion Examples/AnylineExamples.iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<integer>2</integer>
</array>
<key>CFBundleShortVersionString</key>
<string>41.0.0</string>
<string>41.0.1</string>
<key>UILaunchStoryboardName</key>
<string>MainStoryboard.storyboard</string>
<key>UIMainStoryboardFile</key>
Expand Down
30 changes: 27 additions & 3 deletions Examples/AnylineExamples.iOS/ScanViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
using CoreGraphics;
using Foundation;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using UIKit;

Expand Down Expand Up @@ -53,7 +55,7 @@ private void InitializeAnyline()
{
barcodeSVP.BarcodeScanPlugin.ParsePDF417 = true;
}

View.AddSubview(scanView);

// Pin the leading edge of the scan view to the parent view
Expand Down Expand Up @@ -83,8 +85,30 @@ private void ConnectDelegateToScanPlugin()
(scanView.ScanViewPlugin as ALMeterScanViewPlugin)?.MeterScanPlugin.AddDelegate(resultDelegate);
(scanView.ScanViewPlugin as ALDocumentScanViewPlugin)?.DocumentScanPlugin.AddDelegate(resultDelegate);
(scanView.ScanViewPlugin as ALLicensePlateScanViewPlugin)?.LicensePlateScanPlugin.AddDelegate(resultDelegate);
(scanView.ScanViewPlugin as ALSerialScanViewPluginComposite)?.AddDelegate(resultDelegate);
(scanView.ScanViewPlugin as ALParallelScanViewPluginComposite)?.AddDelegate(resultDelegate);

// add listener to the composite as a whole (to get the information once all the results are available)
(scanView.ScanViewPlugin as ALAbstractScanViewPluginComposite)?.AddDelegate(resultDelegate);

// OR

//// add individual listeners (in case you need to listen to partial results and interrupt the workflow)
//// -> in this case, remember to call "scanView.ScanViewPlugin.StopAndReturnError(out error)" after the result to stop scanning.

//var parallelComposite = (scanView.ScanViewPlugin as ALParallelScanViewPluginComposite);
//if (parallelComposite != null)
//{
// foreach (ALAbstractScanViewPlugin item in parallelComposite.ChildPlugins.Values)
// {
// if (item is ALMeterScanViewPlugin meterScanViewPlugin)
// {
// meterScanViewPlugin.MeterScanPlugin.AddDelegate(resultDelegate);
// }
// else if (item is ALBarcodeScanViewPlugin barcodeScanViewPlugin)
// {
// barcodeScanViewPlugin.BarcodeScanPlugin.AddDelegate(resultDelegate);
// }
// }
//}
}

public override void ViewDidAppear(bool animated)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<Reference Include="System.Numerics.Vectors" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Anyline.Xamarin.SDK.iOS" Version="41.0.0" />
<PackageReference Include="Anyline.Xamarin.SDK.iOS" Version="41.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Xamarin.Forms" Version="4.5.0.495" />
<PackageReference Include="Xamarin.Essentials" Version="1.5.3.2" />
Expand Down
2 changes: 1 addition & 1 deletion Nuget/Anyline.Xamarin.SDK.iOS.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata minClientVersion="3.3">
<id>Anyline.Xamarin.SDK.iOS</id>
<version>41.0.0</version>
<version>41.0.1</version>
<title>Anyline Xamarin SDK (iOS)</title>
<authors>Anyline GmbH</authors>
<owners>peteranyline</owners>
Expand Down
2 changes: 1 addition & 1 deletion Nuget/AnylineResources.bundle/Anyline-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>41.0.0</string>
<string>41.0.1</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
2 changes: 1 addition & 1 deletion Nuget/AnylineResources.bundle/module_anyline_ocr/vin.ale
Git LFS file not shown
2 changes: 1 addition & 1 deletion Nuget/AnylineResources.bundle/module_barcode/ean.ale
Git LFS file not shown
Git LFS file not shown
2 changes: 1 addition & 1 deletion Nuget/AnylineResources.bundle/module_document/document.ale
Git LFS file not shown
Git LFS file not shown
2 changes: 1 addition & 1 deletion Nuget/AnylineResources.bundle/module_energy/brightness.ale
Git LFS file not shown
2 changes: 1 addition & 1 deletion Nuget/AnylineResources.bundle/module_energy/dial_meter.ale
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Loading

0 comments on commit b983194

Please sign in to comment.