9 Matching Annotations
  1. Oct 2019
    1. When using account linking it is important to be aware that some limitations exist. First, only two accounts can participate in a link. If an attempt is made to link to an account which is already linked, the new link will replace the original link. It is also not possible to link two accounts associated with the same authentication provider. While a Facebook account may be linked with a Google account, for example, it is not possible to link two Google provider based accounts. An attempt to link accounts from the same provider will result in an exception containing a message which reads as follows: User has already been linked to the given provider. Account linking can only be performed at the point at which a new account is created. It is not possible, in other words, to link two pre-existing accounts. A workaround to this limitation is to delete one of the two accounts and then establish the link while re-creating the account

      so user cannot have 2 phone numbers or 2 emails :( :(

    1. recommend using Firebase when the API calls involve any user data and the API is intended to be used in flows where the user has an user interface
  2. Aug 2019
  3. Jul 2019
    1. Firebase Vs MongoDB : Battle of the Best Databases 2019You are here:HomeDev & DesignFirebase Vs MongoDB : Battle…

      Now that you may have found that NoSQL database is the best option for you to set up your servers, you must find the best NoSQL database. Likewise, there are two prominent candidates for you to choose from Firebase Vs MongoDB.

  4. Jun 2019
  5. Mar 2019
  6. Dec 2018
    1. To return data after an asynchronous operation, return a promise.

      I just struggled for a few hours trying to resolve some errors about CORS and 500 INTERNAL errors.

      This line is a bit misleading.

      In trying to get things up and running, I was returning a simple JSON object rather than a Promise. According to what I found, even if you don't have any async work, you still need to return a Promise from your function.

  7. Nov 2018
  8. Dec 2017
    1. You can use the value event to read a static snapshot of the contents at a given path, as they existed at the time of the event. This method is triggered once when the listener is attached and again every time the data, including children, changes. The event callback is passed a snapshot containing all data at that location, including child data.

      So adding a ref too close to the root means the entire snapshop is sent, not just the diff