Skip to content

Commit

Permalink
Version bumps & ffimageloading
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Dec 2, 2023
1 parent 2fa01be commit b3e4dcf
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 10 deletions.
9 changes: 7 additions & 2 deletions ProjectTemplates/ShinyApp/.template.config/ide.host.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,13 @@
"text": "Add Audio (Plugin.Maui.Audio)"
},
"isVisible": true
},
{
},{
"id": "ffimageloading",
"name":{
"text": "Add FFImageLoading MAUI (FFImageLoading.Maui)"
},
"isVisible": true
},{
"id": "fingerprint",
"name":{
"text": "Add Fingerprint/Facial Recognition (Plugin.Fingerprint)"
Expand Down
7 changes: 7 additions & 0 deletions ProjectTemplates/ShinyApp/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,13 @@
"description": "Add SkiaSharp Extended (Lottie) - Documentation: https://github.com/mono/SkiaSharp.Extended",
"displayName": "Add SkiaSharp Extended (Lottie)"
},
"ffimageloading":{
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "Add FFImageLoading MAUI - Documentation: https://github.com/microspaze/FFImageLoading.Maui",
"displayName": "Add FFImageLoading MAUI"
},
"embedio": {
"type": "parameter",
"datatype": "bool",
Expand Down
6 changes: 6 additions & 0 deletions ProjectTemplates/ShinyApp/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
#if skia || skiaextended
using SkiaSharp.Views.Maui.Controls.Hosting;
#endif
#if ffimageloading
using FFImageLoading.Maui;
#endif
#if uraniumui
using UraniumUI;
#endif
Expand Down Expand Up @@ -66,6 +69,9 @@ public static MauiApp CreateMauiApp() => MauiApp
#if sharpnadocv
.UseSharpnadoCollectionView(false)
#endif
#if ffimageloading
.UseFFImageLoading()
#endif
#if skia || skiaextended
.UseSkiaSharp()
#endif
Expand Down
15 changes: 9 additions & 6 deletions ProjectTemplates/ShinyApp/ShinyApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" Condition="'$(Configuration)' == 'Debug'" />

<!--#if (shinyframework || communitytoolkit)-->
<PackageReference Include="CommunityToolkit.Maui" Version="6.1.0" />
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.0" />
<!--#endif-->
<!--#if (usecsharpmarkup)-->
<PackageReference Include="CommunityToolkit.Maui.Markup" Version="3.3.1" />
<PackageReference Include="CommunityToolkit.Maui.Markup" Version="4.0.0" />
<!--#endif-->
<!--#if (mediaelement)-->
<PackageReference Include="CommunityToolkit.Maui.MediaElement" Version="2.0.0" />
<PackageReference Include="CommunityToolkit.Maui.MediaElement" Version="3.0.0" />
<!--#endif-->
<!--#if (usemauimaps)-->
<PackageReference Include="Microsoft.Maui.Controls.Maps" Version="$(MauiVersion)" />
Expand Down Expand Up @@ -189,16 +189,19 @@
<PackageReference Include="Sharpnado.CollectionView.Maui" Version="3.0.0" />
<!--#endif-->
<!--#if (uraniumui)-->
<PackageReference Include="UraniumUI.Material" Version="2.5.6" />
<PackageReference Include="UraniumUI.Icons.MaterialIcons" Version="2.5.6" />
<PackageReference Include="UraniumUI.Blurs" Version="2.5.6" />
<PackageReference Include="UraniumUI.Material" Version="2.7.2" />
<PackageReference Include="UraniumUI.Icons.MaterialIcons" Version="2.7.2" />
<PackageReference Include="UraniumUI.Blurs" Version="2.7.2" />
<!--#endif-->
<!--#if (skia)-->
<PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="2.88.6" />
<!--#endif-->
<!--#if (skiaextended)-->
<PackageReference Include="SkiaSharp.Extended.UI.Maui" Version="2.0.0-preview.86" />
<!--#endif-->
<!--#if (ffimageloading)-->
<PackageReference Include="FFImageLoading.Maui" Version="1.0.3" />
<!--#endif-->
<!--#if (embedio)-->
<PackageReference Include="EmbedIO" Version="3.5.2" />
<!--#endif-->
Expand Down
2 changes: 1 addition & 1 deletion ProjectTemplates/ShinyAspNet/ShinyAspNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<MicrosoftVersion>8.0.0</MicrosoftVersion>
<FastEndpointsVersion>5.20.0-rc2</FastEndpointsVersion>
<FastEndpointsVersion>5.20.1</FastEndpointsVersion>
<!--#if (orleans)-->
<OrleansVersion>7.2.3</OrleansVersion>
<!--#endif-->
Expand Down
2 changes: 1 addition & 1 deletion Template.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>Shiny.NET Templates - One stop shop to setup almost everything you can imagine within your .NET MAUI application</Description>
<PackageType>Template</PackageType>
<PackageVersion>2.0.0-beta-0001</PackageVersion>
<PackageVersion>2.0.0-beta-0002</PackageVersion>
<PackageId>Shiny.Templates</PackageId>
<Title>Shiny Templates</Title>
<Authors>Allan Ritchie</Authors>
Expand Down

0 comments on commit b3e4dcf

Please sign in to comment.