We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e25f3 commit 52069b7Copy full SHA for 52069b7
android/capacitor/src/main/java/com/getcapacitor/JSObject.java
@@ -46,7 +46,7 @@ public String getString(String key) {
46
public String getString(String key, String defaultValue) {
47
try {
48
String value = super.getString(key);
49
- if (value != null) {
+ if (!super.isNull(key) && value != null) {
50
return value;
51
}
52
} catch (JSONException ex) {
0 commit comments