Skip to content

Commit

Permalink
Merge branch 'ios-firebase-11' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasBuchholz committed Jan 16, 2025
2 parents 364eb1c + 07b692d commit 0003c57
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 11 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,41 @@ The migration to `AdamE.Firebase.iOS.*` packages additionally bumps underlying n
4. Set `[GoogleService-Info.plist|google-services.json]` **build action** behaviour to `[Bundle Resource|GoogleServicesJson]` by Right clicking/Build Action.
5. (iOS only) Check the Readme at [AdamEssenmacher/GoogleApisForiOSComponents](https://github.com/AdamEssenmacher/GoogleApisForiOSComponents) for additional setup steps that may be required.

### Dependency Management
This plugin is a wrapper around the iOS/Android Firebase platform bindings. As such, it takes dependencies on the *minimum* versions of the Firebase iOS/Android SDKs that are required to support the features of the plugin.

Therefore, it is up to developers to manage the versions of the Firebase iOS/Android SDKs that are included in their projects. This is done by adding the appropriate `AdamE.Firebase.iOS.*` and `Xamarin.Firebase.*` NuGet packages to your project. This is not strictly required for the plugin to work, but it is recommended to ensure that you are using the latest versions of the Firebase SDKs.

When new major versions of the native SDKs are released, Plugin.Firebase may or may not be compatible with them. It depends on whether or not the major version bumb includes breaking API changes. In such cases, report an issue and the plugin will be updated to support the new version.

#### iOS Dependencies

- AdamE.Firebase.iOS.Analytics
- AdamE.Firebase.iOS.Auth
- AdamE.Firebase.iOS.CloudMessaging
- AdamE.Firebase.iOS.Core
- AdamE.Firebase.iOS.Crashlytics
- AdamE.Firebase.iOS.DynamicLinks
- AdamE.Firebase.iOS.Firestore
- AdamE.Firebase.iOS.Functions
- AdamE.Firebase.iOS.RemoteConfig
- AdamE.Firebase.iOS.Storage

Note: It is recommended to use the same version number for all AdamE.Firebase.iOS.* packages (e.g. 11.6.0)

#### Android Dependencies

- Xamarin.Firebase.Analytics
- Xamarin.Firebase.Auth
- Xamarin.Firebase.Messaging
- Xamarin.Firebase.Common
- Xamarin.Firebase.Crashlytics
- Xamarin.Firebase.DynamicLinks
- Xamarin.Firebase.Firestore
- Xamarin.Firebase.Functions
- Xamarin.Firebase.Config
- Xamarin.Firebase.Storage

### .NET MAUI support
The new plugin version 1.2.0 now supports .NET MAUI applications with .NET 6 🚀

Expand Down
2 changes: 1 addition & 1 deletion src/Analytics/Analytics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.Analytics" Version="10.24.0" />
<PackageReference Include="AdamE.Firebase.iOS.Analytics" Version="[11.0.0,)" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Auth/Auth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.Auth" Version="10.24.0" />
<PackageReference Include="AdamE.Firebase.iOS.Auth" Version="[11.0.0,)" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/CloudMessaging/CloudMessaging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.CloudMessaging" Version="10.24.0" />
<PackageReference Include="AdamE.Firebase.iOS.CloudMessaging" Version="[11.0.0,)" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

<!-- nuget packages -->
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.Core" Version="10.24.0.1" />
<PackageReference Include="AdamE.Firebase.iOS.Core" Version="[11.0.0,)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
Expand Down
2 changes: 1 addition & 1 deletion src/Crashlytics/Crashlytics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.Crashlytics" Version="10.24.0" />
<PackageReference Include="AdamE.Firebase.iOS.Crashlytics" Version="[11.0.0,)" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/DynamicLinks/DynamicLinks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.DynamicLinks" Version="10.24.0-alpha1" />
<PackageReference Include="AdamE.Firebase.iOS.DynamicLinks" Version="[11.0.0,)" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Firestore/Firestore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.CloudFirestore" Version="10.24.0" />
<PackageReference Include="AdamE.Firebase.iOS.CloudFirestore" Version="[11.0.0,)" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Firestore/Platforms/iOS/Extensions/DateExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Firebase.CloudFirestore;
using Firebase.Core;

namespace Plugin.Firebase.Firestore.Platforms.iOS.Extensions;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections;
using System.Diagnostics;
using Firebase.CloudFirestore;
using Firebase.Core;
using Foundation;
using Plugin.Firebase.Core.Platforms.iOS.Extensions;

Expand Down
2 changes: 1 addition & 1 deletion src/Functions/Functions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.CloudFunctions" Version="10.24.0" />
<PackageReference Include="AdamE.Firebase.iOS.CloudFunctions" Version="[11.0.0,)" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/RemoteConfig/RemoteConfig.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.RemoteConfig" Version="10.24.0-alpha1" />
<PackageReference Include="AdamE.Firebase.iOS.RemoteConfig" Version="[11.0.0,)" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Storage/Storage.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
<PackageReference Include="AdamE.Firebase.iOS.Storage" Version="10.24.0" />
<PackageReference Include="AdamE.Firebase.iOS.Storage" Version="[11.0.0,)" />
</ItemGroup>

</Project>

0 comments on commit 0003c57

Please sign in to comment.