Stefano Giacone
Stefano Giacone

Reputation: 2153

Is Facebook Activity still required?

I started to develop my app on Android few months ago, today I found in my Manifest the following:

<application android:label="@string/app_name" ...>
    ...
    <activity android:name="com.facebook.FacebookActivity" />
    ...
</application>

As you can see there is the Facebook Activity. If you read the facebook doc here you can find:

  • Add the Facebook SDK for Android to your mobile development environment
  • Get a Facebook App ID properly configured and linked to your Android app. See - Android Getting Started, Add Facebook App ID
  • Generate an Android Key Hash and add it to your developer profile
  • Add a Facebook Activity and include it in your AndroidManifest.xml

But if you read the getting started doc you can't find any reference to the Facebook Activity. Is the facebook activity no longer needed?

Thanks

Upvotes: 1

Views: 1421

Answers (1)

Darish
Darish

Reputation: 11491

Is Facebook Activity still required?

You don't need to add it explicitly into manifest. New SDK handles this for you behind the scenes. cheers :)

Upvotes: 6

Related Questions