# Migrate to v3.1.0

## 1. Delete A Collection from Firebase

From your firebase console, go to the Firestore Database and delete the **admin** collection.

## 2. Admin Migration

Download and use the new source code.

Follow: 1, 2, 3, 3.2, 3.4, 4, 5, 6

## 3. App Migration

Download and use the new source code.

Follow: 1, 2, 3.2, 3.4 (Don't generate any new keys, Use the old one and edit only the **android/key.properties** file), 4 (Replace only the OneSignal App Id), 5, 6, 7, 8, 9, 10, 11


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://walfydoc.mrb-lab.com/updates/migrate-to-v3.1.0.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
