Skip to content

Commit

Permalink
Merge pull request #126 from oddbit/issue/125-error-instance-member-i…
Browse files Browse the repository at this point in the history
…nitializeSDK

Change implementation initializeSDK
  • Loading branch information
DennisAlund authored Aug 18, 2021
2 parents 7462416 + f528329 commit d809e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/SwiftFacebookAppEventsPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class SwiftFacebookAppEventsPlugin: NSObject, FlutterPlugin {
// Required for FB SDK 9.0, as it does not initialize the SDK automatically any more.
// See: https://developers.facebook.com/blog/post/2021/01/19/introducing-facebook-platform-sdk-version-9/
// "Removal of Auto Initialization of SDK" section
ApplicationDelegate.initializeSDK()
ApplicationDelegate.shared.initializeSDK()

registrar.addMethodCallDelegate(instance, channel: channel)
}
Expand Down

0 comments on commit d809e2d

Please sign in to comment.