capacitor-autostartmanager 0.1.0 → 0.1.1
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/android/build.gradle +7 -7
- package/dist/esm/definitions.d.ts +9 -9
- package/dist/esm/definitions.js +1 -1
- package/dist/esm/index.d.ts +4 -4
- package/dist/esm/index.js +6 -6
- package/dist/esm/web.d.ts +11 -11
- package/dist/esm/web.js +12 -12
- package/dist/plugin.cjs.js +12 -12
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +12 -12
- package/dist/plugin.js.map +1 -1
- package/package.json +14 -13
package/android/build.gradle
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
ext {
|
|
2
2
|
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
|
|
3
|
-
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.
|
|
4
|
-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.
|
|
5
|
-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.
|
|
3
|
+
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
|
|
4
|
+
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
|
|
5
|
+
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
buildscript {
|
|
@@ -12,7 +12,7 @@ buildscript {
|
|
|
12
12
|
mavenCentral()
|
|
13
13
|
}
|
|
14
14
|
dependencies {
|
|
15
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
15
|
+
classpath 'com.android.tools.build:gradle:8.13.0'
|
|
16
16
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -22,10 +22,10 @@ apply plugin: 'kotlin-android'
|
|
|
22
22
|
|
|
23
23
|
android {
|
|
24
24
|
namespace "io.github.asephermann.plugins.autostartmanager"
|
|
25
|
-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
25
|
+
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
|
|
26
26
|
defaultConfig {
|
|
27
|
-
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion :
|
|
28
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
27
|
+
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
|
|
28
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
|
|
29
29
|
versionCode 1
|
|
30
30
|
versionName "1.0"
|
|
31
31
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface AutoStartManagerPlugin {
|
|
2
|
-
showStartManager(): Promise<void>;
|
|
3
|
-
checkAutomaticDateTimeZone(): Promise<{
|
|
4
|
-
isAutomatic: Boolean;
|
|
5
|
-
}>;
|
|
6
|
-
checkCamera(): Promise<{
|
|
7
|
-
isCameraOpen: Boolean;
|
|
8
|
-
}>;
|
|
9
|
-
}
|
|
1
|
+
export interface AutoStartManagerPlugin {
|
|
2
|
+
showStartManager(): Promise<void>;
|
|
3
|
+
checkAutomaticDateTimeZone(): Promise<{
|
|
4
|
+
isAutomatic: Boolean;
|
|
5
|
+
}>;
|
|
6
|
+
checkCamera(): Promise<{
|
|
7
|
+
isCameraOpen: Boolean;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
package/dist/esm/definitions.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=definitions.js.map
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AutoStartManagerPlugin } from './definitions';
|
|
2
|
-
declare const AutoStartManager: AutoStartManagerPlugin;
|
|
3
|
-
export * from './definitions';
|
|
4
|
-
export { AutoStartManager };
|
|
1
|
+
import type { AutoStartManagerPlugin } from './definitions';
|
|
2
|
+
declare const AutoStartManager: AutoStartManagerPlugin;
|
|
3
|
+
export * from './definitions';
|
|
4
|
+
export { AutoStartManager };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { registerPlugin } from '@capacitor/core';
|
|
2
|
-
const AutoStartManager = registerPlugin('AutoStartManager', {
|
|
3
|
-
web: () => import('./web').then(m => new m.AutoStartManagerWeb()),
|
|
4
|
-
});
|
|
5
|
-
export * from './definitions';
|
|
6
|
-
export { AutoStartManager };
|
|
1
|
+
import { registerPlugin } from '@capacitor/core';
|
|
2
|
+
const AutoStartManager = registerPlugin('AutoStartManager', {
|
|
3
|
+
web: () => import('./web').then(m => new m.AutoStartManagerWeb()),
|
|
4
|
+
});
|
|
5
|
+
export * from './definitions';
|
|
6
|
+
export { AutoStartManager };
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/web.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { WebPlugin } from '@capacitor/core';
|
|
2
|
-
import type { AutoStartManagerPlugin } from './definitions';
|
|
3
|
-
export declare class AutoStartManagerWeb extends WebPlugin implements AutoStartManagerPlugin {
|
|
4
|
-
showStartManager(): Promise<void>;
|
|
5
|
-
checkAutomaticDateTimeZone(): Promise<{
|
|
6
|
-
isAutomatic: Boolean;
|
|
7
|
-
}>;
|
|
8
|
-
checkCamera(): Promise<{
|
|
9
|
-
isCameraOpen: Boolean;
|
|
10
|
-
}>;
|
|
11
|
-
}
|
|
1
|
+
import { WebPlugin } from '@capacitor/core';
|
|
2
|
+
import type { AutoStartManagerPlugin } from './definitions';
|
|
3
|
+
export declare class AutoStartManagerWeb extends WebPlugin implements AutoStartManagerPlugin {
|
|
4
|
+
showStartManager(): Promise<void>;
|
|
5
|
+
checkAutomaticDateTimeZone(): Promise<{
|
|
6
|
+
isAutomatic: Boolean;
|
|
7
|
+
}>;
|
|
8
|
+
checkCamera(): Promise<{
|
|
9
|
+
isCameraOpen: Boolean;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
package/dist/esm/web.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { WebPlugin } from '@capacitor/core';
|
|
2
|
-
export class AutoStartManagerWeb extends WebPlugin {
|
|
3
|
-
async showStartManager() {
|
|
4
|
-
throw new Error('Method not implemented.');
|
|
5
|
-
}
|
|
6
|
-
async checkAutomaticDateTimeZone() {
|
|
7
|
-
throw new Error('Method not implemented.');
|
|
8
|
-
}
|
|
9
|
-
async checkCamera() {
|
|
10
|
-
throw new Error('Method not implemented.');
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
import { WebPlugin } from '@capacitor/core';
|
|
2
|
+
export class AutoStartManagerWeb extends WebPlugin {
|
|
3
|
+
async showStartManager() {
|
|
4
|
+
throw new Error('Method not implemented.');
|
|
5
|
+
}
|
|
6
|
+
async checkAutomaticDateTimeZone() {
|
|
7
|
+
throw new Error('Method not implemented.');
|
|
8
|
+
}
|
|
9
|
+
async checkCamera() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
13
|
//# sourceMappingURL=web.js.map
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
var core = require('@capacitor/core');
|
|
4
4
|
|
|
5
|
-
const AutoStartManager = core.registerPlugin('AutoStartManager', {
|
|
6
|
-
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.AutoStartManagerWeb()),
|
|
5
|
+
const AutoStartManager = core.registerPlugin('AutoStartManager', {
|
|
6
|
+
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.AutoStartManagerWeb()),
|
|
7
7
|
});
|
|
8
8
|
|
|
9
|
-
class AutoStartManagerWeb extends core.WebPlugin {
|
|
10
|
-
async showStartManager() {
|
|
11
|
-
throw new Error('Method not implemented.');
|
|
12
|
-
}
|
|
13
|
-
async checkAutomaticDateTimeZone() {
|
|
14
|
-
throw new Error('Method not implemented.');
|
|
15
|
-
}
|
|
16
|
-
async checkCamera() {
|
|
17
|
-
throw new Error('Method not implemented.');
|
|
18
|
-
}
|
|
9
|
+
class AutoStartManagerWeb extends core.WebPlugin {
|
|
10
|
+
async showStartManager() {
|
|
11
|
+
throw new Error('Method not implemented.');
|
|
12
|
+
}
|
|
13
|
+
async checkAutomaticDateTimeZone() {
|
|
14
|
+
throw new Error('Method not implemented.');
|
|
15
|
+
}
|
|
16
|
+
async checkCamera() {
|
|
17
|
+
throw new Error('Method not implemented.');
|
|
18
|
+
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
var web = /*#__PURE__*/Object.freeze({
|
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst AutoStartManager = registerPlugin('AutoStartManager', {\n web: () => import('./web').then(m => new m.AutoStartManagerWeb()),\n});\nexport * from './definitions';\nexport { AutoStartManager };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class AutoStartManagerWeb extends WebPlugin {\n async showStartManager() {\n throw new Error('Method not implemented.');\n }\n async checkAutomaticDateTimeZone() {\n throw new Error('Method not implemented.');\n }\n async checkCamera() {\n throw new Error('Method not implemented.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,gBAAgB,GAAGA,mBAAc,CAAC,kBAAkB,EAAE;AAC5D,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,mBAAmB,EAAE,CAAC;AACrE,CAAC;;ACFM,MAAM,mBAAmB,SAASC,cAAS,CAAC;AACnD,IAAI,MAAM,gBAAgB,GAAG;AAC7B,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC;AAClD,IAAI;AACJ,IAAI,MAAM,0BAA0B,GAAG;AACvC,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC;AAClD,IAAI;AACJ,IAAI,MAAM,WAAW,GAAG;AACxB,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC;AAClD,IAAI;AACJ;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
var capacitorAutoStartManager = (function (exports, core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
const AutoStartManager = core.registerPlugin('AutoStartManager', {
|
|
5
|
-
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.AutoStartManagerWeb()),
|
|
4
|
+
const AutoStartManager = core.registerPlugin('AutoStartManager', {
|
|
5
|
+
web: () => Promise.resolve().then(function () { return web; }).then(m => new m.AutoStartManagerWeb()),
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
class AutoStartManagerWeb extends core.WebPlugin {
|
|
9
|
-
async showStartManager() {
|
|
10
|
-
throw new Error('Method not implemented.');
|
|
11
|
-
}
|
|
12
|
-
async checkAutomaticDateTimeZone() {
|
|
13
|
-
throw new Error('Method not implemented.');
|
|
14
|
-
}
|
|
15
|
-
async checkCamera() {
|
|
16
|
-
throw new Error('Method not implemented.');
|
|
17
|
-
}
|
|
8
|
+
class AutoStartManagerWeb extends core.WebPlugin {
|
|
9
|
+
async showStartManager() {
|
|
10
|
+
throw new Error('Method not implemented.');
|
|
11
|
+
}
|
|
12
|
+
async checkAutomaticDateTimeZone() {
|
|
13
|
+
throw new Error('Method not implemented.');
|
|
14
|
+
}
|
|
15
|
+
async checkCamera() {
|
|
16
|
+
throw new Error('Method not implemented.');
|
|
17
|
+
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
var web = /*#__PURE__*/Object.freeze({
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst AutoStartManager = registerPlugin('AutoStartManager', {\n web: () => import('./web').then(m => new m.AutoStartManagerWeb()),\n});\nexport * from './definitions';\nexport { AutoStartManager };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class AutoStartManagerWeb extends WebPlugin {\n async showStartManager() {\n throw new Error('Method not implemented.');\n }\n async checkAutomaticDateTimeZone() {\n throw new Error('Method not implemented.');\n }\n async checkCamera() {\n throw new Error('Method not implemented.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,gBAAgB,GAAGA,mBAAc,CAAC,kBAAkB,EAAE;IAC5D,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,mBAAmB,EAAE,CAAC;IACrE,CAAC;;ICFM,MAAM,mBAAmB,SAASC,cAAS,CAAC;IACnD,IAAI,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC;IAClD,IAAI;IACJ,IAAI,MAAM,0BAA0B,GAAG;IACvC,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC;IAClD,IAAI;IACJ,IAAI,MAAM,WAAW,GAAG;IACxB,QAAQ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC;IAClD,IAAI;IACJ;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "capacitor-autostartmanager",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Auto Start Manager, Check Automatic Date Time Zone, Check Camera",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -44,24 +44,25 @@
|
|
|
44
44
|
"prepublishOnly": "npm run build"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@capacitor/android": "^
|
|
48
|
-
"@capacitor/cli": "^
|
|
49
|
-
"@capacitor/core": "^
|
|
50
|
-
"@capacitor/docgen": "^0.3.
|
|
51
|
-
"@capacitor/ios": "^
|
|
47
|
+
"@capacitor/android": "^8.0.0",
|
|
48
|
+
"@capacitor/cli": "^8.0.0",
|
|
49
|
+
"@capacitor/core": "^8.0.0",
|
|
50
|
+
"@capacitor/docgen": "^0.3.1",
|
|
51
|
+
"@capacitor/ios": "^8.0.0",
|
|
52
52
|
"@ionic/eslint-config": "^0.4.0",
|
|
53
53
|
"@ionic/prettier-config": "^4.0.0",
|
|
54
54
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"prettier
|
|
58
|
-
"
|
|
59
|
-
"
|
|
55
|
+
"@types/node": "^25.5.0",
|
|
56
|
+
"eslint": "^8.57.1",
|
|
57
|
+
"prettier": "^3.6.2",
|
|
58
|
+
"prettier-plugin-java": "^2.7.7",
|
|
59
|
+
"rimraf": "^6.1.0",
|
|
60
|
+
"rollup": "^4.53.2",
|
|
60
61
|
"swiftlint": "^2.0.0",
|
|
61
|
-
"typescript": "
|
|
62
|
+
"typescript": "^5.9.3"
|
|
62
63
|
},
|
|
63
64
|
"peerDependencies": {
|
|
64
|
-
"@capacitor/core": ">=
|
|
65
|
+
"@capacitor/core": ">=8.0.0"
|
|
65
66
|
},
|
|
66
67
|
"prettier": "@ionic/prettier-config",
|
|
67
68
|
"swiftlint": "@ionic/swiftlint-config",
|