Skip to content

Commit

Permalink
Merge pull request #860 from OneSignal/fix/live_activities_bridging
Browse files Browse the repository at this point in the history
Fix Live Activities methods were not working due to bridge error
  • Loading branch information
jennantilla authored Mar 21, 2024
2 parents cbb34c4 + 81a7410 commit 2956546
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ios/Classes/OneSignalPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#import "OSFlutterSession.h"
#import "OSFlutterLocation.h"
#import "OSFlutterInAppMessages.h"
#import "OSFlutterLiveActivities.h"


@interface OneSignalPlugin ()
Expand Down Expand Up @@ -70,7 +71,7 @@ + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
[OSFlutterSession registerWithRegistrar:registrar];
[OSFlutterLocation registerWithRegistrar:registrar];
[OSFlutterInAppMessages registerWithRegistrar:registrar];

[OSFlutterLiveActivities registerWithRegistrar:registrar];
}

- (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
Expand Down

0 comments on commit 2956546

Please sign in to comment.