@sumaris-net/ngx-components 2.2.3 → 2.2.4

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.
Files changed (34) hide show
  1. package/doc/changelog.md +3 -0
  2. package/esm2020/src/app/core/form/form.utils.mjs +1 -2
  3. package/esm2020/src/app/core/table/table.class.mjs +3 -3
  4. package/esm2020/src/app/shared/dates.mjs +2 -2
  5. package/fesm2015/sumaris-net.ngx-components.mjs +3 -4
  6. package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
  7. package/fesm2020/sumaris-net.ngx-components.mjs +3 -4
  8. package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/README.md +5 -6
  11. package/src/app/core/form/form.utils.d.ts +0 -1
  12. package/src/app/core/table/table.class.d.ts +3 -1
  13. package/plugins/clovelced-plugin-audiomanagement/README.md +0 -66
  14. package/plugins/cordova-plugin-camera/README.md +0 -703
  15. package/plugins/cordova-plugin-device/README.md +0 -309
  16. package/plugins/cordova-plugin-file/README.md +0 -848
  17. package/plugins/cordova-plugin-file-transfer/README.md +0 -598
  18. package/plugins/cordova-plugin-file-transfer/doc/de/README.md +0 -311
  19. package/plugins/cordova-plugin-file-transfer/doc/es/README.md +0 -311
  20. package/plugins/cordova-plugin-file-transfer/doc/fr/README.md +0 -270
  21. package/plugins/cordova-plugin-file-transfer/doc/it/README.md +0 -311
  22. package/plugins/cordova-plugin-file-transfer/doc/ja/README.md +0 -311
  23. package/plugins/cordova-plugin-file-transfer/doc/ko/README.md +0 -311
  24. package/plugins/cordova-plugin-file-transfer/doc/pl/README.md +0 -311
  25. package/plugins/cordova-plugin-file-transfer/doc/zh/README.md +0 -311
  26. package/plugins/cordova-plugin-ionic-keyboard/README.md +0 -220
  27. package/plugins/cordova-plugin-ionic-webview/README.md +0 -181
  28. package/plugins/cordova-plugin-media-capture/README.md +0 -626
  29. package/plugins/cordova-plugin-splashscreen/README.md +0 -387
  30. package/plugins/cordova-plugin-statusbar/README.md +0 -341
  31. package/plugins/cordova-plugin-telerik-imagepicker/README.md +0 -155
  32. package/plugins/cordova-plugin-whitelist/README.md +0 -185
  33. package/plugins/cordova-sqlite-storage/README.md +0 -1848
  34. package/plugins/integrator-cordova-plugin-downloader/README.md +0 -49
