|  | 
| 38 | 38 |     <PackageReference Include="Xamarin.AndroidX.Lifecycle.Common.Java8" Version="2.6.1.3" /> | 
| 39 | 39 |     <!-- MAUI 8 references this version indirectly via Xamarin.AndroidX.SwipeRefreshLayout (>= 1.1.0.14)   --> | 
| 40 | 40 |     <PackageReference Include="Xamarin.AndroidX.Core" Version="1.10.1.2" /> | 
|  | 41 | +    <!-- We need 1.9.24 but there's no NuGet package for that version... the lowest version we can use is 2.0.0 --> | 
|  | 42 | +    <PackageReference Include="Xamarin.Kotlin.StdLib.Jdk8" Version="2.0.0" /> | 
| 41 | 43 |   </ItemGroup> | 
| 42 | 44 | 
 | 
| 43 | 45 |   <!-- Dependencies for AndroidMavenLibrary references | 
|  | 
| 49 | 51 |     <PackageReference Include="Xamarin.AndroidX.Lifecycle.Common.Java8" Version="2.8.5.1" /> | 
| 50 | 52 |     <!-- MAUI 9 references this version indirectly via Xamarin.AndroidX.SwipeRefreshLayout (>= 1.1.0.24)   --> | 
| 51 | 53 |     <PackageReference Include="Xamarin.AndroidX.Core" Version="1.13.1.5" /> | 
|  | 54 | +    <!-- We need 1.9.24 but there's no NuGet package for that version... the lowest version we can use is 2.0.0 --> | 
|  | 55 | +    <PackageReference Include="Xamarin.Kotlin.StdLib.Jdk8" Version="2.0.0" /> | 
| 52 | 56 |   </ItemGroup> | 
| 53 | 57 | 
 | 
| 54 | 58 |   <ItemGroup Condition="$(TargetFramework.StartsWith('net8'))"> | 
| 55 | 59 |     <AndroidLibrary Include="$(SentryAndroidSdkDirectory)sentry-$(SentryAndroidSdkVersion).jar" /> | 
| 56 | 60 |     <AndroidLibrary Include="$(SentryAndroidSdkDirectory)sentry-android-core-$(SentryAndroidSdkVersion).aar" /> | 
| 57 | 61 |     <AndroidLibrary Include="$(SentryAndroidSdkDirectory)sentry-android-ndk-$(SentryAndroidSdkVersion).aar" /> | 
|  | 62 | +    <AndroidLibrary Include="$(SentryAndroidSdkDirectory)sentry-android-replay-$(SentryAndroidSdkVersion).aar" /> | 
| 58 | 63 |   </ItemGroup> | 
| 59 | 64 | 
 | 
| 60 | 65 |   <!-- Starting with .NET 9 we can detect Java dependencies using POM files and AndroidMavenLibrary references --> | 
|  | 
| 66 | 71 |     /> | 
| 67 | 72 |     <AndroidMavenLibrary Include="io.sentry:sentry-android-core" Version="$(SentryAndroidSdkVersion)" /> | 
| 68 | 73 |     <AndroidMavenLibrary Include="io.sentry:sentry-android-ndk" Version="$(SentryAndroidSdkVersion)" /> | 
|  | 74 | +    <AndroidMavenLibrary Include="io.sentry:sentry-android-replay" Version="$(SentryAndroidSdkVersion)" /> | 
| 69 | 75 |   </ItemGroup> | 
| 70 | 76 | 
 | 
| 71 | 77 |   <ItemGroup> | 
|  | 
| 89 | 95 |       Condition="!Exists('$(SentryAndroidSdkDirectory)sentry-android-ndk-$(SentryAndroidSdkVersion).aar') And $(TargetFramework.StartsWith('net8'))" | 
| 90 | 96 |       Retries="3" | 
| 91 | 97 |     /> | 
|  | 98 | +    <DownloadFile | 
|  | 99 | +      SourceUrl="https://repo1.maven.org/maven2/io/sentry/sentry-android-replay/$(SentryAndroidSdkVersion)/sentry-android-replay-$(SentryAndroidSdkVersion).aar" | 
|  | 100 | +      DestinationFolder="$(SentryAndroidSdkDirectory)" | 
|  | 101 | +      Condition="!Exists('$(SentryAndroidSdkDirectory)sentry-android-replay-$(SentryAndroidSdkVersion).aar') And $(TargetFramework.StartsWith('net8'))" | 
|  | 102 | +      Retries="3" | 
|  | 103 | +    /> | 
| 92 | 104 |     <DownloadFile | 
| 93 | 105 |       SourceUrl="https://repo1.maven.org/maven2/io/sentry/sentry/$(SentryAndroidSdkVersion)/sentry-$(SentryAndroidSdkVersion).jar" | 
| 94 | 106 |       DestinationFolder="$(SentryAndroidSdkDirectory)" | 
|  | 
0 commit comments