-
Notifications
You must be signed in to change notification settings - Fork 111
Mobile app support #59
Comments
The mobile apps now have integration managers, although they cannot be changed away from the hardcoded manager :( |
Adding this here so I can link to it later for other people who ask
|
I'm going to consider this no longer pending upstream support: The mobile apps do support integration managers, but are obviously going to fall behind on riot-web on this front. Hoping to make Dimension mobile-capable for when https://github.com/matrix-org/matrix-doc/issues/1286 gets turned into a proposal. |
Opened this for riotX a while ago:: element-hq/element-android#1497 |
Hello, element android shows dimension page, i can select widgets, but when I try to send anything, it shows something like "you didn't select any stickers, want to select now?" message |
Thanks I got some experience in web development. Spent few hours digging into problem.
Now take scalar token and this page going to work just fine:
Also after sacrificing the virgin and trying several magic spells I selected a random room, and created/updated an event named "m.widgets" with the following content:
This works for Element Desktop.
|
Well, another one sacrificed virgin to make it work properly on Android but here it is.
Added a function:
Found the following code:
And replaced it with:
So all the problem is about missing property [Object].data.content.body in the object broadcasted via postMessage. How I found that? p.s. it's dirty to make any changes in the container itself and I probably should have contribute in repo, but I suppose it's important to have this investigation at least, it reveals the rootcause of the problem |
Thanks, though that as far as I have found out. Note the very old commit from me: 74ba8d7 As far as I know, Element Android doesn't work well with Dimension's sticker picker widget at all. At least from my side, I get a "There was a problem authenticating" error which I unfortunately still couldn't find the root cause to it. |
Luckily something had been updated and now it works. |
As of commit I think I just missed this change bacause started with dockerized image and didn't build the project myself on a server. |
FYI, everything works on Android now except sticker picker authentication. Integration manager can be selected with client well-known: {
"m.homeserver": {
"base_url": "https://matrix.example.com",
"server_name": "example.com"
},
"m.integrations": {
"managers": [{
"api_url": "https://dimension.example.com/api/v1/scalar",
"ui_url": "https://dimension.example.com/element"
}]
}
} So no need to build custom Android release with updated |
Is there any way to get sticker picker authenticaton to work by now? |
Sorry, may I ask for exact instruction? I should put this json to be availabe via https://myserver.tld/.well-known/matrix/client url? And this will allow to use all integration services, except sticker packs in mobile version? Do I really need to specify |
Yes. All you have to change in the file sevmonster posted is replacing the example.com domains with the domains you chose in your case. |
Does the authentication issue here also prevent dimension widgets from being added on mobile? |
element-hq/riot-meta#3
The text was updated successfully, but these errors were encountered: