Skip to content

Commit ce00052

Browse files
authored
Stable Updates 20250630 (#1192)
This PR implements the stable updates for 20253006 by running the standard update workflow to refresh Maven dependencies and related documentation files. ## Changes Made - **Updated Maven dependencies**: Ran `dotnet cake -t:update-config` to update `config.json` with the latest stable versions from Maven Central - **Updated component governance**: Ran `dotnet cake utilities.cake -t=generate-component-governance` to refresh `cgmanifest.json` - **Updated artifact documentation**: Ran `dotnet cake utilities.cake -t=list-artifacts` to update `docs/artifact-list-with-versions.md` ## Updated Packages The following 18 packages were updated to their latest stable versions: 1. `com.google.android.gms:playservicesmeasurement` - 22.4.0 → 22.5.0 2. `com.google.android.gms:playservicesmeasurementapi` - 22.4.0 → 22.5.0 3. `com.google.android.gms:playservicesmeasurementbase` - 22.4.0 → 22.5.0 4. `com.google.android.gms:playservicesmeasurementimpl` - 22.4.0 → 22.5.0 5. `com.google.android.gms:playservicesmeasurementsdk` - 22.4.0 → 22.5.0 6. `com.google.android.gms:playservicesmeasurementsdkapi` - 22.4.0 → 22.5.0 7. `com.google.firebase:firebaseanalytics` - 22.4.0 → 22.5.0 8. `com.google.firebase:firebasemessaging` - 24.1.1 → 24.1.2 9. `com.squareup.okio:okio` - 3.13.0 → 3.14.0 10. `com.squareup.okio:okiojvm` - 3.13.0 → 3.14.0 11. `org.jetbrains.kotlinx:atomicfu` - 0.28.0 → 0.29.0 12. `org.jetbrains.kotlinx:atomicfujvm` - 0.28.0 → 0.29.0 13. `org.jetbrains.kotlinx:kotlinxserializationcore` - 1.8.1 → 1.9.0 14. `org.jetbrains.kotlinx:kotlinxserializationcorejvm` - 1.8.1 → 1.9.0 15. `org.jetbrains.kotlinx:kotlinxserializationjson` - 1.8.1 → 1.9.0 16. `org.jetbrains.kotlinx:kotlinxserializationjsonjvm` - 1.8.1 → 1.9.0 17. `org.jetbrains.kotlinx:kotlinxserializationprotobuf` - 1.8.1 → 1.9.0 18. `org.jetbrains.kotlinx:kotlinxserializationprotobufjvm` - 1.8.1 → 1.9.0 These updates include improvements to Google Play Services measurement APIs, Firebase Analytics and Messaging, Square's OkIO library, and Kotlin serialization libraries. Fixes #1191.
1 parent 4d4739d commit ce00052

File tree

6 files changed

+185
-96
lines changed

6 files changed

+185
-96
lines changed

.github/copilot-instructions.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,36 @@ build/
188188
- [AndroidX Release Notes](https://developer.android.com/jetpack/androidx/versions/stable-channel)
189189
- [Google Play Services Release Notes](https://developers.google.com/android/guides/releases)
190190

191+
## Common Binding Issues and Solutions
192+
193+
### Interface Implementation Issues
194+
When a generated class doesn't implement interface methods with the correct signature, typically showing errors like:
195+
```
196+
error CS0535: 'ClassName' does not implement interface member 'IInterface.Method(IEncoder, Object?)'
197+
```
198+
199+
This occurs when Java allows method overloading with different parameter types, but C# requires exact interface implementation.
200+
201+
**Solution**: Create an Additions file with a method that matches the interface signature and calls the strongly-typed method:
202+
203+
```csharp
204+
namespace PackageName;
205+
206+
public partial class ClassName
207+
{
208+
public unsafe void Method(IEncoder encoder, Java.Lang.Object? value)
209+
{
210+
this.Method(encoder, (SpecificType?) value);
211+
}
212+
}
213+
```
214+
215+
Place this in `source/{groupId}/{artifactId}/Additions/ClassName.cs`.
216+
217+
### Reference Documentation
218+
- **`docs/development-tips.md`**: Contains detailed examples of common binding fixes
219+
- [Java Interop Troubleshooting Guide](https://github.com/dotnet/java-interop/wiki/Troubleshooting-Android-Bindings-Issues): Comprehensive binding issue resolution
220+
191221
## Best Practices for Contributors
192222

193223
### Before Making Changes

cgmanifest.json

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3090,7 +3090,7 @@
30903090
"groupId": "androidx.savedstate",
30913091
"version": "1.3.0",
30923092
"nuGetId": "Xamarin.AndroidX.SavedState",
3093-
"nuGetVersion": "1.3.0"
3093+
"nuGetVersion": "1.3.0.1"
30943094
}
30953095
},
30963096
"license": "The Apache Software License, Version 2.0"
@@ -4936,9 +4936,9 @@
49364936
"maven": {
49374937
"artifactId": "play-services-measurement",
49384938
"groupId": "com.google.android.gms",
4939-
"version": "22.4.0",
4939+
"version": "22.5.0",
49404940
"nuGetId": "Xamarin.GooglePlayServices.Measurement",
4941-
"nuGetVersion": "122.4.0.2"
4941+
"nuGetVersion": "122.5.0"
49424942
}
49434943
},
49444944
"license": "Android Software Development Kit License"
@@ -4949,9 +4949,9 @@
49494949
"maven": {
49504950
"artifactId": "play-services-measurement-api",
49514951
"groupId": "com.google.android.gms",
4952-
"version": "22.4.0",
4952+
"version": "22.5.0",
49534953
"nuGetId": "Xamarin.GooglePlayServices.Measurement.Api",
4954-
"nuGetVersion": "122.4.0.2"
4954+
"nuGetVersion": "122.5.0"
49554955
}
49564956
},
49574957
"license": "Android Software Development Kit License"
@@ -4962,9 +4962,9 @@
49624962
"maven": {
49634963
"artifactId": "play-services-measurement-base",
49644964
"groupId": "com.google.android.gms",
4965-
"version": "22.4.0",
4965+
"version": "22.5.0",
49664966
"nuGetId": "Xamarin.GooglePlayServices.Measurement.Base",
4967-
"nuGetVersion": "122.4.0.2"
4967+
"nuGetVersion": "122.5.0"
49684968
}
49694969
},
49704970
"license": "Android Software Development Kit License"
@@ -4975,9 +4975,9 @@
49754975
"maven": {
49764976
"artifactId": "play-services-measurement-impl",
49774977
"groupId": "com.google.android.gms",
4978-
"version": "22.4.0",
4978+
"version": "22.5.0",
49794979
"nuGetId": "Xamarin.GooglePlayServices.Measurement.Impl",
4980-
"nuGetVersion": "122.4.0.2"
4980+
"nuGetVersion": "122.5.0"
49814981
}
49824982
},
49834983
"license": "Android Software Development Kit License"
@@ -4988,9 +4988,9 @@
49884988
"maven": {
49894989
"artifactId": "play-services-measurement-sdk",
49904990
"groupId": "com.google.android.gms",
4991-
"version": "22.4.0",
4991+
"version": "22.5.0",
49924992
"nuGetId": "Xamarin.GooglePlayServices.Measurement.Sdk",
4993-
"nuGetVersion": "122.4.0.2"
4993+
"nuGetVersion": "122.5.0"
49944994
}
49954995
},
49964996
"license": "Android Software Development Kit License"
@@ -5001,9 +5001,9 @@
50015001
"maven": {
50025002
"artifactId": "play-services-measurement-sdk-api",
50035003
"groupId": "com.google.android.gms",
5004-
"version": "22.4.0",
5004+
"version": "22.5.0",
50055005
"nuGetId": "Xamarin.GooglePlayServices.Measurement.Sdk.Api",
5006-
"nuGetVersion": "122.4.0.2"
5006+
"nuGetVersion": "122.5.0"
50075007
}
50085008
},
50095009
"license": "Android Software Development Kit License"
@@ -5958,9 +5958,9 @@
59585958
"maven": {
59595959
"artifactId": "firebase-analytics",
59605960
"groupId": "com.google.firebase",
5961-
"version": "22.4.0",
5961+
"version": "22.5.0",
59625962
"nuGetId": "Xamarin.Firebase.Analytics",
5963-
"nuGetVersion": "122.4.0"
5963+
"nuGetVersion": "122.5.0"
59645964
}
59655965
},
59665966
"license": "The Apache Software License, Version 2.0"
@@ -6426,9 +6426,9 @@
64266426
"maven": {
64276427
"artifactId": "firebase-messaging",
64286428
"groupId": "com.google.firebase",
6429-
"version": "24.1.1",
6429+
"version": "24.1.2",
64306430
"nuGetId": "Xamarin.Firebase.Messaging",
6431-
"nuGetVersion": "124.1.1.2"
6431+
"nuGetVersion": "124.1.2"
64326432
}
64336433
},
64346434
"license": "The Apache Software License, Version 2.0"
@@ -7360,9 +7360,9 @@
73607360
"maven": {
73617361
"artifactId": "okio",
73627362
"groupId": "com.squareup.okio",
7363-
"version": "3.13.0",
7363+
"version": "3.14.0",
73647364
"nuGetId": "Square.OkIO",
7365-
"nuGetVersion": "3.13.0"
7365+
"nuGetVersion": "3.14.0"
73667366
}
73677367
},
73687368
"license": "The Apache Software License, Version 2.0"
@@ -7373,9 +7373,9 @@
73737373
"maven": {
73747374
"artifactId": "okio-jvm",
73757375
"groupId": "com.squareup.okio",
7376-
"version": "3.13.0",
7376+
"version": "3.14.0",
73777377
"nuGetId": "Square.OkIO.JVM",
7378-
"nuGetVersion": "3.13.0"
7378+
"nuGetVersion": "3.14.0"
73797379
}
73807380
},
73817381
"license": "The Apache Software License, Version 2.0"
@@ -7966,9 +7966,9 @@
79667966
"maven": {
79677967
"artifactId": "atomicfu",
79687968
"groupId": "org.jetbrains.kotlinx",
7969-
"version": "0.28.0",
7969+
"version": "0.29.0",
79707970
"nuGetId": "Xamarin.KotlinX.AtomicFU",
7971-
"nuGetVersion": "0.28.0"
7971+
"nuGetVersion": "0.29.0"
79727972
}
79737973
},
79747974
"license": "The Apache Software License, Version 2.0"
@@ -7979,9 +7979,9 @@
79797979
"maven": {
79807980
"artifactId": "atomicfu-jvm",
79817981
"groupId": "org.jetbrains.kotlinx",
7982-
"version": "0.28.0",
7982+
"version": "0.29.0",
79837983
"nuGetId": "Xamarin.KotlinX.AtomicFU.Jvm",
7984-
"nuGetVersion": "0.28.0"
7984+
"nuGetVersion": "0.29.0"
79857985
}
79867986
},
79877987
"license": "The Apache Software License, Version 2.0"
@@ -8109,9 +8109,9 @@
81098109
"maven": {
81108110
"artifactId": "kotlinx-serialization-core",
81118111
"groupId": "org.jetbrains.kotlinx",
8112-
"version": "1.8.1",
8112+
"version": "1.9.0",
81138113
"nuGetId": "Xamarin.KotlinX.Serialization.Core",
8114-
"nuGetVersion": "1.8.1"
8114+
"nuGetVersion": "1.9.0"
81158115
}
81168116
},
81178117
"license": "The Apache Software License, Version 2.0"
@@ -8122,9 +8122,9 @@
81228122
"maven": {
81238123
"artifactId": "kotlinx-serialization-core-jvm",
81248124
"groupId": "org.jetbrains.kotlinx",
8125-
"version": "1.8.1",
8125+
"version": "1.9.0",
81268126
"nuGetId": "Xamarin.KotlinX.Serialization.Core.Jvm",
8127-
"nuGetVersion": "1.8.1"
8127+
"nuGetVersion": "1.9.0"
81288128
}
81298129
},
81308130
"license": "The Apache Software License, Version 2.0"
@@ -8135,9 +8135,9 @@
81358135
"maven": {
81368136
"artifactId": "kotlinx-serialization-json",
81378137
"groupId": "org.jetbrains.kotlinx",
8138-
"version": "1.8.1",
8138+
"version": "1.9.0",
81398139
"nuGetId": "Xamarin.KotlinX.Serialization.Json",
8140-
"nuGetVersion": "1.8.1"
8140+
"nuGetVersion": "1.9.0"
81418141
}
81428142
},
81438143
"license": "The Apache Software License, Version 2.0"
@@ -8148,9 +8148,9 @@
81488148
"maven": {
81498149
"artifactId": "kotlinx-serialization-json-jvm",
81508150
"groupId": "org.jetbrains.kotlinx",
8151-
"version": "1.8.1",
8151+
"version": "1.9.0",
81528152
"nuGetId": "Xamarin.KotlinX.Serialization.Json.Jvm",
8153-
"nuGetVersion": "1.8.1"
8153+
"nuGetVersion": "1.9.0"
81548154
}
81558155
},
81568156
"license": "The Apache Software License, Version 2.0"
@@ -8161,9 +8161,9 @@
81618161
"maven": {
81628162
"artifactId": "kotlinx-serialization-protobuf",
81638163
"groupId": "org.jetbrains.kotlinx",
8164-
"version": "1.8.1",
8164+
"version": "1.9.0",
81658165
"nuGetId": "Xamarin.KotlinX.Serialization.Protobuf",
8166-
"nuGetVersion": "1.8.1"
8166+
"nuGetVersion": "1.9.0"
81678167
}
81688168
},
81698169
"license": "The Apache Software License, Version 2.0"
@@ -8174,9 +8174,9 @@
81748174
"maven": {
81758175
"artifactId": "kotlinx-serialization-protobuf-jvm",
81768176
"groupId": "org.jetbrains.kotlinx",
8177-
"version": "1.8.1",
8177+
"version": "1.9.0",
81788178
"nuGetId": "Xamarin.KotlinX.Serialization.Protobuf.Jvm",
8179-
"nuGetVersion": "1.8.1"
8179+
"nuGetVersion": "1.9.0"
81808180
}
81818181
},
81828182
"license": "The Apache Software License, Version 2.0"

0 commit comments

Comments
 (0)