Skip to content

Commit

Permalink
Bump up Xamarin.Firebase.Auth to 122.2.0 (issue TobiasBuchholz#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasBuchholz committed Nov 22, 2023
1 parent 845b44b commit d109bf2
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ The plugin doesn't support Windows or Mac catalyst, so either remove their targe
```

### Android specifics
- 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:
- For package versions prior to `Plugin.Firebase 2.0.7`, `Plugin.Firebase.Auth 2.0.5`, `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" />
Expand All @@ -112,6 +112,7 @@ The plugin doesn't support Windows or Mac catalyst, so either remove their targe
<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" />
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.6.0.2" />
</ItemGroup>
```

Expand Down
9 changes: 8 additions & 1 deletion docs/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ You can use [Firebase Authentication](https://firebase.google.com/docs/auth) to

![firestore_poco.png](../art/project_settings_sha1.png)
- Call `FirebaseAuthImplementation.HandleActivityResultAsync(requestCode, resultCode, data);` from `MainActivity.OnActivityResult(...)`
- For more specific instructions take a look at the official [Firebase documentation](https://firebase.google.com/docs/auth/android/start?hl=en)
- If you are on version 2.0.5 or later, add the following package to your project's `.csproj` file to prevent build errors:
```xml
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.6.0.2" />
```

For more specific instructions take a look at the official [Firebase documentation](https://firebase.google.com/docs/auth/android/start?hl=en)

## Usage

Expand All @@ -66,6 +71,8 @@ Since code should be documenting itself you can also take a look at the followin
- [sample/.../AuthService.cs](https://github.com/TobiasBuchholz/Plugin.Firebase/blob/master/sample/Playground/Common/Services/Auth/AuthService.cs)

## Release notes
- Version 2.0.5
- Bump up Xamarin.Firebase.Auth from 121.0.8 to 122.2.0 (issue #131)
- Version 2.0.4
- Separating Auth.Google into its own package (PR #210)
- Version 2.0.3
Expand Down
2 changes: 2 additions & 0 deletions docs/bundled.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ using Plugin.Firebase.Bundled.Platforms.Android;
#endif
```
## Release notes
- Version 2.0.9
- Plugin.Firebase.Auth 2.0.5
- Version 2.0.8
- Plugin.Firebase.Analytics 2.0.2
- Plugin.Firebase.CloudMessaging 2.0.4
Expand Down
1 change: 1 addition & 0 deletions sample/Playground/Playground.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
<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" />
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.6.0.2" />
</ItemGroup>

<!-- platform assets -->
Expand Down
4 changes: 2 additions & 2 deletions src/Auth/Auth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<!--Assembly and Namespace info -->
<PackageId>Plugin.Firebase.Auth</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 @@ -78,7 +78,7 @@

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

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0-ios'">
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.8</PackageVersion>
<PackageVersion>2.0.9</PackageVersion>

<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/TobiasBuchholz/Plugin.Firebase</PackageProjectUrl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<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" />
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.6.0.2" />
</ItemGroup>

<!-- platform assets -->
Expand Down

0 comments on commit d109bf2

Please sign in to comment.