reactnative-plugin-appice 1.7.30 → 1.7.31

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/index.js CHANGED
@@ -435,6 +435,34 @@ var AppICEReact = {
435
435
  AppIceReactPlugin.isDeviceReady(isActive);
436
436
  },
437
437
 
438
+ //===============================================
439
+ // language setting
440
+ //===============================================
441
+
442
+ setAppLanguage: function (language) {
443
+ if (Platform.OS === 'android') {
444
+ AppIceReactPlugin.setAppLanguage(language);
445
+ }
446
+ },
447
+
448
+ subscribeAppLanguage: function (language) {
449
+ if (Platform.OS === 'android') {
450
+ AppIceReactPlugin.subscribeAppLanguage(language);
451
+ }
452
+ },
453
+
454
+ setDeviceLanguage: function (language) {
455
+ if (Platform.OS === 'android') {
456
+ AppIceReactPlugin.setDeviceLanguage(language);
457
+ }
458
+ },
459
+
460
+ subscribeDeviceLanguage: function (language) {
461
+ if (Platform.OS === 'android') {
462
+ AppIceReactPlugin.subscribeDeviceLanguage(language);
463
+ }
464
+ },
465
+
438
466
  /*===============
439
467
  synchronizeData
440
468
  ================*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactnative-plugin-appice",
3
- "version": "1.7.30",
3
+ "version": "1.7.31",
4
4
  "description": "appICE React Native SDK",
5
5
  "main": "index.js",
6
6
  "files": [