Facebook app events

Am trying to Integrate the Facebook SDK in my ionic app for App events tracking. Currently am following the steps mentioned in my developers account, but its not working .
it Shows “Could not find method implementation() for arguments [com.facebook.android:facebook-android-sdk:4.26.0]”.
can i get to know if its possible to implement facebook events tracking in ionic app ?. And whats the best method to do so.
Thanks in advance