I originally created this plugin out of necessity to support Facebook deep links, deferred deep links, and app events in Flutter using the newer Facebook SDK versions available at the time. Unfortunately, due to work and life commitments, I was not able to continue maintaining the project as much as I intended.
The repository will remain available for reference. There are multiple community forks of this project that may contain updates or fixes, so I recommend checking the forks if you plan to use this plugin.
facebook_sdk_flutter allows you to fetch deep links, deferred deep links and log facebook app events.
This was created using the latest facebook SDK to include support for iOS 14. The plugin currently supports app events and deeps links for iOS and Android.
Prerequisites
First of all, if you don't have one already, you must first create an app at Facebook developers: https://developers.facebook.com/
Get your app id (referred to as [APP_ID] below)
For IOS
If your code does not have CFBundleURLTypes, add the following just before the final element: