Skip to content

Commit

Permalink
fix: iOS deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
devdivr committed Feb 14, 2023
1 parent a745ef0 commit e1daffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/SwiftFlutterFacebookSdkPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public class SwiftFlutterFacebookSdkPlugin: NSObject, FlutterPlugin, FlutterStre
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
switch call.method {
case "initializeSDK":
ApplicationDelegate.initializeSDK(nil)
ApplicationDelegate.shared.initializeSDK()
result(nil)
return
case "getPlatformVersion":
Expand Down

0 comments on commit e1daffb

Please sign in to comment.