-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Context: dotnet/android@dbdc5fa Context: xamarin/xamarin-macios@4489999 Updates samples and template to target net9.0, using the new `@(AndroidGradleProject)` and `@(XcodeProject)` build actions added to the .NET MAUI SDKs. The `CommunityToolkit.Maui.NativeLibraryInterop.BuildTasks` project has been removed as it is no longer relevant for net9.0.
- Loading branch information
Showing
40 changed files
with
119 additions
and
998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
facebook/android/Facebook.Android.Binding/Facebook.Android.Binding.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net8.0-android</TargetFramework> | ||
<TargetFramework>net9.0-android</TargetFramework> | ||
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<!-- | ||
Enable trim analyzers for Android class libraries. | ||
To learn more, see: https://learn.microsoft.com/dotnet/core/deploying/trimming/prepare-libraries-for-trimming | ||
--> | ||
<IsTrimmable>true</IsTrimmable> | ||
<RootNamespace>Facebook</RootNamespace> | ||
<AndroidGenerateResourceDesigner>false</AndroidGenerateResourceDesigner> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="CommunityToolkit.Maui.NativeLibraryInterop.BuildTasks" Version="$(NLIPackageVersion)" PrivateAssets="all" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<NLIGradleProjectReference Include="../native" > | ||
<AndroidGradleProject Include="../native/build.gradle.kts" > | ||
<ModuleName>mauifacebook</ModuleName> | ||
<!-- Metadata applicable to @(AndroidLibrary) will be used if set, otherwise the following defaults will be used: | ||
<Bind>true</Bind> | ||
<Pack>true</Pack> | ||
--> | ||
</NLIGradleProjectReference> | ||
</AndroidGradleProject> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
plugins { | ||
id("com.android.library") version "8.2.2" apply false | ||
id("com.android.library") version "8.6.1" apply false | ||
} |
2 changes: 1 addition & 1 deletion
2
facebook/android/native/gradle/wrapper/gradle-wrapper.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Fri Feb 02 10:15:22 GMT 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
facebook/macios/Facebook.MaciOS.Binding/Facebook.MaciOS.Binding.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net8.0-ios</TargetFramework> | ||
<TargetFramework>net9.0-ios</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>true</ImplicitUsings> | ||
<IsBindingProject>true</IsBindingProject> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="CommunityToolkit.Maui.NativeLibraryInterop.BuildTasks" Version="$(NLIPackageVersion)" PrivateAssets="all" /> | ||
</ItemGroup> | ||
<!-- | ||
Enable trim analyzers for class libraries. | ||
To learn more, see: https://learn.microsoft.com/dotnet/core/deploying/trimming/prepare-libraries-for-trimming | ||
--> | ||
<IsTrimmable>true</IsTrimmable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ObjcBindingApiDefinition Include="ApiDefinitions.cs"/> | ||
<NLIXcodeProjectReference Include="../native/MauiFacebook.xcodeproj"> | ||
<XcodeProject Include="../native/MauiFacebook.xcodeproj"> | ||
<SchemeName>MauiFacebook</SchemeName> | ||
<SharpieNamespace>Facebook</SharpieNamespace> | ||
<SharpieBind>true</SharpieBind> | ||
<!-- Metadata applicable to @(NativeReference) will be used if set, otherwise the following defaults will be used: | ||
<Kind>Framework</Kind> | ||
<SmartLink>true</SmartLink> | ||
--> | ||
</NLIXcodeProjectReference> | ||
</XcodeProject> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 9 additions & 10 deletions
19
firebase/macios/Firebase.MaciOS.Binding/Firebase.MaciOS.Binding.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net8.0-ios;net8.0-maccatalyst</TargetFrameworks> | ||
<TargetFrameworks>net9.0-ios;net9.0-maccatalyst</TargetFrameworks> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>true</ImplicitUsings> | ||
<IsBindingProject>true</IsBindingProject> | ||
<NoBindingEmbedding>true</NoBindingEmbedding> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="CommunityToolkit.Maui.NativeLibraryInterop.BuildTasks" Version="$(NLIPackageVersion)" PrivateAssets="all" /> | ||
</ItemGroup> | ||
<!-- | ||
Enable trim analyzers for class libraries. | ||
To learn more, see: https://learn.microsoft.com/dotnet/core/deploying/trimming/prepare-libraries-for-trimming | ||
--> | ||
<IsTrimmable>true</IsTrimmable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ObjcBindingApiDefinition Include="ApiDefinitions.cs" /> | ||
<NLIXcodeProjectReference Include="../native/MauiFirebase.xcodeproj"> | ||
<XcodeProject Include="../native/MauiFirebase.xcodeproj"> | ||
<SchemeName>MauiFirebase</SchemeName> | ||
<SharpieNamespace>Firebase</SharpieNamespace> | ||
<SharpieBind>true</SharpieBind> | ||
<!-- Metadata applicable to @(NativeReference) will be used if set, otherwise the following defaults will be used: | ||
<Kind>Framework</Kind> | ||
<SmartLink>true</SmartLink> | ||
--> | ||
</NLIXcodeProjectReference> | ||
</XcodeProject> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.