@cap-kit/settings 8.0.1 → 8.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  <p align="center">
17
17
  A <strong>Capacitor plugin</strong> for opening system and application settings on <strong>iOS and Android</strong>.<br>
18
- Provides a unified, state-based API to navigate users to relevant settings screens,
18
+ Provides a unified Promise-based API to navigate users to relevant settings screens,
19
19
  including app settings, notifications, connectivity, and other system sections.<br>
20
20
  Built following the <strong>Cap-Kit architectural standards</strong> with strict separation
21
21
  between JavaScript, bridge, and native implementations (Swift / Kotlin).
@@ -359,19 +359,19 @@ device-specific or undocumented system intents. Availability may vary depending
359
359
  - system configuration or user restrictions
360
360
 
361
361
  When a requested settings screen is not supported on the current device,
362
- the plugin will return a structured result with:
362
+ the plugin rejects the Promise with the error code:
363
363
 
364
- ```ts
365
- {
366
- success: false,
367
- code: 'UNAVAILABLE'
368
- }
369
- ```
364
+ - `UNAVAILABLE`
365
+
366
+ Consumers are expected to handle this case using standard `try / catch`
367
+ error handling.
370
368
 
371
369
  This behavior is intentional and aligns with real-world Android platform constraints.
372
370
 
373
- For additional context, see the discussion in the original implementation:
371
+ For historical context on Android intent limitations, see the discussion in the
372
+ original implementation:
374
373
  [https://github.com/RaphaelWoude/capacitor-native-settings/pull/63](https://github.com/RaphaelWoude/capacitor-native-settings/pull/63)
374
+ Note that this plugin does not use the state-based result model found in that implementation.
375
375
 
376
376
  ---
377
377
 
@@ -10,7 +10,7 @@ import Foundation
10
10
  public enum PluginVersion {
11
11
  /**
12
12
  The semantic version string of the plugin.
13
- Value synchronized from package.json: "8.0.1"
13
+ Value synchronized from package.json: "8.0.2"
14
14
  */
15
- public static let number = "8.0.1"
15
+ public static let number = "8.0.2"
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cap-kit/settings",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
4
4
  "description": "Capacitor plugin to open app and system settings on iOS and Android.",
5
5
  "type": "module",
6
6
  "private": false,