Skip to content

Conversation

@fmasa
Copy link
Owner

@fmasa fmasa commented Jun 15, 2025

Firebase Dynamic Links are deprecated and will shut down in August 2025.

This PR replaces these links with dnd-master-58fca.web.app links + custom protocol wfrp-master:// which can in the future be used for Desktop apps as well. Since the domain is actually same as the domain that Dynamic links redirected to, the previously generated wfrp.page.link links will continue to work until Firebase pulls the plug.

In the future the plan is to use a shorter domain for the links instead of this automatically generated one but it's good enough for now and getting this out ASAP means that there will be fewer broken links out in the world.

@fmasa fmasa self-assigned this Jun 15, 2025
@fmasa fmasa requested a review from Copilot June 15, 2025 16:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates invitation links from Firebase Dynamic Links to native Android App Links and a custom URI scheme (wfrp-master://), removes the Dynamic Links dependency, and updates the web invitation page accordingly.

  • Replace dynamic links with direct deep link strings in shared code
  • Update Android manifest and assetlinks.json for App Links and custom protocol
  • Revise web invitation page layout, QR code script, and styling

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
webapp/app/invitation.html Updated invitation UI, added fallback open-app link and QR code
webapp/app.css Added .text-center utility class
webapp/.well-known/assetlinks.json Added assetlinks for App Links with placeholder package
gradle/libs.versions.toml Removed Firebase Dynamic Links version entry
common/build.gradle.kts Removed Firebase Dynamic Links implementation
common/src/androidMain/.../InvitationDialogContent.kt Switched from Dynamic Links API to direct deepLink string
app/src/main/AndroidManifest.xml Added autoVerify intent filter and custom scheme filter
Comments suppressed due to low confidence (2)

webapp/app/invitation.html:38

  • The QRCode initialization lacks a 'text' property, so no data will be encoded into the QR code. Consider adding a text field (e.g., the custom protocol link) to the options.
width: 200,

common/src/androidMain/kotlin/cz/frantisekmasa/wfrp_master/common/invitation/InvitationDialogContent.kt:71

  • [nitpick] Consider adding unit tests for the InvitationLinkScreen.deepLink(json) logic to ensure the generated deep link string matches the expected format.
val link = InvitationLinkScreen.deepLink(json).toString()

@fmasa fmasa merged commit 90bbf23 into master Jun 15, 2025
9 checks passed
@fmasa fmasa deleted the app-links branch June 15, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants