sphinx-kotlin icon indicating copy to clipboard operation
sphinx-kotlin copied to clipboard

auto append tribe url param to app url #181

Open tomastiminskas opened this issue 1 year ago • 2 comments

When opening the app url from a tribe, automatically append a tribe url param with the tribe uuid. This will help apps like Second Brain identify the tribe context

Remember, any url can be set as the app url... so we need to make sure to append it properly, because the app url could already have url params set. So you can check if there is a "?" in the app url and if so append &tribe={UUID}, otherwize append ?tribe={UUID}

tomastiminskas avatar Mar 28 '23 19:03 tomastiminskas

Do you mean the FeedItemLink which has this regex?

"sphinx\\.chat:\\/\\/\\?action=share_content&feedURL=.*"

ariel10aguero avatar Apr 25 '23 07:04 ariel10aguero

No, this is for a feature it's not implemented in android yet. So skip it for now

tomastiminskas avatar Apr 25 '23 09:04 tomastiminskas