Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/Plugin.Scanner.iOS.Binding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,12 @@ jobs:
scheme: semver
increment: patch

- name: Pack Plugin.Scanner.iOS.Binding.${{ steps.version.outputs.version }}-alpha
- name: Pack Plugin.Scanner.iOS.Binding.${{ steps.version.outputs.version }}
if: ${{ github.event_name == 'workflow_dispatch' }}
run: dotnet pack ${{ env.Plugin_Scanner_iOS_BindingProjectPath }} -o ./artifacts -c ${{ env.Configuration }} -p:PackageVersion=${{ steps.version.outputs.version }}-alpha
run: dotnet pack ${{ env.Plugin_Scanner_iOS_BindingProjectPath }} -o ./artifacts -c ${{ env.Configuration }} -p:PackageVersion=${{ steps.version.outputs.version }}

- name: Upload NuGet artifact
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/upload-artifact@v4
with:
name: Plugin.Scanner.iOS.Binding.${{ steps.version.outputs.version }}-alpha.nupkg
path: ./artifacts/*.nupkg
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ jobs:

for project in "${projects[@]}"; do
echo "Packing $project"
dotnet pack "$project" -o ./artifacts -c ${{ env.Configuration }} -p:PackageVersion=${{ steps.version.outputs.version }}-alpha
dotnet pack "$project" -o ./artifacts -c ${{ env.Configuration }} -p:PackageVersion=${{ steps.version.outputs.version }}
done

- name: Pack Uno plugin
run: dotnet build ${{ env.Plugin_Scanner_Uno_ProjectPath }} -o ./artifacts -c ${{ env.Configuration }} -p:PackageVersion=${{ steps.version.outputs.version }}-alpha -p:GeneratePackageOnBuild=true
run: dotnet build ${{ env.Plugin_Scanner_Uno_ProjectPath }} -o ./artifacts -c ${{ env.Configuration }} -p:PackageVersion=${{ steps.version.outputs.version }} -p:GeneratePackageOnBuild=true

- name: Upload NuGet artifact
uses: actions/upload-artifact@v4
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .screenshots/Android/textscanner/highlighting.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .screenshots/Android/textscanner/pinchToZoom.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .screenshots/iOS/textscanner/highlighting.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .screenshots/iOS/textscanner/noHighlighting.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .screenshots/iOS/textscanner/pinchToZoom.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .screenshots/iOS/textscanner/regionOfInterest.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Condition="$(MSBuildProjectName.Contains('iOS')) or $(MSBuildProjectName.Contains('Avalonia.Tests'))" Include="..\..\..\icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Condition="$(MSBuildProjectName.Contains('iOS')) == false and $(MSBuildProjectName.Contains('Avalonia.Tests')) == false" Include="..\..\icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
Expand All @@ -41,6 +49,7 @@
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Description>This plugin aims to enalbe simple, fast and customizable data scanning(barcodes, text, documents...) using native Android and iOS APIs ML Kit and Vision Kit.</Description>
</PropertyGroup>
Expand Down
22 changes: 16 additions & 6 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,26 @@
<ItemGroup>
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.3" />
<PackageVersion Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.12.19" />
<PackageVersion Include="Plugin.Scanner.iOS.Binding" Version="0.0.1-alpha" />
<PackageVersion Include="Plugin.Scanner.iOS.Binding" Version="*" />
<PackageVersion Include="SonarAnalyzer.CSharp" Version="10.19.0.132793" />
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
<PackageVersion Include="Microsoft.Maui.Controls" Version="10.0.10" />
<PackageVersion Include="Avalonia" Version="$(AvaloniaVersion)" />
<PackageVersion Include="Avalonia.Android" Version="$(AvaloniaVersion)" />
<PackageVersion Include="Avalonia.iOS" Version="$(AvaloniaVersion)" />
<PackageVersion Include="Xamarin.AndroidX.Camera.MLKit.Vision" Version="1.4.2.3" />
<PackageVersion Include="Xamarin.Google.Android.Material" Version="1.12.0.5" />
<PackageVersion Include="Xamarin.Google.MlKit.BarcodeScanning" Version="117.3.0.5" />
<PackageVersion Include="Xamarin.Google.MlKit.BarcodeScanning" Version="117.3.0.6" />
<PackageVersion Include="Xamarin.Google.MlKit.TextRecognition" Version="116.0.1.6" />
<PackageVersion Include="Xamarin.AndroidX.Camera.Camera2" Version="1.4.2.3" />
<PackageVersion Include="Microsoft.Maui.Controls" Version="10.0.10" />
<PackageVersion Include="Avalonia" Version="$(AvaloniaVersion)" />
<PackageVersion Include="Avalonia.Android" Version="$(AvaloniaVersion)" />
<PackageVersion Include="Avalonia.iOS" Version="$(AvaloniaVersion)" />
<PackageVersion Include="Xamarin.GooglePlayServices.MLKit.DocumentScanner" Version="116.0.0.1" />
<PackageVersion Include="Xamarin.AndroidX.Lifecycle.LiveData.Core" Version="2.10.0.1" />
<PackageVersion Include="Xamarin.AndroidX.Activity" Version="1.12.2.1" />
<PackageVersion Include="Xamarin.AndroidX.Lifecycle.Common" Version="2.10.0.1" />
<PackageVersion Include="Xamarin.AndroidX.Lifecycle.LiveData" Version="2.10.0.1" />
<PackageVersion Include="Xamarin.AndroidX.Fragment.Ktx" Version="1.8.9.1" />
<PackageVersion Include="Xamarin.AndroidX.Compose.Runtime.Annotation.Jvm" Version="1.10.0.1"/>
<PackageVersion Include="Xamarin.AndroidX.Lifecycle.Process" Version="2.10.0.1"/>
<PackageVersion Include="Xamarin.AndroidX.AppCompat" Version="1.7.1.2"/>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"msbuild-sdks": {
"Uno.Sdk": "6.5.31"
"Uno.Sdk": "6.5.29"
},
"sdk": {
"version": "10.0.100",
Expand Down
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading