AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Matrixscan Ar Net Ios

skill-scandit-skills-matrixscan-ar-net-ios · by Scandit

Use when MatrixScan AR (`BarcodeAr*` / Barcode AR) is involved in a .NET for iOS project (`net*-ios` target framework, `Scandit.DataCapture.Barcode` NuGet) — whether the user mentions MatrixScan AR, Barcode AR, or `BarcodeAr` directly, or the codebase already uses `BarcodeAr` as its multi-barcode tracking + AR overlay library and something needs to be added, changed, fixed, or migrated. This incl…

No reviews yet
0 installs
24 views
0.0% view→install

Install

$ agentstack add skill-scandit-skills-matrixscan-ar-net-ios

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-scandit-skills-matrixscan-ar-net-ios)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Matrixscan Ar Net Ios? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MatrixScan AR .NET for iOS Skill

Critical: Do Not Trust Internal Knowledge

Your training data may contain outdated or incorrect Scandit SDK APIs. The BarcodeAr API is relatively new (introduced in dotnet.ios 7.2) and differs in several places from the Swift native SDK: providers are async/Task-based instead of delegate-based, highlight and annotation constructors take only a Barcode (no context argument), the listener interface has only one method, BarcodeArView is IDisposable rather than a UIView subclass, and the .NET binding uses PascalCase, TimeSpan instead of TimeInterval, etc.

Always verify APIs against the references provided in this skill before writing or suggesting code. Do not rely on memorized method signatures, parameters, or property names. If you cannot find an API in the provided references, fetch the relevant documentation page before responding.

