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 9316b9d commit b30818eCopy full SHA for b30818e
index.js
@@ -237,7 +237,7 @@ export default class OneSignal {
237
if (!checkIfInitialized()) return;
238
239
if (typeof value === "boolean") {
240
- value = JSON.stringify(value);
+ value = value.toString();
241
}
242
243
RNOneSignal.sendTag(key, value);
@@ -248,7 +248,7 @@ export default class OneSignal {
248
249
Object.keys(tags).forEach((key)=>{
250
if (typeof tags[key] === "boolean"){
251
- tags[key] = JSON.stringify(tags[key]);
+ tags[key] = tags[key].toString();
252
253
})
254
0 commit comments