cordova-plugin-netcontroll-integration-getnet 1.0.104

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.
@@ -0,0 +1,102 @@
1
+ repositories {
2
+ google()
3
+ jcenter()
4
+ flatDir {
5
+ dirs 'src/main/libs'
6
+ }
7
+ mavenCentral()
8
+ // maven { url "https://packagecloud.io/priv/a753b90c3483978bb2514e3618ee3f72eb37ec2c9aa0b31d/getNet/pos-android/maven2" }
9
+ // maven { url "https://packagecloud.io/priv/a753b90c3483978bb2514e3618ee3f72eb37ec2c9aa0b31d/getNet/pos-android-internal/maven2" }
10
+ // maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
11
+ }
12
+ dependencies {
13
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
14
+ // implementation fileTree(dir: 'libs', include: ['*.aar'])
15
+
16
+
17
+ //Libs
18
+ //______________________________ Html BitMap ______________________________
19
+ implementation 'com.izettle:html2bitmap:1.9'
20
+ // implementation 'com.android.support:multidex:1.0.1'
21
+ // implementation 'com.google.code.gson:gson:2.8.0'
22
+
23
+ // // classpath 'com.google.code.gson:gson:2.8.0'
24
+ // // implementation 'com.google.code.gson:gson:2.8.9'
25
+ // // implementation 'com.google.code.gson:gson:2.8.5'
26
+
27
+
28
+ //Novo
29
+ // implementation "br.com.getNet:getNet-sdk:4.3.9"
30
+
31
+ // implementation "br.com.getNet:getNet-sdk-posandroid:4.3.9"
32
+
33
+ // implementation "br.com.getNet:getNet-sdk-posandroid-ingenico:4.3.9"
34
+
35
+ // implementation "br.com.getNet:getNet-sdk-posandroid-sunmi:4.3.9"
36
+
37
+ // implementation "br.com.getNet:getNet-sdk-posandroid-gertec:4.3.9"
38
+
39
+ // //SMART POS
40
+ // //______________________________ GetNet ______________________________
41
+ implementation(name: 'libposdigital-1.8.0-12-release', ext: 'aar')
42
+ // implementation "br.com.getNet:getNet-sdk:4.0.6"
43
+ // implementation "br.com.getNet:getNet-sdk-posandroid:4.0.6"
44
+ // implementation "br.com.getNet:getNet-sdk-posandroid-ingenico:4.0.6"
45
+ // // implementation "br.com.getNet:getNet-sdk-posandroid-gertec:4.0.6"
46
+ // // implementation "br.com.getNet:getNet-sdk-posandroid-sunmi:4.0.6"
47
+
48
+
49
+ // //Biblioteca de suporte dos códigos de barras utilizada para impressão dos mesmos
50
+ // // implementation 'com.google.zxing:core:3.3.2'
51
+ // //implementation 'com.google.zxing:javase:3.3.2'
52
+
53
+ //A lib e1 na versão 1.0.16 depende do suporte do androidx na inicialização
54
+ implementation "androidx.startup:startup-runtime:1.0.0"
55
+
56
+ //Em alguns frameworks (como o Ionic), pode ser necessário a definição de alguns atributos de cor utilizado por algumas das libs já incluidas, para evitar qualquer inconsistência nesse sentido
57
+ //adicionamos a implementação desses atributos em específicos, assim não será necessário que o plugin depende de alguma dependência como app-compat ou similares.
58
+ implementation 'com.android.support:design:28.0.0'
59
+
60
+ implementation 'com.google.code.gson:gson:2.8.5'
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+ // implementation 'cordova-plugin-screen-orientation:3.0.2'
77
+
78
+ // implementation(name: 'IntegracaoSafra-v2.0', ext: 'aar') {
79
+ // // exclude group: 'com.google.gson', module: 'jetified-IntegracaoSafra-v2.0-runtime.jar'
80
+ // // exclude group: 'com.google.gson', module: 'IntegracaoSafra-v2.0'
81
+ // // exclude group: 'all*.exclude module: 'support-v4'
82
+ // exclude group: "com.google.gson", module: " jetified-IntegracaoSafra-v2.0-runtime.jar"
83
+ // }
84
+
85
+ // implementation(name: 'IntegracaoSafra-v2.0', ext: 'aar')
86
+
87
+ // implementation(name: 'IntegracaoSafra-v2.0', ext: 'aar') {
88
+ // exclude group: 'com.google.gson', module: 'IntegracaoSafra-v2.0'
89
+ // }
90
+
91
+ // implementation(name: 'barcodescanner-release-2.1.5', ext: 'aar') {
92
+ // exclude group: 'com.google.zxing', module: 'android-core'
93
+ // transitive = false
94
+ // }
95
+ }
96
+
97
+ configurations {
98
+ // all*.exclude group: 'com.google.gson'
99
+ // all*.exclude group: 'com.google.code.gson', module: 'gson'
100
+ // all*.exclude group: 'com.squareup.retrofit2', module: 'converter-gson'
101
+ // all*.exclude group: 'com.docusign', module: 'androidsdk-swagger'
102
+ }
@@ -0,0 +1,32 @@
1
+ var exec = require('cordova/exec');
2
+
3
+ exports.InitializeSdk = function (params, success, error) {
4
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'GetNet.Sumni.InitializeSdk', [params]);
5
+ }
6
+
7
+
8
+ exports.IniciarTransacao = function (params, success, error) {
9
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'GetNet.Sumni.IniciarTransacao', [params]);
10
+ }
11
+
12
+ exports.CancelarTransacao = function (params, success, error) {
13
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'GetNet.Sumni.CancelarTransacao', [params]);
14
+ }
15
+
16
+ exports.ReimprimirUltimo = function (params, success, error) {
17
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'GetNet.Sumni.ReimprimirUltimo', [params]);
18
+ }
19
+
20
+ exports.ObterInformacaoTerminal = function (params, success, error) {
21
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'GetNet.Sumni.ObterInformacaoTerminal', [params]);
22
+ }
23
+
24
+ exports.ConsultaStatus = function (params, success, error) {
25
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'GetNet.Sumni.ConsultaStatus', [params]);
26
+ }
27
+
28
+
29
+
30
+ exports.ImpressaoTextoNetPrint = function (params, success, error) {
31
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'GetNet.Sumni.ImpressaoTextoNetPrint', [params]);
32
+ }
@@ -0,0 +1,16 @@
1
+ var exec = require('cordova/exec');
2
+
3
+ exports.TesteRoot = function (arg0, success, error) {
4
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'Teste', [arg0]);
5
+ };
6
+
7
+ exports.coolMethod2 = function (arg0, success, error) {
8
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'coolMethod2', [arg0]);
9
+ };
10
+
11
+ exports.HelpersConverterHtmlToBitmap = function (arg0, success, error) {
12
+ debugger;
13
+ //success('teste');
14
+ exec(success, error, 'NetControllCordovaPluginsIntegrationGetNet', 'Helpers.ConverterHtmlToBitmap', [arg0]);
15
+ };
16
+