I am using Firebase Authentication and Firebase dynamic links in my android project. I have put restrictions in my API key here https://console.cloud.google.com/apis/credent