Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The idea of this pull is to make decoding capability as a plugin. #107

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Commits on Nov 8, 2023

  1. The idea of this commit is to make barcode capability as a plugin.

    Removed ZXing from Camera.MAUI and move it into a new project as plugin.
    
    Added Google MLKit as a new project as plugin.
    programatix committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    19768a0 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. - Renamed projects

    - Rebased barcode to plugin with barcode inherited from plugin.
    programatix committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    28199e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8c2e861 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Forced execute garbage collection in MLKitBarcodeDecoder.Decode as th…

    …e converted image will cause ram overflow and system to crash.
    programatix committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    390d953 View commit details
    Browse the repository at this point in the history
  2. Automatically stops camera when app is sent to background and restart…

    …s camera on app resume (Android & iOS).
    programatix committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    fd8f906 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    4c5d38b View commit details
    Browse the repository at this point in the history
  2. Added PluginDecoder for binding handling.

    Added Vibrate on decoded option.
    programatix committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    6b69776 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. - Updated to .NET 8.0.

    - Replaced UIGraphics.GetCurrentContext with UIGraphicsImageRenderer (iOS).
    - Updated Readme.md
    programatix committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    df23450 View commit details
    Browse the repository at this point in the history
  2. Fixed Readme.md

    programatix committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    5f41a69 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Reverted back to .NET 7.0 due to restriction on iOS SDK requirement.

    - .NET 8.0 requires iOS SDK 17 which only supported by Xcode 15 where MacOS Ventura is the minimum MacOS version. Older MacBooks are limited to Xcode 14.2 due to this.
    programatix committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    7256a59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c179c28 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Fixed iOS UI freeze issue and resolved obsolete warning in iOS MauiCa…

    …meraView.
    
    - In iOS where when ProcessPlugin (previously ProcessQR) is executed, the UI freezes due to the decoding process running on main thread.
    - AVCapturePhotoOutput.GetJpegPhotoDataRepresentation is obsolete. Replaced with AVCapturePhoto.FileDataRepresentation.
    - Performed Code Cleanup.
    programatix committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    8b8ae26 View commit details
    Browse the repository at this point in the history
  2. Applied fixes from hjam40#69 (hjam40#69)

    - Added additional fixes when camera is mirrored.
    programatix committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    806e3ff View commit details
    Browse the repository at this point in the history
  3. Fixed incorrect cropping in Android when taking a snap from the preview.

    - This should also resolve the issue mentioned in hjam40#106.
    programatix committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    b3811a7 View commit details
    Browse the repository at this point in the history
  4. Added CameraView.PluginDecoders to attach CameraView to more than one…

    … plugin.
    
    - CameraView.PluginDecoder and CameraView.PluginDecoders are independent from each other and if both are set, the plugins in both of the properties will be executed.
    programatix committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    2c36f77 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Fixed random crash for Android and other misc changes

    - The crashes are caused by race conditions due to events raised late. One such example, the user switch from back camera to front and immediately to back again. When switching to front camera an event chain would trigger a start preview but sometimes it wasn't executed before the user switch the camera to back, thus the start preview handler would start a closed or disposed camera. I use "lock" for this purpose.
    - Changed CameraProperty, AutoStartPreviewProperty and AutoStartRecordingProperty to two way binding by default.
    - Updated CameraChanged to auto start preview/recording if the properties are enabled.
    programatix committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    95a5079 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. Fixed more race condition crashes and corrected Torch implementation …

    …for Android.
    
    - If torch is enabled, it will attempt to turn it on whenever the active camera is changed.
    programatix committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    dbd6660 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Fixed Android camera zoom control

    - Replaced ScalerCropRegion to ControlZoomRatio for Android version 30 and above.
    - Fixed the crop region calculation (based on https://stackoverflow.com/a/52570810) where when zoomed with larger value, the crop result is incorrect.
    programatix committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    05d4404 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Resolved iOS issue where multiple decoding processes occured even whe…

    …n the thread limit has reached. In addition to that, plugin defined in PluginDecoder will be excluded from being executed if it also exists in PluginDecoders.
    programatix committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    6dccf72 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Another attempt to fix iOS issue where multiple decoding processes oc…

    …cured even when the thread limit has reached.
    programatix committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    3364765 View commit details
    Browse the repository at this point in the history