reactnative-plugin-appice 1.7.10 → 1.7.12

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.
@@ -16,7 +16,7 @@
16
16
  "install": "^0.13.0",
17
17
  "react": "18.0.0",
18
18
  "react-native": "0.69.4",
19
- "reactnative-plugin-appice": "^1.7.0"
19
+ "reactnative-plugin-appice": "^1.7.11"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@babel/core": "^7.12.9",
package/index.js CHANGED
@@ -290,7 +290,7 @@ var AppICEReact = {
290
290
  * @callback will have the json object
291
291
  */
292
292
  getInboxMessageForId: function (messageId, userId, callback) {
293
- callWithCallback('getMessageCount', [messageId, userId], callback);
293
+ callWithCallback('getInboxMessageForId', [messageId, userId], callback);
294
294
  },
295
295
 
296
296
  /**
@@ -209,7 +209,7 @@ RCT_EXPORT_METHOD(setUser:(NSDictionary*)userProfile)
209
209
  app.age = [userProfile[items[i] ]intValue];
210
210
  break;
211
211
  case 6:
212
- app.is_user_employed = userProfile[items[i]];
212
+ app.is_user_employed = [userProfile[items[i]]boolValue];
213
213
  break;
214
214
  case 7:
215
215
  app.employment_type = userProfile[items[i]];
@@ -218,7 +218,7 @@ RCT_EXPORT_METHOD(setUser:(NSDictionary*)userProfile)
218
218
  app.education_type = userProfile[items[i]];
219
219
  break;
220
220
  case 9:
221
- app.is_user_married = userProfile[items[i]];
221
+ app.is_user_married = [userProfile[items[i]]boolValue];
222
222
  break;
223
223
  default:
224
224
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactnative-plugin-appice",
3
- "version": "1.7.10",
3
+ "version": "1.7.12",
4
4
  "description": "appICE React Native SDK",
5
5
  "main": "index.js",
6
6
  "files": [
File without changes
File without changes