Skip to content

Commit

Permalink
Bump up version of native android packages for firestore, functions a…
Browse files Browse the repository at this point in the history
…nd storage
  • Loading branch information
TobiasBuchholz committed Nov 14, 2023
1 parent 2dec415 commit e831059
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 9 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,22 @@ The plugin doesn't support Windows or Mac catalyst, so either remove their targe
```

### Android specifics
- Add the following `ItemGroup` to your `.csproj file` to prevent build errors:
- For package versions prior to `Plugin.Firebase 2.0.7`, `Plugin.Firebase.Firestore 2.0.5`, `Plugin.Firebase.Functions 2.0.2` or `Plugin.Firebase.Storage 2.0.2` add the following `ItemGroup` to your `.csproj` file to prevent build errors:
```xml
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">
<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>
```
- For later versions add the following `ItemGroup` to your `.csproj` file to prevent build errors:
```xml
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0-android'">
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.12.0.2" />
<PackageReference Include="Xamarin.AndroidX.Collection" Version="1.3.0.1" />
<PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="1.3.0.1" />
<PackageReference Include="Xamarin.AndroidX.Activity.Ktx" Version="1.8.0.1" />
</ItemGroup>
```

Take a look at the [sample project](https://github.com/TobiasBuchholz/Plugin.Firebase/tree/development/sample/Playground) to get more information.

Expand Down
4 changes: 4 additions & 0 deletions docs/bundled.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ using Plugin.Firebase.Bundled.Platforms.Android;
#endif
```
## Release notes
- Version 2.0.7
- Plugin.Firebase.Firestore 2.0.5
- Plugin.Firebase.Functions 2.0.2
- Plugin.Firebase.Storage 2.0.2
- Version 2.0.6
- Plugin.Firebase.Auth 2.0.4 (Plugin.Firebase.Auth.Google 2.0.0)
- Plugin.Firebase.Firestore 2.0.4
Expand Down
2 changes: 2 additions & 0 deletions docs/firestore.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Since code should be documenting itself you can also take a look at the followin
- [tests/.../FirestoreFixture.cs](https://github.com/TobiasBuchholz/Plugin.Firebase/blob/master/tests/Plugin.Firebase.IntegrationTests/Firestore/FirestoreFixture.cs)

## Release notes
- Version 2.0.5
- Bumped up Xamarin.Firebase.Firestore package to version 124.8.1.1
- Version 2.0.4
- Firestore CollectionReference inherits Query (PR #205)
- Adding GetCollectionGroup to FirebaseFirestore (PR #207)
Expand Down
2 changes: 2 additions & 0 deletions docs/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Since code should be documenting itself you can also take a look at the followin
- [tests/cloud-functions/.../index.ts](https://github.com/TobiasBuchholz/Plugin.Firebase/blob/master/tests/cloud-functions/functions/src/index.ts)

## Release notes
- Version 2.0.2
- Bumped up Xamarin.Firebase.Functions package to version 120.3.1.3
- Version 2.0.1
- Remove unnecessary UseMaui property from csproj files
- Readd net6.0 tfm
3 changes: 3 additions & 0 deletions docs/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Since code should be documenting itself you can also take a look at the followin
- [tests/.../StorageFixture.cs](https://github.com/TobiasBuchholz/Plugin.Firebase/blob/master/tests/Plugin.Firebase.IntegrationTests/Firestore/StorageFixture.cs)

## Release notes
- Version 2.0.2
- Bumped up Xamarin.Firebase.Storage package to version 120.2.1.3
- Bumped up Xamarin.Firebase.Storage.Common package to version 117.0.0.12
- Version 2.0.1
- Remove unnecessary UseMaui property from csproj files
- Readd net6.0 tfm
4 changes: 4 additions & 0 deletions sample/Playground/Playground.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0-android'">
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.12.0.2" />
<PackageReference Include="Xamarin.AndroidX.Collection" Version="1.3.0.1" />
<PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="1.3.0.1" />
<PackageReference Include="Xamarin.AndroidX.Activity.Ktx" Version="1.8.0.1" />
</ItemGroup>

<!-- platform assets -->
Expand Down
2 changes: 1 addition & 1 deletion src/Bundled/Bundled.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<!--Assembly and Namespace info -->
<PackageId>Plugin.Firebase</PackageId>
<PackageVersion>2.0.6</PackageVersion>
<PackageVersion>2.0.7</PackageVersion>

<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/TobiasBuchholz/Plugin.Firebase</PackageProjectUrl>
Expand Down
4 changes: 2 additions & 2 deletions src/Firestore/Firestore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<!--Assembly and Namespace info -->
<PackageId>Plugin.Firebase.Firestore</PackageId>
<PackageVersion>2.0.4</PackageVersion>
<PackageVersion>2.0.5</PackageVersion>

<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/TobiasBuchholz/Plugin.Firebase</PackageProjectUrl>
Expand Down Expand Up @@ -77,7 +77,7 @@

<!-- nuget packages -->
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">
<PackageReference Include="Xamarin.Firebase.Firestore" Version="124.3.1" />
<PackageReference Include="Xamarin.Firebase.Firestore" Version="124.8.1.1" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-ios'">
Expand Down
4 changes: 2 additions & 2 deletions src/Functions/Functions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<!--Assembly and Namespace info -->
<PackageId>Plugin.Firebase.Functions</PackageId>
<PackageVersion>2.0.1</PackageVersion>
<PackageVersion>2.0.2</PackageVersion>

<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/TobiasBuchholz/Plugin.Firebase</PackageProjectUrl>
Expand Down Expand Up @@ -77,7 +77,7 @@

<!-- nuget packages -->
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">
<PackageReference Include="Xamarin.Firebase.Functions" Version="120.1.1" />
<PackageReference Include="Xamarin.Firebase.Functions" Version="120.3.1.3" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-ios'">
Expand Down
6 changes: 3 additions & 3 deletions src/Storage/Storage.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<!--Assembly and Namespace info -->
<PackageId>Plugin.Firebase.Storage</PackageId>
<PackageVersion>2.0.1</PackageVersion>
<PackageVersion>2.0.2</PackageVersion>

<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/TobiasBuchholz/Plugin.Firebase</PackageProjectUrl>
Expand Down Expand Up @@ -77,8 +77,8 @@

<!-- nuget packages -->
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">
<PackageReference Include="Xamarin.Firebase.Storage" Version="120.0.2" />
<PackageReference Include="Xamarin.Firebase.Storage.Common" Version="117.0.0.7" />
<PackageReference Include="Xamarin.Firebase.Storage" Version="120.2.1.3" />
<PackageReference Include="Xamarin.Firebase.Storage.Common" Version="117.0.0.12" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-ios'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0-android'">
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.12.0.2" />
<PackageReference Include="Xamarin.AndroidX.Collection" Version="1.3.0.1" />
<PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="1.3.0.1" />
<PackageReference Include="Xamarin.AndroidX.Activity.Ktx" Version="1.8.0.1" />
</ItemGroup>

<!-- platform assets -->
Expand Down

0 comments on commit e831059

Please sign in to comment.