Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added user tracking endpoint for iOS #24

Merged
merged 2 commits into from
Sep 27, 2022
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ might break in future iOS versions or have your app rejected in the App Store.
| **`Sounds`** | <code>'sounds'</code> | Used to set phone volume, vibration settings, etc. |
| **`SoftwareUpdate`** | <code>'softwareUpdate'</code> | Software update screen. |
| **`Store`** | <code>'store'</code> | Store settings. |
| **`Tracking`** | <code>'tracking'</code> | Tracking settings. |
| **`Wallpaper`** | <code>'wallpaper'</code> | Wallpaper settings. |
| **`WiFi`** | <code>'wifi'</code> | WiFi settings. |
| **`Tethering`** | <code>'tethering'</code> | Tethering settings (used to create a hotspot with mobile data). |
Expand Down
1 change: 1 addition & 0 deletions ios/Plugin/NativeSettingsPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class NativeSettingsPlugin: CAPPlugin {
"sounds": "App-prefs:Sounds",
"softwareUpdate": "App-prefs:General&path=SOFTWARE_UPDATE_LINK",
"store": "App-prefs:STORE",
"tracking": "App-prefs:Privacy&path=USER_TRACKING",
"wallpaper": "App-prefs:Wallpaper",
"wifi": "App-prefs:WIFI",
"tethering": "App-prefs:INTERNET_TETHERING",
Expand Down
9 changes: 7 additions & 2 deletions src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export enum AndroidSettings {
Home = 'home',

/**
* Show settings to configure input methods, in particular allowing the user to enable input methods
* Show settings to configure input methods, in particular allowing the user to enable input methods
*/
Keyboard = 'keyboard',

Expand All @@ -153,7 +153,7 @@ export enum AndroidSettings {
Location = 'location',

/**
* Show settings to manage installed applications
* Show settings to manage installed applications
*/
ManageApplications = 'manage_applications',

Expand Down Expand Up @@ -384,6 +384,11 @@ export enum IOSSettings {
*/
Store = 'store',

/**
* Tracking settings.
*/
Tracking = 'tracking',

/**
* Wallpaper settings.
*/
Expand Down