Question: I was testing my login/sign up feature and for some reason I can't understand Firebase now is blocking all requests from my device.

I've waited one day to try again, but I still have the same problem.

> 
> ERROR:
>  "We have blocked all requests from this device due to unusual activity. Try again later."
> 
> 
> 

What should I do to have access to my database again?

Answer: 
If you are doing tests a better way to go about it is to add the phone number as a test number Authentication > Sign in method > Phone. Then add the test number + the verification code you'll use
Also, setting up Firebase Auth test phone numbers should help.

Per <https://firebase.google.com/docs/auth/ios/phone-auth#test-with-fictional-phone-numbers>:

**Test with fictional phone numbers**  

You can set up fictional phone numbers for development via the Firebase console. Testing with fictional phone numbers provides these benefits:

* Test phone number authentication without consuming your usage quota.
* Test phone number authentication without sending an actual SMS message.
Run consecutive tests with the same phone number without getting throttled. This minimizes the risk of rejection during App store review process if the reviewer happens to use the same phone number for testing.
* Test readily in development environments without any additional effort, such as the ability to develop in an iOS simulator or an Android emulator without Google Play Services.
* Write integration tests without being blocked by security checks normally applied on real phone numbers in a production environment.

**Fictional phone numbers must meet these requirements:**

* Make sure you use phone numbers that are indeed fictional, and do not already exist. Firebase Authentication does not allow you to set existing phone numbers used by real users as test numbers.  

One option is to use 555 prefixed numbers as US test phone numbers, for example: +1 650-555-3434
* Phone numbers have to be correctly formatted for length and other constraints. They will still go through the same validation as a real user's phone number.
* You can add up to 10 phone numbers for development.
* Use test phone numbers/codes that are hard to guess and change those frequently.

**Create fictional phone numbers and verification codes**

* In the Firebase console, open the Authentication section.
* In the Sign in method tab, enable the Phone provider if you haven't already.
* Open the Phone numbers for testing accordion menu.
* Provide the phone number you want to test, for example: +1 650-555-3434.
* Provide the 6-digit verification code for that specific number, for example: 654321.
* Add the number. If there's a need, you can delete the phone number and its code by hovering over the corresponding row and clicking the trash icon.