I connected to the Facebook SDK application, but how can I fix an application opening event in the application? For this, I added the following class to the application:

import android.app.Application; import com.facebook.appevents.AppEventsLogger; public class HelloFacebookApplication extends Application { @Override public void onCreate() { super.onCreate(); AppEventsLogger.activateApp(this); } } 

Is this enough or do you need to add more code to the onCreate () method of the MainActivity class? And it is not clear how to fix the location of the user in the application within 30 seconds. I use the following dependency in the application:

 implementation 'com.facebook.android:facebook-android-sdk:4.35.0' 

    0