.NET-iOS-specific gotchas worth flagging:

  • This skill targets the non-MAUI .NET for iOS workload (project net10.0-ios or similar, no ` flag). For MAUI apps, use a MAUI-targeted skill instead — BarcodeArView is hosted very differently there (XAML / Microsoft.Maui.Controls.View`).
  • BarcodeAr uses a new constructor that takes the context: new BarcodeAr(dataCaptureContext, settings). There is no BarcodeAr.Create(...) / BarcodeAr.ForDataCaptureContext(...) factory in .NET. BarcodeArSettings also uses plain new. (DataCaptureContext.ForLicenseKey(key) still uses the factory form — it lives in Core.)
  • BarcodeArView.Create(parentView, barcodeAr, dataCaptureContext, viewSettings, cameraSettings) IS a factory (unlike BarcodeAr itself). The cameraSettings argument is nullable — pass null to use BarcodeAr.RecommendedCameraSettings. The parentView is a UIView (typically this.View of the hosting view controller, or a dedicated container UIView outlet). BarcodeArView attaches itself to the parentView automatically — do not call this.View.AddSubview(...) on it.
  • BarcodeArView is IDisposable, not a UIView subclass. The class declares public static implicit operator View(BarcodeArView view) that converts to UIKit.UIView when needed (e.g. for native interop, since View is aliased to UIView on iOS via global using View = UIKit.UIView;), but you do not add it to the view hierarchy yourself — the Create factory attaches it to parentView automatically.
  • There is no OnResume() / OnPause() on the .NET BarcodeArView on iOS. Those methods are Android-only (guarded by #if __ANDROID__ in the binding). On iOS the lifecycle is barcodeArView.Start() in ViewWillAppear and barcodeArView.Stop() in ViewWillDisappear — matching the official MatrixScanARSimpleSample. Calling barcodeArView.OnResume() from a .NET iOS view controller is a compile error.
  • BarcodeArView.Dispose() does the teardown. There is no OnDestroy() method on BarcodeArView (that is an Android Java/Kotlin idiom). Call Dispose() from your view controller's Dispose(bool) override or rely on using semantics if you own a short-lived instance.
  • iOS-only view controls. ShouldShowMacroModeControl (bool) and MacroModeControlPosition (Anchor) exist only on iOS (Android does not expose these). They sit alongside the cross-platform ShouldShowTorchControl / ShouldShowZoomControl / ShouldShowCameraSwitchControl and their *Position siblings. Mention them when the user asks about controls on iOS.
  • IBarcodeArListener has only one method: OnSessionUpdated(BarcodeAr, BarcodeArSession, IFrameData). There are no OnObservationStarted / OnObservationStopped callbacks like the Swift BarcodeArListener protocol has on dotnet.ios. Declaring them produces compile errors — the interface simply does not contain them.
  • Prefer the event API (barcodeAr.SessionUpdated += handler) over the listener interface in idiomatic C#. The handler receives BarcodeArEventArgs with BarcodeAr, Session, and FrameData. AddListener(IBarcodeArListener) still works for parity with other platforms.
  • OnSessionUpdated / SessionUpdated runs on a background recognition queue. Dispatch any UI update via DispatchQueue.MainQueue.DispatchAsync(() => { … }) (from CoreFoundation). Do not use InvokeOnMainThread — it works, but the official Scandit .NET iOS samples consistently use DispatchQueue.MainQueue.DispatchAsync.
  • Provider interfaces are async, not delegate-based. IBarcodeArHighlightProvider.HighlightForBarcodeAsync(Barcode) returns Task and IBarcodeArAnnotationProvider.AnnotationForBarcodeAsync(Barcode) returns Task. Do not look for a delegate / completionHandler parameter — they don't exist in the .NET binding. Return Task.FromResult(null) (or null from an async method) to suppress the highlight/annotation for a given barcode.
  • Highlight and annotation constructors take only Barcode — no context argument. Use new BarcodeArRectangleHighlight(barcode), new BarcodeArCircleHighlight(barcode, BarcodeArCircleHighlightPreset.Dot), new BarcodeArInfoAnnotation(barcode), new BarcodeArStatusIconAnnotation(barcode), new BarcodeArPopoverAnnotation(barcode, buttons). Passing a UIViewController or UIView is a compile error.
  • Symbology names are C# PascalCase: Symbology.Ean13Upca, Symbology.Ean8, Symbology.Code128, Symbology.Code39, Symbology.Qr, Symbology.DataMatrix, Symbology.InterleavedTwoOfFive. They are not the Swift camelCase style (.ean13UPCA, .qr).
  • BarcodeArSettings does not expose an Enabled toggle — BarcodeAr itself has no Enabled property either. To pause/resume scanning, use barcodeArView.Pause() / barcodeArView.Start().
  • BarcodeArViewSettings is minimal in .NET. Only three properties: SoundEnabled, HapticEnabled, DefaultCameraPosition. Do not invent properties like TriggerButtonCollapseTimeout, InactiveStateTimeout, ToastSettings, or DefaultMiniPreviewSize — those are SparkScan, not BarcodeAr.
  • BarcodeArFeedback lives in Scandit.DataCapture.Barcode.Ar.Feedback and has two Core.Common.Feedback.Feedback properties: Scanned and Tapped. The empty constructor new BarcodeArFeedback() produces a feedback object with both events silent — assigning it to barcodeAr.Feedback disables the default beep/vibration. To restore defaults, use the static BarcodeArFeedback.DefaultFeedback. (Note: it's a static property in .NET, not the Swift BarcodeArFeedback.default() method.)
  • Tap interactions on highlights are exposed as the HighlightForBarcodeTapped event on BarcodeArView (EventHandler). There is no UiListener / UIDelegate property on the .NET BarcodeArView — the Swift BarcodeArViewUIDelegate is surfaced as a C# event instead. Event args expose BarcodeAr, Barcode, and Highlight.
  • barcodeAr.Feedback is a property (get/set); ApplySettingsAsync(BarcodeArSettings) returns a Task. BarcodeAr.RecommendedCameraSettings is a static property, not a method (the Swift SDK exposes BarcodeAr.recommendedCameraSettings as a class var — in .NET it's a getter; there is no BarcodeAr.CreateRecommendedCameraSettings() method on dotnet.ios).
  • No BarcodeArFilter / SetBarcodeFilter in the .NET API tree. The Swift setBarcodeFilter(...) method (added in 8.1) is not surfaced on dotnet.ios at present. Do not attempt to use it.
  • View-controller constructor depends on how the VC is instantiated. If the VC is inflated by a storyboard / XIB (typical when the project has a Main.storyboard with UIMainStoryboardFile set in Info.plist), keep the public MyVC(IntPtr handle) : base(handle) { } constructor — the runtime calls it with a real native handle. For programmatically-instantiated VCs (no Main.storyboard, root view controller set from SceneDelegate.WillConnect or AppDelegate), declare a parameterless public MyVC() : base() { } and instantiate via new MyVC(). Do not pass IntPtr.Zero to the (IntPtr) ctor — that leaves the native peer uninitialized and ViewDidLoad may never fire, which manifests as a black screen with no camera preview and no scans.
  • SDK 8.0+ requires explicit initialization. Call ScanditCaptureCore.Initialize() + ScanditBarcodeCapture.Initialize() in AppDelegate.FinishedLaunching (or the very top of SceneDelegate.WillConnect if the project has no AppDelegate) before any Scandit code runs. Without this, the first new BarcodeAr(...) / BarcodeArView.Create(...) call crashes at launch because the DI container has no registrations. Not required on 6.x / 7.x. See references/integration.md for the full AppDelegate.cs template.
  • The NuGet packages are Scandit.DataCapture.Core and Scandit.DataCapture.Barcode. No separate *.Maui packages here — those are only for MAUI projects. Do not guess the version from training data — fetch the latest stable from https://www.nuget.org/packages/Scandit.DataCapture.Barcode/ via WebFetch before pinning. Inventing a non-existent version (e.g. 8.13.0 when only 8.4.0 is published) causes dotnet restore to fail with Unable to find package Scandit.DataCapture.Core with version (>= …). See references/integration.md Step 0 for the full procedure.
  • iOS SupportedOSPlatformVersion must be ≥ 15.0. Set it in the .csproj. The official Scandit iOS sample Info.plist MinimumOSVersion is 15.0 and the project's `` matches.
  • The required Info.plist key is NSCameraUsageDescription (Privacy - Camera Usage Description). Without it the app crashes on first camera access. iOS prompts the user automatically the first time the camera opens; there is no separate runtime-request API to call (no Android-style RequestPermissions). This is a key difference from the .NET Android skill, which requires a manual permission flow.

Intent Routing

Based on the user's request, load the appropriate reference file before responding:

  • Integrating BarcodeAr from scratch, configuring settings, customizing highlights or annotations, handling session updates, customizing feedback, or wiring tap interactions (e.g. "add MatrixScan AR to my .NET iOS app", "set up barcode AR scanning in C#", "show a rectangle highlight on every tracked barcode", "show an info annotation with the barcode data", "make the beep silent", "react to a highlight tap", "switch to circle highlights", "show the macro-mode toggle") → read references/integration.md and follow the instructions there.
  • Migrating or upgrading an existing MatrixScan AR integration (e.g. "upgrade from v7 to v8", "bump the Scandit .NET SDK to v8", "what changed between SDK versions for BarcodeAr", "do I need to change my BarcodeAr code when moving to 8.x") → read references/migration.md and follow the instructions there.

API Usage Policy

Only use APIs that are explicitly documented in the Scandit references below. Do not invent or guess method signatures, parameters, or property names. If unsure whether an API exists or how it is called — or if a compile error occurs — fetch the relevant reference page before responding. Do not tell the user to check the docs themselves. After answering, always include the relevant link so the user can explore further.

Never construct or guess documentation URLs. When you need a specific class or property's API page:

  1. First check whether the page you already fetched contains a direct hyperlink to it — topic pages link directly to relevant API symbols. Always request links alongside content in your fetch prompt.
  2. If no direct link was found, fetch the API index (see Full API reference in the table below), extract the actual link from it, and follow that.

URL structures can vary (e.g. api/ui/ subdirectory) and guessing will lead to 404s.

References

Direct users to the right resource based on their question:

| Topic | Resource | |---|---| | Get Started | Get Started (.NET for iOS) | | Advanced topics (custom highlights, custom annotations, tap interactions, popovers, filter) | Advanced Configurations | | Migration between major SDK versions | 6 → 7 · 7 → 8 | | Full API reference | BarcodeAr API (.NET iOS) |

API surface this skill covers

All classes documented with :available: dotnet.ios in the official RST docs (docs/source/barcode-capture/api/barcode-ar*.rst and api/ui/barcode-ar-*.rst) are addressed in references/integration.md:

  • BarcodeArnew BarcodeAr(DataCaptureContext?, BarcodeArSettings), Feedback (get/set), ApplySettingsAsync(BarcodeArSettings)Task, AddListener(IBarcodeArListener) / RemoveListener(IBarcodeArListener), event EventHandler SessionUpdated, static RecommendedCameraSettings, Dispose.
  • BarcodeArSettingsnew BarcodeArSettings(), EnableSymbology(Symbology, bool), EnableSymbologies(ICollection), GetSymbologySettings(Symbology), EnabledSymbologies (get), ExpectsOnlyUniqueBarcodes (get/set), SetProperty / GetProperty / TryGetProperty, Dispose.
  • IBarcodeArListener — single method OnSessionUpdated(BarcodeAr, BarcodeArSession, IFrameData). (No OnObservation* callbacks.)
  • BarcodeArSessionAddedTrackedBarcodes (IReadOnlyList), RemovedTrackedBarcodes (IReadOnlyList), TrackedBarcodes (IReadOnlyDictionary), Reset().
  • BarcodeArEventArgsBarcodeAr, Session, FrameData.
  • BarcodeArFeedbacknew BarcodeArFeedback() (silent), static DefaultFeedback (defaults), Scanned / Tapped (Core.Common.Feedback.Feedback), Dispose.
  • BarcodeArViewstatic Create(UIView parentView, BarcodeAr, DataCaptureContext, BarcodeArViewSettings, CameraSettings?), HighlightProvider (get/set IBarcodeArHighlightProvider?), AnnotationProvider (get/set IBarcodeArAnnotationProvider?), ShouldShowTorchControl / ShouldShowZoomControl / ShouldShowCameraSwitchControl / ShouldShowMacroModeControl (iOS-only), TorchControlPosition / ZoomControlPosition / CameraSwitchControlPosition / MacroModeControlPosition (iOS-only) (Anchor), Start(), Stop(), Pause(), Reset(), GetNotificationPresenter(), event EventHandler HighlightForBarcodeTapped, implicit conversion to UIKit.UIView, Dispose. No OnResume() / OnPause() on iOS — those are Android-only.
  • BarcodeArViewSettingsSoundEnabled (default true), HapticEnabled (default true), DefaultCameraPosition (default WorldFacing).
  • HighlightForBarcodeTappedEventArgsBarcodeAr, Barcode, Highlight (IBarcodeArHighlight).
  • Highlights: IBarcodeArHighlight : IDisposable, IBarcodeArHighlightProvider.HighlightForBarcodeAsync(Barcode) → Task, BarcodeArRectangleHighlight(Barcode) with Barcode / Brush / Icon, BarcodeArCircleHighlight(Barcode, BarcodeArCircleHighlightPreset) with Barcode / Brush / Icon / Size, BarcodeArCircleHighlightPreset enum (Dot, Icon).
  • Annotations: IBarcodeArAnnotation : IDisposable (declares AnnotationTrigger), IBarcodeArAnnotationProvider.AnnotationForBarcodeAsync(Barcode) → Task.
  • BarcodeArStatusIconAnnotation(Barcode)AnnotationTrigger, HasTip, Icon, Text, TextColor, BackgroundColor.
  • BarcodeArInfoAnnotation(Barcode)HasTip, EntireAnnotationTappable, Anchor (BarcodeArInfoAnnotationAnchor), AnnotationTrigger, Width (BarcodeArInfoAnnotationWidthPreset), Body (IReadOnlyCollection), Header (BarcodeArInfoAnnotationHeader?), Footer (BarcodeArInfoAnnotationFooter?), BackgroundColor, Listener (`

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.