@@ -1,309 +0,0 @@
1
- ---
2
- title: Device
3
- description: Get device information.
4
- ---
5
- <!--
6
- # license: Licensed to the Apache Software Foundation (ASF) under one
7
- # or more contributor license agreements. See the NOTICE file
8
- # distributed with this work for additional information
9
- # regarding copyright ownership. The ASF licenses this file
10
- # to you under the Apache License, Version 2.0 (the
11
- # "License"); you may not use this file except in compliance
12
- # with the License. You may obtain a copy of the License at
13
- #
14
- # http://www.apache.org/licenses/LICENSE-2.0
15
- #
16
- # Unless required by applicable law or agreed to in writing,
17
- # software distributed under the License is distributed on an
18
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19
- # KIND, either express or implied. See the License for the
20
- # specific language governing permissions and limitations
21
- # under the License.
22
- -->
23
-
24
- # cordova-plugin-device
25
-
26
- [![Android Testsuite](https://github.com/apache/cordova-plugin-device/actions/workflows/android.yml/badge.svg)](https://github.com/apache/cordova-plugin-device/actions/workflows/android.yml) [![Chrome Testsuite](https://github.com/apache/cordova-plugin-device/actions/workflows/chrome.yml/badge.svg)](https://github.com/apache/cordova-plugin-device/actions/workflows/chrome.yml) [![iOS Testsuite](https://github.com/apache/cordova-plugin-device/actions/workflows/ios.yml/badge.svg)](https://github.com/apache/cordova-plugin-device/actions/workflows/ios.yml) [![Lint Test](https://github.com/apache/cordova-plugin-device/actions/workflows/lint.yml/badge.svg)](https://github.com/apache/cordova-plugin-device/actions/workflows/lint.yml)
27
-
28
- This plugin defines a global `device` object, which describes the device's hardware and software.
29
- Although the object is in the global scope, it is not available until after the `deviceready` event.
30
-
31
- ```js
32
- document.addEventListener("deviceready", onDeviceReady, false);
33
- function onDeviceReady() {
34
- console.log(device.cordova);
35
- }
36
- ```
37
-
38
- ## Installation
39
-
40
- cordova plugin add cordova-plugin-device
41
-
42
- ## Properties
43
-
44
- - device.cordova
45
- - device.model
46
- - device.platform
47
- - device.uuid
48
- - device.version
49
- - device.manufacturer
50
- - device.isVirtual
51
- - device.serial
52
- - device.sdkVersion (Android only)
53
-
54
- ## device.cordova
55
-
56
- Returns the Cordova platform's version that is bundled in the application.
57
-
58
- The version information comes from the `cordova.js` file.
59
-
60
- This property does not display other installed platforms' version information. Only the respective running platform's version is displayed.
61
-
62
- Example:
63
-
64
- If Cordova Android 10.1.1 is installed on the Cordova project, the `cordova.js` file, in the Android application, will contain `10.1.1`.
65
-
66
- The `device.cordova` property will display `10.1.1`.
67
-
68
- ### Supported Platforms
69
-
70
- - Android
71
- - Browser
72
- - iOS
73
- - Windows
74
- - OS X
75
-
76
- ## device.model
77
-
78
- The `device.model` returns the name of the device's model or
79
- product. The value is set by the device manufacturer and may be
80
- different across versions of the same product.
81
-
82
- ### Supported Platforms
83
-
84
- - Android
85
- - Browser
86
- - iOS
87
- - Windows
88
- - OS X
89
-
90
- ### Quick Example
91
-
92
- ```js
93
- // Android: Nexus One returns "Passion" (Nexus One code name)
94
- // Motorola Droid returns "voles"
95
- // Browser: Google Chrome returns "Chrome"
96
- // Safari returns "Safari"
97
- // iOS: for the iPad Mini, returns iPad2,5; iPhone 5 is iPhone 5,1. See https://www.theiphonewiki.com/wiki/Models
98
- // OS X: returns "x86_64"
99
- //
100
- var model = device.model;
101
- ```
102
-
103
- ### Android Quirks
104
-
105
- - Gets the [product name](https://developer.android.com/reference/android/os/Build.html#PRODUCT) instead of the [model name](https://developer.android.com/reference/android/os/Build.html#MODEL), which is often the production code name. For example, the Nexus One returns `Passion`, and Motorola Droid returns `voles`.
106
-
107
- ### iOS Quirks
108
-
109
- The model value is based on the identifier that Apple supplies.
110
-
111
- If you need the exact device name, e.g. iPhone 13 Pro Max, a mapper needs to be created to convert the known identifiers to the associated device name.
112
-
113
- Example: The identifier `iPhone14,3` is associated to the device `iPhone 13 Pro Max`.
114
-
115
- For the full list of all identifiers to device names, see [here](https://www.theiphonewiki.com/wiki/Models)
116
-
117
- ## device.platform
118
-
119
- Get the device's operating system name.
120
-
121
- ```js
122
- var string = device.platform;
123
- ```
124
- ### Supported Platforms
125
-
126
- - Android
127
- - Browser
128
- - iOS
129
- - Windows
130
- - OS X
131
-
132
- ### Quick Example
133
-
134
- ```js
135
- // Depending on the device, a few examples are:
136
- // - "Android"
137
- // - "browser"
138
- // - "iOS"
139
- // - "WinCE"
140
- // - "Mac OS X"
141
- //
142
- var devicePlatform = device.platform;
143
- ```
144
-
145
- ## device.uuid
146
-
147
- Get the device's Universally Unique Identifier ([UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier)).
148
-
149
- ```js
150
- var string = device.uuid;
151
- ```
152
-
153
- ### Description
154
-
155
- The details of how a UUID is generated are determined by the device manufacturer and are specific to the device's platform or model.
156
-
157
- ### Supported Platforms
158
-
159
- - Android
160
- - iOS
161
- - Windows
162
- - OS X
163
-
164
- ### Quick Example
165
-
166
- ```js
167
- // Android: Returns a random 64-bit integer (as a string, again!)
168
- //
169
- // iOS: (Paraphrased from the UIDevice Class documentation)
170
- // Returns the [UIDevice identifierForVendor] UUID which is unique and the same for all apps installed by the same vendor. However the UUID can be different if the user deletes all apps from the vendor and then reinstalls it.
171
- //
172
- // Windows Phone 7 : Returns a hash of device+current user,
173
- // if the user is not defined, a guid is generated and will persist until the app is uninstalled
174
- //
175
- var deviceID = device.uuid;
176
- ```
177
-
178
- ### Android Quirk
179
-
180
- The `uuid` on Android is a 64-bit integer (expressed as a hexadecimal string). The behaviour of this `uuid` is different on two different OS versions-
181
-
182
- **For < Android 8.0 (API level 26)**
183
-
184
- In versions of the platform lower than Android 8.0, the `uuid` is randomly generated when the user first sets up the device and should remain constant for the lifetime of the user's device.
185
-
186
- **For Android 8.0 or higher**
187
-
188
- The above behaviour was changed in Android 8.0. Read it in detail [here](https://developer.android.com/about/versions/oreo/android-8.0-changes#privacy-all).
189
-
190
- On Android 8.0 and higher versions, the `uuid` will be unique to each combination of app-signing key, user, and device. The value is scoped by signing key and user. The value may change if a factory reset is performed on the device or if an APK signing key changes.
191
-
192
- Read more here https://developer.android.com/reference/android/provider/Settings.Secure#ANDROID_ID.
193
-
194
- ### iOS Quirk
195
-
196
- The `uuid` on iOS uses the identifierForVendor property. It is unique to the device across the same vendor, but will be different for different vendors and will change if all apps from the vendor are deleted and then reinstalled.
197
- Refer [here](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor) for details.
198
- The UUID will be the same if app is restored from a backup or iCloud as it is saved in preferences. Users using older versions of this plugin will still receive the same previous UUID generated by another means as it will be retrieved from preferences.
199
-
200
- ### OS X Quirk
201
-
202
- The `uuid` on OS X is generated automatically if it does not exist yet and is stored in the `standardUserDefaults` in the `CDVUUID` property.
203
-
204
- ## device.version
205
-
206
- Get the operating system version.
207
-
208
- var string = device.version;
209
-
210
- ### Supported Platforms
211
-
212
- - Android
213
- - Browser
214
- - iOS
215
- - Windows
216
- - OS X
217
-
218
- ### Quick Example
219
-
220
- ```js
221
- // Android: Froyo OS would return "2.2"
222
- // Eclair OS would return "2.1", "2.0.1", or "2.0"
223
- // Version can also return update level "2.1-update1"
224
- //
225
- // Browser: Returns version number for the browser
226
- //
227
- // iOS: iOS 3.2 returns "3.2"
228
- //
229
- // Windows 8: return the current OS version, ex on Windows 8.1 returns 6.3.9600.16384
230
- //
231
- // OS X: El Capitan would return "10.11.2"
232
- //
233
- var deviceVersion = device.version;
234
- ```
235
-
236
- ## device.manufacturer
237
-
238
- Get the device's manufacturer.
239
-
240
- var string = device.manufacturer;
241
-
242
- ### Supported Platforms
243
-
244
- - Android
245
- - iOS
246
- - Windows
247
-
248
- ### Quick Example
249
-
250
- ```js
251
- // Android: Motorola XT1032 would return "motorola"
252
- // iOS: returns "Apple"
253
- //
254
- var deviceManufacturer = device.manufacturer;
255
- ```
256
-
257
- ## device.isVirtual
258
-
259
- whether the device is running on a simulator.
260
-
261
- ```js
262
- var isSim = device.isVirtual;
263
- ```
264
-
265
- ## device.sdkVersion (Android only)
266
-
267
- Will return the Android device's SDK version.
268
-
269
- ### Supported Platforms
270
-
271
- - Android
272
- - Browser
273
- - iOS
274
- - Windows
275
- - OS X
276
-
277
- ### OS X and Browser Quirk
278
-
279
- The `isVirtual` property on OS X and Browser always returns false.
280
-
281
- ## device.serial
282
-
283
- Get the device hardware serial number ([SERIAL](https://developer.android.com/reference/android/os/Build.html#SERIAL)).
284
-
285
- ```js
286
- var string = device.serial;
287
- ```
288
-
289
- ### Supported Platforms
290
-
291
- - Android
292
- - OS X
293
-
294
- ### Android Quirk
295
-
296
- As of Android 9, the underlying native API that powered the `uuid` property is deprecated and will always return `UNKNOWN` without proper permissions. Cordova have never implemented handling the required permissions. As of Android 10, **all** non-resettable device identifiers are no longer readable by normal applications and will always return `UNKNOWN`. More information can be [read here](https://developer.android.com/about/versions/10/privacy/changes#non-resettable-device-ids).
297
-
298
- ## device.isiOSAppOnMac
299
-
300
- The iOS app is running on the Mac desktop (Apple Silicon ARM64 processor, M1 or newer).
301
- This parameter is only returned for iOS V14.0 or later, and is not returned for Android devices.
302
-
303
- ```js
304
- var boolean = device.isiOSAppOnMac;
305
- ```
306
-
307
- ### Supported Platforms
308
-
309
- - iOS