Skip to content

Commit d2b7c9d

Browse files
Merge pull request #17 from ionic-team/fix/RMET-4360/timeout-logic
fix(ios): added timeout implementation for both getCurrentPosition and watchPosition
2 parents 1687a43 + 101c68f commit d2b7c9d

29 files changed

+1264
-960
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
8+
## [Unreleased]
9+
10+
## 2025-10-20
11+
12+
- Chore(iOS): update native library IONGeolocationLib to version 2.0.0
13+
- Fix(iOS): This version introduces native timeout handling for location requests, replacing the previous `outsystems-wrapper` timeout.
14+
715
## [1.1.0]
816

917
## 2025-10-03

packages/cordova-plugin/.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ node_modules/
2323

2424
# Generated by Cordova
2525
/plugins/
26-
/platforms/
26+
/platforms/
27+
28+
android/.gradle

packages/cordova-plugin/README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cordova plugin add <path-to-repo-local-clone>
1515
* [`getCurrentPosition(...)`](#getcurrentposition)
1616
* [`watchPosition(...)`](#watchposition)
1717
* [`clearWatch(...)`](#clearwatch)
18-
* [Interfaces](#interfaces)
18+
* [`hasNativeTimeoutHandling(...)`](#hasnativetimeouthandling)
1919
* [Type Aliases](#type-aliases)
2020

2121
</docgen-index>
@@ -81,15 +81,22 @@ Clear a given watch
8181
--------------------
8282

8383

84-
### Interfaces
84+
### hasNativeTimeoutHandling(...)
8585

86+
```typescript
87+
hasNativeTimeoutHandling(success: (value: boolean) => void, error: (error: PluginError) => void) => void
88+
```
8689

87-
#### Position
90+
Returns true if the plugin version supports native timeout handling.
8891

89-
| Prop | Type | Description |
90-
| ------------ | ------------------- | ----------- |
91-
| **`line`** | <code>number</code> | &gt;= 1 |
92-
| **`column`** | <code>number</code> | &gt;= 0 |
92+
| Param | Type |
93+
| ------------- | ----------------------------------------------------------------------- |
94+
| **`success`** | <code>(value: boolean) =&gt; void</code> |
95+
| **`error`** | <code>(error: <a href="#pluginerror">PluginError</a>) =&gt; void</code> |
96+
97+
**Since:** 1.2.0
98+
99+
--------------------
93100

94101

95102
### Type Aliases
Binary file not shown.

packages/cordova-plugin/android/.gradle/8.8/dependencies-accessors/gc.properties

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packages/cordova-plugin/android/.gradle/8.8/gc.properties

Whitespace-only changes.
Binary file not shown.

0 commit comments

Comments
 (0)