-
Notifications
You must be signed in to change notification settings - Fork 0
/
ExampleApp.csproj
146 lines (129 loc) · 6.63 KB
/
ExampleApp.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0-android;net7.0-ios</TargetFrameworks>
<RootNamespace>ExampleApp</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Display name -->
<ApplicationTitle>ExampleApp</ApplicationTitle>
<!-- App Identifier -->
<ApplicationId>com.exponea.ExponeaSDK-Example2</ApplicationId>
<ApplicationIdGuid>baebc4b6-bfb4-4528-b749-7773328c9bfd</ApplicationIdGuid>
<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
<AotAssemblies>true</AotAssemblies>
<OutputType>Exe</OutputType>
<RunAOTCompilation>true</RunAOTCompilation>
<UseInterpreter>true</UseInterpreter>
<BuildWithMSBuildOnMono>false</BuildWithMSBuildOnMono>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-ios|AnyCPU'">
<CreatePackage>false</CreatePackage>
<CodesignProvision>Automatic</CodesignProvision>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchInterpreter>-all</MtouchInterpreter>
<MtouchArch>x86_64</MtouchArch>
<MtouchLink>None</MtouchLink>
<CodesignEntitlements>Platforms\iOS\Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0-android|AnyCPU'">
<AndroidEnableMultiDex>true</AndroidEnableMultiDex>
<AndroidDexTool>d8</AndroidDexTool>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('android'))">
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyStore>Platforms\Android\ExampleApp.jks</AndroidSigningKeyStore>
<AndroidSigningStorePass>Exponea</AndroidSigningStorePass>
<AndroidSigningKeyAlias>key0</AndroidSigningKeyAlias>
<AndroidSigningKeyPass>Exponea</AndroidSigningKeyPass>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('android'))">
<AndroidKeyStore>True</AndroidKeyStore>
<AndroidSigningKeyStore>Platforms\Android\ExampleApp.jks</AndroidSigningKeyStore>
<AndroidSigningStorePass>Exponea</AndroidSigningStorePass>
<AndroidSigningKeyAlias>key0</AndroidSigningKeyAlias>
<AndroidSigningKeyPass>Exponea</AndroidSigningKeyPass>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net7.0-ios|AnyCPU'">
<CreatePackage>false</CreatePackage>
<MtouchInterpreter>-all</MtouchInterpreter>
<MtouchArch>x86_64</MtouchArch>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net7.0-ios|AnyCPU'">
<CreatePackage>false</CreatePackage>
<MtouchArch>x86_64</MtouchArch>
<CodesignEntitlements>Platforms\iOS\Entitlements.plist</CodesignEntitlements>
<CodesignProvision>Exponea iOS SDK Example App</CodesignProvision>
<CodesignKey>Apple Development: Adam Mihalik (9ZX7RBSVJF)</CodesignKey>
</PropertyGroup>
<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon_example.svg" ForegroundFile="Resources\AppIcon\appiconexamplefg.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)" />
<MauiIcon Include="Resources\AppIcon\appicon_example_round.svg">
<ForegroundFile>Resources\AppIcon\appiconexamplefg.svg</ForegroundFile>
<Color>#512BD4</Color>
</MauiIcon>
<MauiIcon Include="Resources\AppIcon\appicon_example.svg">
<ForegroundFile>Resources\AppIcon\appiconexamplefg.svg</ForegroundFile>
<Color>#512BD4</Color>
</MauiIcon>
<!-- Assets -->
<MauiAsset Include="Platforms\Android\Assets\agconnect-services.json" Condition="'$(TargetFramework)' == 'net6.0-android'" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BloomreachSDK\BloomreachSDK.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)|$(TargetFramework)'=='Release|net7.0-ios'">
<ProjectReference Include="..\ExamplePushServiceExtension\ExamplePushServiceExtension.csproj">
<IsAppExtension>true</IsAppExtension>
<IsWatchApp>false</IsWatchApp>
</ProjectReference>
<ProjectReference Include="..\ExamplePushContentExtension\ExamplePushContentExtension.csproj">
<IsAppExtension>true</IsAppExtension>
<IsWatchApp>false</IsWatchApp>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Update="Platforms\Android\MainApplication.cs">
<ExcludeFromCurrentConfiguration>false</ExcludeFromCurrentConfiguration>
</Compile>
</ItemGroup>
<!-- Android -->
<ItemGroup Condition="$(TargetFramework.StartsWith('net6.0-android')) != true">
<Compile Remove="**\Android\**\*.cs" />
<None Include="**\Android\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
</ItemGroup>
<!-- Both iOS and Mac Catalyst -->
<ItemGroup Condition="$(TargetFramework.StartsWith('net7.0-ios')) != true AND $(TargetFramework.StartsWith('net7.0-maccatalyst')) != true">
<Compile Remove="**\MaciOS\**\*.cs" />
<None Include="**\MaciOS\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
</ItemGroup>
<!-- iOS -->
<ItemGroup Condition="$(TargetFramework.StartsWith('net7.0-ios')) != true">
<Compile Remove="**\iOS\**\*.cs" />
<None Include="**\iOS\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
</ItemGroup>
<!-- Dependencies -->
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">
<GoogleServicesJson Include="Platforms\Android\google-services.json" />
<PackageReference Include="Xamarin.Firebase.Messaging" Version="123.1.2.2" />
<PackageReference Include="Huawei.Hms.Push" Version="6.10.0.300" />
<PackageReference Include="Huawei.Hms.NetworkFrameworkCompat" Version="6.0.11.300" />
</ItemGroup>
</Project>