divolt-android
divolt-android copied to clipboard
Divolt opens as a Chrome Custom Tab and not a PWA
Divolt doesn't appear to work as a PWA, as this apk which is supposed to act like any other PWA if I understand how TWAs work, opens a Chrome Custom Tab. The Revolt app opens as a PWA, for what it's worth.
The Divolt and Revolt apps are pretty much the same thing, the only difference is that one of them opens up Divolt and that one (for whatever reason) still shows the address bar.
Unfortunately I'm not sure what's causing it. My best guess is that there's a string value somewhere that still leads to app.revolt.chat being the trusted URL instead of divolt.xyz. But if that was the case then I'd have no idea where it is.
This in the twa-manifest might be it, but I don't know.

It's not. That's the package ID, which the only thing it changes is the path to source files. (It's staying as chat.revolt.app.twa so upstream changes don't break that much)
There's mismatch between the packageId in the manifest and the gradle scripts.
Application ID =/= Package ID.