io.appium.settings 5.10.2 → 5.12.0
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/CHANGELOG.md +16 -0
- package/README.md +5 -0
- package/apks/settings_apk-debug.apk +0 -0
- package/build/lib/client.d.ts +2 -2
- package/build/lib/client.d.ts.map +1 -1
- package/build/lib/logger.js +2 -2
- package/build/lib/logger.js.map +1 -1
- package/lib/client.js +1 -1
- package/lib/logger.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [5.12.0](https://github.com/appium/io.appium.settings/compare/v5.11.0...v5.12.0) (2024-06-09)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* bump compileSdk and targetSdkVersion to 32 ([#181](https://github.com/appium/io.appium.settings/issues/181)) ([a69c004](https://github.com/appium/io.appium.settings/commit/a69c0041a5edabcea44ed149eec4ff5ca06f2319))
|
|
6
|
+
|
|
7
|
+
## [5.11.0](https://github.com/appium/io.appium.settings/compare/v5.10.2...v5.11.0) (2024-06-07)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Replace the deprecated npm log with @appium/logger ([#179](https://github.com/appium/io.appium.settings/issues/179)) ([715a83d](https://github.com/appium/io.appium.settings/commit/715a83d9d42cd87ef6c1db3e97bce0e110c522b2))
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* Logger import ([edc42d9](https://github.com/appium/io.appium.settings/commit/edc42d9a1a2dc82be7e74b2fbf30ac04f174aa47))
|
|
16
|
+
|
|
1
17
|
## [5.10.2](https://github.com/appium/io.appium.settings/compare/v5.10.1...v5.10.2) (2024-06-04)
|
|
2
18
|
|
|
3
19
|
### Miscellaneous Chores
|
package/README.md
CHANGED
|
@@ -17,6 +17,11 @@ A small and simple Android application that deals with the system settings. Then
|
|
|
17
17
|
|
|
18
18
|
You may also consider using the latest [Android Studio](https://developer.android.com/studio/index.html) to debug the code easily.
|
|
19
19
|
|
|
20
|
+
### Enable access to non-SDK interfaces
|
|
21
|
+
|
|
22
|
+
[Restrictions on non-SDK interfaces](https://developer.android.com/guide/app-compatibility/restrictions-non-sdk-interfaces#test-for-non-sdk) could affect some functionalities.
|
|
23
|
+
Changing of the system locale in API Level 34 or later demonstrates the above restriction. Please [enable access to non-SDK interfaces](https://developer.android.com/guide/app-compatibility/restrictions-non-sdk-interfaces#how_can_i_enable_access_to_non-sdk_interfaces) via `adb`. [This issue comment](https://github.com/appium/io.appium.settings/issues/180#issuecomment-2156279885) is adb logcat output when the non-SDK interfaces are enabled, or disabled (system default). Please try out a device reboot if the same logcat continues even after setting the hidden api policy.
|
|
24
|
+
|
|
20
25
|
## Building
|
|
21
26
|
|
|
22
27
|
```shell
|
|
Binary file
|
package/build/lib/client.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ export class SettingsApp {
|
|
|
9
9
|
constructor(opts: SettingsAppOpts);
|
|
10
10
|
/** @type {import('appium-adb').ADB} */
|
|
11
11
|
adb: import('appium-adb').ADB;
|
|
12
|
-
/** @type {import('
|
|
13
|
-
log: import('
|
|
12
|
+
/** @type {import('@appium/logger').Logger} */
|
|
13
|
+
log: import('@appium/logger').Logger;
|
|
14
14
|
/**
|
|
15
15
|
* @typedef {Object} SettingsAppStartupOptions
|
|
16
16
|
* @property {number} [timeout=5000] The maximum number of milliseconds
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../lib/client.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAGH;IAOE;;OAEG;IACH,kBAFW,eAAe,EAKzB;IAZD,uCAAuC;IACvC,KADW,OAAO,YAAY,EAAE,GAAG,CAC/B;IAEJ,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../lib/client.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAGH;IAOE;;OAEG;IACH,kBAFW,eAAe,EAKzB;IAZD,uCAAuC;IACvC,KADW,OAAO,YAAY,EAAE,GAAG,CAC/B;IAEJ,8CAA8C;IAC9C,KADW,OAAO,gBAAgB,EAAE,MAAM,CACtC;IAUJ;;;;;;OAMG;IAEH;;;;;;;OAOG;IACH;;;;;;;;;;;oBAFa,QAAQ,WAAW,CAAC,CA4ChC;IAED;;;;;;;OAOG;IACH,yBAFa,QAAQ,OAAO,CAAC,CAY5B;IAED;;;;;;;OAOG;IACH,qBALW,MAAM,EAAE,UACR,MAAM,4CAEJ,QAAQ,MAAM,CAAC,CAgB3B;IAED;;;;;;;;;;OAUG;IACH,uBAPW,MAAM,cACN,MAAM,OAgChB;IAED,4CAAsC;IAEtC,4CAAsC;IACtC,4DAAsD;IAEtD,kCAA4B;IAE5B,sCAAgC;IAChC,sCAAgC;IAChC,wDAAkD;IAElD,kDAA4C;IAC5C,wCAAkC;IAElC,4BAAsB;IAEtB,kCAA4B;IAC5B,kCAA4B;IAE5B,0CAAoC;IACpC,sEAAgE;IAChE,8BAAwB;IAExB,gDAA0C;IAC1C,gCAA0B;IAE1B,gEAA0D;IAC1D,wFAAkF;CACnF;;SA9La,OAAO,YAAY,EAAE,GAAG;;kCAjBJ,sBAAsB;kCACK,sBAAsB;0CAAtB,sBAAsB;6BACtD,sBAAsB;+BACqB,wBAAwB;+BAAxB,wBAAwB;wCAAxB,wBAAwB;qCAC1C,mBAAmB;gCAAnB,mBAAmB;0BAC/C,kBAAkB;6BACD,oBAAoB;6BAApB,oBAAoB;iCACE,0BAA0B;+CAA1B,0BAA0B;2BAChE,gBAAgB;oCACM,mBAAmB;4BAAnB,mBAAmB;4CAI7D,6BAA6B;wDAA7B,6BAA6B"}
|
package/build/lib/logger.js
CHANGED
|
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.log = exports.LOG_PREFIX = void 0;
|
|
7
|
-
const
|
|
7
|
+
const logger_1 = __importDefault(require("@appium/logger"));
|
|
8
8
|
exports.LOG_PREFIX = 'SettingsApp';
|
|
9
9
|
function getLogger() {
|
|
10
|
-
const logger = global._global_npmlog ||
|
|
10
|
+
const logger = global._global_npmlog || logger_1.default;
|
|
11
11
|
if (!logger.debug) {
|
|
12
12
|
logger.addLevel('debug', 1000, { fg: 'blue', bg: 'black' }, 'dbug');
|
|
13
13
|
}
|
package/build/lib/logger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../lib/logger.js"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../lib/logger.js"],"names":[],"mappings":";;;;;;AAAA,4DAA0C;AAG7B,QAAA,UAAU,GAAG,aAAa,CAAC;AAExC,SAAS,SAAS;IAChB,MAAM,MAAM,GAAG,MAAM,CAAC,cAAc,IAAI,gBAAY,CAAC;IACrD,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;QAClB,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,CAAC,CAAC;IACtE,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAEY,QAAA,GAAG,GAAG,SAAS,EAAE,CAAC"}
|
package/lib/client.js
CHANGED
package/lib/logger.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import appiumLogger from '@appium/logger';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
export const LOG_PREFIX = 'SettingsApp';
|
|
5
5
|
|
|
6
6
|
function getLogger () {
|
|
7
|
-
const logger = global._global_npmlog ||
|
|
7
|
+
const logger = global._global_npmlog || appiumLogger;
|
|
8
8
|
if (!logger.debug) {
|
|
9
9
|
logger.addLevel('debug', 1000, { fg: 'blue', bg: 'black' }, 'dbug');
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "io.appium.settings",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.0",
|
|
4
4
|
"description": "App for dealing with Android settings",
|
|
5
5
|
"main": "./build/lib/index.js",
|
|
6
6
|
"types": "./build/lib/index.d.ts",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://github.com/appium/io.appium.settings",
|
|
46
46
|
"dependencies": {
|
|
47
|
+
"@appium/logger": "^1.3.0",
|
|
47
48
|
"asyncbox": "^3.0.0",
|
|
48
49
|
"bluebird": "^3.5.1",
|
|
49
50
|
"lodash": "^4.2.1",
|
|
50
|
-
"npmlog": "^7.0.1",
|
|
51
51
|
"semver": "^7.5.4",
|
|
52
52
|
"source-map-support": "^0.x",
|
|
53
53
|
"teen_process": "^2.0.0"
|