---
title: "Update Facebook login for Android 11 compatibility"
description: "Following 2021 Google requirements and the migration of your Android app to Android 11, to keep Facebook authentication working on your Android app, you need to"
canonical_url: "https://www.goodbarber.com/help/set-up-user-authentication-and-groups-r102/update-facebook-login-for-android-11-compatibility-a380/"
lang: en
---

# Update Facebook login for Android 11 compatibility

Source: https://www.goodbarber.com/help/set-up-user-authentication-and-groups-r102/update-facebook-login-for-android-11-compatibility-a380/

Following 2021 Google requirements and the migration of your Android app to Android 11, to keep Facebook authentication working on your Android app, you need to add some settings* to your Facebook app on Facebook developer platform.

**If you haven't set Facebook authentication yet, please read this [online help](https://www.goodbarber.com/help/set-up-user-authentication-and-groups-r102/set-up-facebook-login-for-native-ios-and-android-apps-a39/) .*

## 1. Migrate your Android GoodBarber app to Android 11

- If you subscribed to our service GoodBarber Takes Care (GBTC), simply ask for the update of your app to the store: [Android - Request the update of your Android app (GoodBarber Takes Care)](https://www.goodbarber.com/help/goodbarber-takes-care-gbtc-publication-service-r80/request-an-android-app-update-gbtc-service-a335/)
or
- If you are in a Solo mode, start by following these instructions: Migration of GoodBarber apps to Android 11 (Solo)

**Once your Android app has been rebuilt** (new ad hoc version generated), and **before submitting the latest version to the Play store**, make sure to follow the indications below.

## 2. Add a new Key Hash to your Facebook app

1. Login to your [Facebook developer account](https://developers.facebook.com/apps) and select your App.
2. Go to Facebook Menu ***Settings > Basic***
3. Scroll down to the Android block
4. Add to the existing key, **the new Facebook key Hash*** that has been generated for your app.
Copy and paste the new Facebook key hash from the menu Publish > Android App > Certificates in your back office.

****If you only have one Facebook key hash available**in your back office, don't worry, it means your SHA-1 Certificate Fingerprint (Google App Signing) and SHA-1 Certificate Fingerprint are the same, in this case no action is required on your end.
Facebook authentication will keep working, you don't need to edit anything on Facebook platform.*

![](https://cmsphoto.ww-cdn.com/superstatic/1663330/art/default/57797576-42777794.jpg?v=1652440677.744193)

5. Test Facebook authentication on the latest ad hoc version that was generated (step 1 above when you migrated your Android GoodBarber app to Android 11), then send the new .aab version of your app to the Play Store:
Solo: [Android - Update the Android app on Google Play Store](https://www.goodbarber.com/help/publish-your-android-app-yourself-solo-r62/update-your-app-on-google-play-a371/)
GBTC: [Request the update of your Android app](https://www.goodbarber.com/help/goodbarber-takes-care-gbtc-publication-service-r80/request-an-android-app-update-gbtc-service-a335/)
