|
|
- <Project Sdk="Microsoft.NET.Sdk">
-
- <PropertyGroup>
- <TargetFrameworks>net6.0-android;</TargetFrameworks>
- <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
- <!-- <TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> -->
- <OutputType>Exe</OutputType>
- <RootNamespace>firebase</RootNamespace>
- <UseMaui>true</UseMaui>
- <SingleProject>true</SingleProject>
- <ImplicitUsings>enable</ImplicitUsings>
-
- <!-- Display name -->
- <ApplicationTitle>firebase</ApplicationTitle>
-
- <!-- App Identifier -->
- <ApplicationId>com.companyname.firebase</ApplicationId>
- <ApplicationIdGuid>88f02b35-6bcc-47c6-9ae0-e68077999818</ApplicationIdGuid>
-
- <!-- Versions -->
- <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
- <ApplicationVersion>1</ApplicationVersion>
-
- <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
- </PropertyGroup>
-
- <ItemGroup>
- <!-- App Icon -->
- <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
-
- <!-- Splash Screen -->
- <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
-
- <!-- Images -->
- <MauiImage Include="Resources\Images\*" />
- <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
-
- <!-- Custom Fonts -->
- <MauiFont Include="Resources\Fonts\*" />
-
- <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
- <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
- </ItemGroup>
-
- <ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">
- <PackageReference Include="Plugin.Firebase" Version="2.0.6" />
- <GoogleServicesJson Include="google-services.json" />
- <PackageReference Include="Xamarin.Kotlin.StdLib.Jdk7" Version="1.7.10" ExcludeAssets="build;buildTransitive" />
- <PackageReference Include="Xamarin.Kotlin.StdLib.Jdk8" Version="1.7.10" ExcludeAssets="build;buildTransitive" />
- </ItemGroup>
-
- <ItemGroup>
- <PackageReference Include="Plugin.Firebase.Crashlytics" Version="2.0.1" />
- </ItemGroup>
-
- </Project>
|