File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ export default class OneSignal {
472472 * Outcomes
473473 */
474474
475- static sendOutcome ( name , callback = ( ) => { } ) {
475+ static sendOutcome ( name , callback = function ( ) { } ) {
476476 if ( ! checkIfInitialized ( ) ) return ;
477477
478478 if ( Platform . OS === "ios" ) {
@@ -488,7 +488,7 @@ export default class OneSignal {
488488 RNOneSignal . sendOutcome ( name , callback ) ;
489489 }
490490
491- static sendUniqueOutcome ( name , callback = ( ) => { } ) {
491+ static sendUniqueOutcome ( name , callback = function ( ) { } ) {
492492 if ( ! checkIfInitialized ( ) ) return ;
493493
494494 if ( Platform . OS === "ios" ) {
@@ -504,7 +504,7 @@ export default class OneSignal {
504504 RNOneSignal . sendUniqueOutcome ( name , callback ) ;
505505 }
506506
507- static sendOutcomeWithValue ( name , value , callback = ( ) => { } ) {
507+ static sendOutcomeWithValue ( name , value , callback = function ( ) { } ) {
508508 if ( ! checkIfInitialized ( ) ) return ;
509509
510510 if ( Platform . OS === "ios" ) {
You can’t perform that action at this time.
0 commit comments