cordova-plugin-netcontroll-integration-getnet 1.0.112 → 1.0.113

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Versao 1.0.112
1
+ Versao 1.0.113
2
2
 
3
3
  Funções internas de integração XMenu / NetControll / GetNet
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-netcontroll-integration-getnet",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "description": "Plugin cordova de integracao para uso interno (NetControll/ XMenu)",
5
5
  "cordova": {
6
6
  "id": "cordova-plugin-netcontroll-integration-getnet",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="cordova-plugin-netcontroll-integration-getnet" version="1.0.112"
2
+ <plugin id="cordova-plugin-netcontroll-integration-getnet" version="1.0.113"
3
3
  xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
4
  xmlns:android="http://schemas.android.com/apk/res/android">
5
5
 
@@ -162,8 +162,10 @@ public class GetNetSumni {
162
162
  reader.close();
163
163
 
164
164
  String result = response.toString();
165
+ // result = result.replace("\"", "");
165
166
  // System.out.println("Resultado da URL em formato de string: " + result);
166
- executeGlobalJavascript(resultCallBackJs + "('" + result + "')");
167
+ //executeGlobalJavascript(resultCallBackJs + "(" + result + ")");
168
+ executeGlobalJavascript(result);
167
169
  callbackContext.success("Resultado da URL em formato de string: " + result);
168
170
  } else {
169
171
  callbackContext.error("Erro ao obter dados da URL. Código de resposta: " + connection.getResponseCode());