Search code examples
firebasefirebase-extensions

Firebase Extension for URL Shortening: How to put in Firestore path to location of URL?


I want to use a Firebase extension called "URL Shortening" (URL shortening) and one of the questions in the installation guide states: "What is the path to the collection that contains the URLs that you want to shorten?"

enter image description here

How do I put in the path if the URL I want to shorten is located here (in yellow)?

enter image description here


Solution

  • I don't think it is currently possible for Extensions to specify a subcollection, see https://github.com/firebase/extensions/issues/352.

    However it seems that a release which supports collectionGroup queries is on its way (see https://github.com/firebase/extensions/pull/354).