-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can the firebase document ref path be customized without using the function? #5
Comments
No. |
Hi, |
I think it’s unnecessarily paranoid to write off cloud functions. https://cloud.google.com/functions/docs/bestpractices/retries Otherwise, see wiki Android Headless Mode |
A cloud-function to simply re-save the data with a different schema doesn't involve HTTP. And as a result, these invocations are incredibly inexpensive, at about $3.20 / 10M invocations. |
@christocracy how can I pass my usersID along with the geolocation data. Tried doing it like locationsCollection: "/locations/{$usserid}" but I notice it keeps overriding it n the cloud function.pls is there a fix because I want to attach a geolocation record to a userId |
@ajanieniolasolomon Your collection-name needs to have an odd number of parts, yours has two (even). eg: |
Yes I did try this with cloud function no content was created on my users
location collection
…On Wed, 1 Apr 2020 at 4:45 PM, Chris Scott ***@***.***> wrote:
@ajanieniolasolomon <https://github.com/ajanieniolasolomon> Your
collection-name needs to have an *odd* number of parts, yours has *two*
(even).
eg: locationsCollection: "/users/{$userid}/locations"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFMVP6NAU53HM5DA5UC3CM3RKNOQLANCNFSM4HWRDRAQ>
.
|
Are you watching the application logs? |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: