@craft-native/ios 0.0.110 → 0.0.112
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/dist/cli.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -32,6 +32,7 @@ var DEFAULT_CONFIG = {
|
|
|
32
32
|
enableOrientationLock: false,
|
|
33
33
|
enableDeepLinks: false,
|
|
34
34
|
enableQRScanner: false,
|
|
35
|
+
enableLocalNetwork: false,
|
|
35
36
|
enableFilePicker: false,
|
|
36
37
|
enableFileDownload: false,
|
|
37
38
|
enableSocialAuth: false,
|
|
@@ -96,6 +97,7 @@ function renderUsageDescriptions(config) {
|
|
|
96
97
|
[config.enableBluetooth, "NSBluetoothAlwaysUsageDescription", `${config.appName} uses Bluetooth to connect to nearby devices.`],
|
|
97
98
|
[config.enableMotionSensors, "NSMotionUsageDescription", `${config.appName} uses motion data for activity features.`],
|
|
98
99
|
[config.enableNFC, "NFCReaderUsageDescription", `${config.appName} reads NFC tags when you start a scan.`],
|
|
100
|
+
[config.enableLocalNetwork, "NSLocalNetworkUsageDescription", `${config.appName} connects to your own devices on this network.`],
|
|
99
101
|
[config.enableHealthKit, "NSHealthShareUsageDescription", `${config.appName} reads health data you choose to share.`],
|
|
100
102
|
[config.enableHealthKit, "NSHealthUpdateUsageDescription", `${config.appName} writes health data only with your permission.`],
|
|
101
103
|
[config.enableBiometric, "NSFaceIDUsageDescription", `${config.appName} uses Face ID to protect your account.`]
|
package/dist/index.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export interface CraftConfig {
|
|
|
40
40
|
enableOrientationLock?: boolean;
|
|
41
41
|
enableDeepLinks?: boolean;
|
|
42
42
|
enableQRScanner?: boolean;
|
|
43
|
+
/** Reach devices on the local network (a Mac on the same Wi-Fi); iOS asks first. */
|
|
44
|
+
enableLocalNetwork?: boolean;
|
|
43
45
|
enableFilePicker?: boolean;
|
|
44
46
|
enableFileDownload?: boolean;
|
|
45
47
|
enableSocialAuth?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -27,6 +27,7 @@ var DEFAULT_CONFIG = {
|
|
|
27
27
|
enableOrientationLock: false,
|
|
28
28
|
enableDeepLinks: false,
|
|
29
29
|
enableQRScanner: false,
|
|
30
|
+
enableLocalNetwork: false,
|
|
30
31
|
enableFilePicker: false,
|
|
31
32
|
enableFileDownload: false,
|
|
32
33
|
enableSocialAuth: false,
|
|
@@ -91,6 +92,7 @@ function renderUsageDescriptions(config) {
|
|
|
91
92
|
[config.enableBluetooth, "NSBluetoothAlwaysUsageDescription", `${config.appName} uses Bluetooth to connect to nearby devices.`],
|
|
92
93
|
[config.enableMotionSensors, "NSMotionUsageDescription", `${config.appName} uses motion data for activity features.`],
|
|
93
94
|
[config.enableNFC, "NFCReaderUsageDescription", `${config.appName} reads NFC tags when you start a scan.`],
|
|
95
|
+
[config.enableLocalNetwork, "NSLocalNetworkUsageDescription", `${config.appName} connects to your own devices on this network.`],
|
|
94
96
|
[config.enableHealthKit, "NSHealthShareUsageDescription", `${config.appName} reads health data you choose to share.`],
|
|
95
97
|
[config.enableHealthKit, "NSHealthUpdateUsageDescription", `${config.appName} writes health data only with your permission.`],
|
|
96
98
|
[config.enableBiometric, "NSFaceIDUsageDescription", `${config.appName} uses Face ID to protect your account.`]
|