Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions BREAKING_CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<!-- Add a header (##) with the version and list the breaking changes.-->

## 4.0.x
<!--
- `Something` was removed.
- `This` was renamed to `That`.
-->
- Updated target framework from .NET 8 to .NET 10.
- Updated Uno.WinUI to 6.3.62.
- Removed MacOS support in favor of Mac Catalyst.
- Removed support for Xamarin.

## 3.0.x
- GeolocatorService.Reactive.Uno.WinUI was removed.
Expand Down
433 changes: 2 additions & 431 deletions GeolocatorService.sln

Large diffs are not rendered by default.

9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](LICENSE) ![Version](https://img.shields.io/nuget/v/GeolocatorService?style=flat-square) ![Downloads](https://img.shields.io/nuget/dt/GeolocatorService?style=flat-square)

A service to get the user's current location, based on Geolocator, suited to WinUI, UWP or [Uno](https://platform.uno/) apps.
A service to get the user's current location, based on Geolocator, suited to WinUI or [Uno](https://platform.uno/) apps.

GeolocatorService aims to simplify getting the user's current location and handling most common scenarios, including getting the permission to obtain this location and handling cases where this permission is denied.

Expand All @@ -11,12 +11,9 @@ GeolocatorService aims to simplify getting the user's current location and handl
1. ### Add Package

#### .Net Mobile / WinUI

Add the GeolocatorService.Uno.WinUI nuget package to your project heads.

#### Xamarin / UWP
Add the GeolocatorService nuget package to your project heads.


### Reactive Extensions
To have access to reactive extensions such as `GetAndObserveLocation`, add the `GeolocatorService.Reactive` nuget package to your project.

Expand Down
2 changes: 1 addition & 1 deletion build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variables:
- name: IsReleaseBranch # Should this branch name use the release stage
value: $[eq(variables['Build.SourceBranch'], 'refs/heads/main')]
- name: windowsHostedAgentImage
value: 'windows-2022'
value: 'windows-2025'

stages:
- stage: Build
Expand Down
31 changes: 19 additions & 12 deletions build/stage-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
steps:
parameters:
DotNetVersion: '10.0.100'
UnoCheck_Version: '1.33.1'
UnoCheck_Manifest: 'https://raw.githubusercontent.com/unoplatform/uno.check/3bd81468f842eb34fe4760d1694baf8e4ba6edba/manifests/uno.ui.manifest.json'

steps:
- task: gitversion/setup@0
inputs:
versionSpec: '5.10.1'
Expand All @@ -10,19 +15,21 @@
configFilePath: $(Build.SourcesDirectory)/build/gitversion.yml
displayName: 'Calculate version'

- task: DotNetCoreCLI@2
displayName: 'Install dotnet 8 workloads'
- task: UseDotNet@2
displayName: 'Use .NET SDK ${{ parameters.DotNetVersion }}'
retryCountOnTaskFailure: 3
inputs:
command: 'custom'
custom: 'workload'
arguments: 'install android ios macos maccatalyst'
packageType: sdk
version: ${{ parameters.DotNetVersion }}
includePreviewVersions: true

- task: JavaToolInstaller@0
displayName: "Install Java SDK 11"
inputs:
versionSpec: '11'
jdkArchitectureOption: 'x64'
jdkSourceOption: 'PreInstalled'
- powershell: |
& dotnet tool update --global uno.check --version ${{ parameters.UnoCheck_Version }} --add-source https://api.nuget.org/v3/index.json
& uno-check -v --ci --non-interactive --fix --skip xcode --skip gtk3 --skip vswin --skip vsmac --skip androidsdk --skip androidemulator --manifest ${{ parameters.UnoCheck_Manifest }}
displayName: Uno-check
errorActionPreference: continue
ignoreLASTEXITCODE: true
retryCountOnTaskFailure: 3

- task: MSBuild@1
displayName: 'Restore solution packages'
Expand Down

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

Loading
Loading