Skip to content

Commit 7c6cdc7

Browse files
emawbynan-li
authored andcommitted
Merge pull request #689 from beygee/fix/logout
fix: typo with logout in ios method invoke channel
2 parents 6ec5229 + 7d09879 commit 7c6cdc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Classes/OneSignalPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
7777
[self initialize:call withResult:result];
7878
else if ([@"OneSignal#login" isEqualToString:call.method])
7979
[self login:call withResult:result];
80-
else if ([@"OneSignal#login" isEqualToString:call.method])
80+
else if ([@"OneSignal#logout" isEqualToString:call.method])
8181
[self logout:call withResult:result];
8282
else if ([@"OneSignal#consentRequired" isEqualToString:call.method])
8383
[self setConsentRequired:call withResult:result];

0 commit comments

Comments
 (0)