Skip to content

Commit

Permalink
Fixed call order.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Jan 4, 2024
1 parent 2f4b315 commit 12521f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ARTPushActivationState.m
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ - (ARTPushActivationState *)transition:(ARTPushActivationEvent *)event {
return self;
}
else if ([event isKindOfClass:[ARTPushActivationEventCalledActivate class]]) {
[self.machine registerForAPNS];
#if TARGET_OS_IOS
[self.machine.rest setupLocalDevice_nosync];
#endif
[self.machine registerForAPNS];
return validateAndSync(self.machine, event, self.logger);
}
return nil;
Expand Down

0 comments on commit 12521f8

Please sign in to comment.