Back

Can we host assetlinks using functions in appwrite cloud?

  • 0
  • Flutter
  • Functions
  • Cloud
anmot.
8 Mar, 2024, 00:16

.well-known/assetlinks.json is needed for flutter deeplinks. I understand cloud functions are not exactly same as REST API routes. Is it possible to solve this with in the appwrite ecosystem without hosting this endpoint alone somewhere else?

TL;DR
Developers inquired about hosting assetlinks in Appwrite Cloud through functions instead of traditional hosting. They mentioned using a custom domain for a function without a website setup. The goal was to meet Flutter deeplink requirements. Theoretically, it's possible within Appwrite's ecosystem without separate hosting.
Steven
8 Mar, 2024, 00:18

theoretically, yes

Faye
8 Mar, 2024, 00:22

may i ask why they need to be on the console?

first time i've heard this 🙂

Steven
8 Mar, 2024, 00:23

i could see someone using a custom domain for a function and then serving that assetlinks.json. suppose they don't have a website there or anything and don't want to set up hosting

anmot.
8 Mar, 2024, 00:36

Are you saying we can create a route like this in cloud function - https://example.com/.well-known/assetlinks.json

Steven
8 Mar, 2024, 00:57

yes

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more