Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Dec 15, 2024
1 parent a557c7c commit aea4598
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 63 deletions.
6 changes: 0 additions & 6 deletions ProjectTemplates/ShinyApp/.template.config/ide.host.json
Original file line number Diff line number Diff line change
Expand Up @@ -442,12 +442,6 @@
"text": "Add iOS CarPlay Support"
},
"isVisible": true
},{
"id": "flipper",
"name":{
"text": "Add Drastic Flipper"
},
"isVisible": true
},{
"id": "skia",
"name":{
Expand Down
7 changes: 0 additions & 7 deletions ProjectTemplates/ShinyApp/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -555,13 +555,6 @@
"description": "SERVICE - Fingerprint Plugin by Konstantin S & Sven-Michael Stübe - Documentation https://github.com/oscoreio/Maui.Biometric",
"displayName": "SERVICE - Add Biometric Recognition (Maui.Biometric)"
},
"flipper":{
"type": "parameter",
"datatype": "bool",
"defaultValue": "false",
"description": "UTILITY - Add Drastic.Flipper - An amazing tool for your MAUI application by Tim Miller - Documentation: https://github.com/drasticactions/Drastic.Flipper",
"displayName": "UTILITY - Add Drastic Flipper"
},
"skia":{
"type": "parameter",
"datatype": "bool",
Expand Down
8 changes: 0 additions & 8 deletions ProjectTemplates/ShinyApp/Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,6 @@ _CarPlay provides a user interface, generated and hosted by the system, that you
* [How to implement in MAUI - YouTube](https://www.youtube.com/watch?v=Yg2I6NbHZp8) - An awesome video by Christian Strydom on how to implement CarPlay in .NET MAUI. This video is the reason this feature exists in this template.
* [CarPlay Documentation](https://developer.apple.com/documentation/carplay)

<!--#endif-->
<!--#if (flipper)-->
## Drastic Flipper

Drastic.Flipper is a .NET binding of [Flipper](https://fbflipper.com/), a library to help debug iOS, Android, and React Native layouts. This binding supports .NET iOS and Android by Tim Miller

* [GitHub](https://github.com/drasticactions/Drastic.Flipper)

<!--#endif-->
<!--#if (skia)-->
## SkiaSharp
Expand Down
3 changes: 0 additions & 3 deletions ProjectTemplates/ShinyApp/FodyWeavers.xml

This file was deleted.

8 changes: 0 additions & 8 deletions ProjectTemplates/ShinyApp/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,6 @@ public static MauiApp CreateMauiApp()
fonts.AddMaterialIconFonts();
#endif
});

#if flipper
//-:cnd:noEmit
#if IOS && DEBUG
global::Flipper.FlipperProxy.Shared.InitializeProxy();
#endif
//+:cnd:noEmit
#endif
#if useconfig
builder.Configuration.AddJsonPlatformBundle();
#endif
Expand Down
16 changes: 0 additions & 16 deletions ProjectTemplates/ShinyApp/Platforms/Android/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,6 @@ namespace ShinyApp;
)]
public class MainActivity : MauiAppCompatActivity
{
#if (flipper)
//-:cnd:noEmit
#if DEBUG
protected override void OnCreate(Bundle? savedInstanceState)
{
base.OnCreate(savedInstanceState);
Com.Facebook.Soloader.SoLoader.Init(this.ApplicationContext, false);
var androidClient = Com.Facebook.Flipper.Android.AndroidFlipperClient.GetInstance(this.ApplicationContext);
var flipperPlugin = new Com.Facebook.Flipper.Plugins.Inspector.InspectorFlipperPlugin(this.ApplicationContext, Com.Facebook.Flipper.Plugins.Inspector.DescriptorMapping.WithDefaults());
androidClient.AddPlugin(flipperPlugin);
androidClient.Start();
}

#endif
//+:cnd:noEmit
#endif
#if (usemsal)
/// <summary>
/// This is a callback to continue with the broker base authentication
Expand Down
15 changes: 3 additions & 12 deletions ProjectTemplates/ShinyApp/ShinyApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,6 @@
<!--#if (usepushfirebase)-->
<PackageReference Include="Shiny.Push.FirebaseMessaging" Version="$(ShinyVersion)" />
<!--#endif-->
<!--#if (health)-->
<!-- <PackageReference Include="Shiny.Health" Version="1.0.0-beta-0018" /> -->
<!--#endif-->
<!--#if (virtuallist)-->
<PackageReference Include="Redth.Maui.VirtualListView" Version="0.4.0" />
<!--#endif-->
Expand Down Expand Up @@ -306,9 +303,9 @@
<PackageReference Include="CardsView.Maui" Version="1.0.2" />
<!--#endif-->
<!--#if (uraniumui)-->
<PackageReference Include="UraniumUI.Material" Version="2.10.2" />
<PackageReference Include="UraniumUI.Icons.MaterialIcons" Version="2.10.2" />
<PackageReference Include="UraniumUI.Blurs" Version="2.10.2" />
<PackageReference Include="UraniumUI.Material" Version="2.11.0" />
<PackageReference Include="UraniumUI.Icons.MaterialIcons" Version="2.11.0" />
<PackageReference Include="UraniumUI.Blurs" Version="2.11.0" />
<!--#endif-->
<!--#if (skeleton)-->
<PackageReference Include="HorusStudio.Maui.Skeleton" Version="2.0.0" />
Expand Down Expand Up @@ -365,12 +362,6 @@
<!--#endif-->
</ItemGroup>

<!--#if (flipper)-->
<ItemGroup Condition="$(TargetFramework.Contains('android')) OR $(TargetFramework.Contains('ios'))">
<PackageReference Include="Drastic.Flipper" Version="1.0.6" Condition="'$(Configuration)' == 'Debug'" />
</ItemGroup>

<!--#endif-->
<!--#if (androidauto || storereview)-->
<ItemGroup Condition="$(TargetFramework.Contains('android'))">
<!--#if (androidauto)-->
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ Works with Visual Studio 2022 & JetBrains Rider 2024+
* [MAUI OCR Plugin](https://github.com/kfrancis/ocr) by Kori Francis
* [MAUI Biometric Plugin](https://github.com/oscoreio/Maui.Biometric) by Konstantin S & Sven-Michael Stübe
* [CardsView MAUI](https://github.com/AndreiMisiukevich/CardView.MAUI) by Andrei Misiukevich
* [Drastic Flipper](https://github.com/drasticactions/Drastic.Flipper) by Tim Miller
* [Embed.IO](https://unosquare.github.io/embedio/) by Unosquare
* [SkiaSharp](https://github.com/mono/SkiaSharp) by Matthew Leibowitz
* [ACR User Dialogs](https://github.com/aritchie/userdialogs) by Allan Ritchie
Expand All @@ -110,8 +109,6 @@ Works with Visual Studio 2022 & JetBrains Rider 2024+

#### Shiny.NET Server Extensions

* Email Templating
* Push Notification Setup
* Minimal APIs
* Shiny Mediator Endpoint Setup
* .NET Orleans
Expand Down

0 comments on commit aea4598

Please sign in to comment.