1 | "use strict";
|
2 | var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5 | else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6 | return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7 | };
|
8 | var plugin_1 = require('./plugin');
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 | var Sim = (function () {
|
37 | function Sim() {
|
38 | }
|
39 | |
40 |
|
41 |
|
42 |
|
43 | Sim.getSimInfo = function () { return; };
|
44 | |
45 |
|
46 |
|
47 |
|
48 | Sim.hasReadPermission = function () { return; };
|
49 | |
50 |
|
51 |
|
52 |
|
53 | Sim.requestReadPermission = function () { return; };
|
54 | __decorate([
|
55 | plugin_1.Cordova()
|
56 | ], Sim, "getSimInfo", null);
|
57 | __decorate([
|
58 | plugin_1.Cordova({
|
59 | platforms: ['Android']
|
60 | })
|
61 | ], Sim, "hasReadPermission", null);
|
62 | __decorate([
|
63 | plugin_1.Cordova({
|
64 | platforms: ['Android']
|
65 | })
|
66 | ], Sim, "requestReadPermission", null);
|
67 | Sim = __decorate([
|
68 | plugin_1.Plugin({
|
69 | pluginName: 'Sim',
|
70 | plugin: 'cordova-plugin-sim',
|
71 | pluginRef: 'plugins.sim',
|
72 | repo: 'https://github.com/pbakondy/cordova-plugin-sim',
|
73 | platforms: ['Android', 'iOS', 'Windows Phone']
|
74 | })
|
75 | ], Sim);
|
76 | return Sim;
|
77 | }());
|
78 | exports.Sim = Sim;
|
79 |
|
\ | No newline at end of file |