react-native-share 7.3.4 → 7.3.5

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.
@@ -14,6 +14,7 @@ import com.facebook.react.bridge.ReadableMap;
14
14
  import com.facebook.react.bridge.Callback;
15
15
 
16
16
  import java.util.HashMap;
17
+ import java.util.Locale;
17
18
  import java.util.Map;
18
19
 
19
20
  import cl.json.social.EmailShare;
@@ -141,7 +142,7 @@ public class RNShareModule extends ReactContextBaseJavaModule implements Activit
141
142
  public Map<String, Object> getConstants() {
142
143
  Map<String, Object> constants = new HashMap<>();
143
144
  for (SHARES val : SHARES.values()) {
144
- constants.put(val.toString().toUpperCase(), val.toString());
145
+ constants.put(val.toString().toUpperCase(Locale.ROOT), val.toString());
145
146
  }
146
147
  return constants;
147
148
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-share",
3
3
  "description": "Social share, sending simple data to other apps.",
4
- "version": "7.3.4",
4
+ "version": "7.3.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/react-native-community/react-native-share.git"