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 +1 -1
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/src/android/GetNet/GetNetSumni.java +3 -1
package/README.md
CHANGED
package/package.json
CHANGED
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.
|
|
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 + "(
|
|
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());
|