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.
2 parents e2da55f + f83ea6d commit e1ab757Copy full SHA for e1ab757
src/index.js
@@ -356,7 +356,8 @@ export default class OneSignal {
356
static removeExternalUserId(handler) {
357
if (!isObjectNonNull(RNOneSignal)) return;
358
359
- if (handler === undefined)
+ // Android workaround for the current issue of callback fired more than once
360
+ if (handler === undefined && Platform.OS === 'ios')
361
handler = function(){};
362
363
RNOneSignal.removeExternalUserId(handler);
0 commit comments