element-hq / element-hq/element-android
Implement missing Integration Manager API actions
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
### Your use case
#### What would you like to do?
Add support for these missing Integration Manager postmessage API actions in order to have parity with `matrix-react-sdk`:
* `get_open_id_token`
* [Description](https://github.com/matrix-org/matrix-react-sdk/blob/432ce3ca31a830faf3887c6fb3859dc47caaf55d/src/ScalarMessaging.ts#L261-L266)
* [Reference implementation](https://github.com/matrix-org/matrix-react-sdk/blob/432ce3ca31a830faf3887c6fb3859dc47caaf55d/src/ScalarMessaging.ts#L714)
* `kick`
* [Description](https://github.com/matrix-org/matrix-react-sdk/blob/432ce3ca31a830faf3887c6fb3859dc47caaf55d/src/ScalarMessaging.ts#L76-L97)
* [Reference implementation](https://github.com/matrix-org/matrix-react-sdk/blob/432ce3ca31a830faf3887c6fb3859dc47caaf55d/src/ScalarMessaging.ts#L381)
* `send_event`
* [Description](https://github.com/matrix-org/matrix-react-sdk/blob/432ce3ca31a830faf3887c6fb3859dc47caaf55d/src/ScalarMessaging.ts#L268-L279)
* [Reference implementation](https://github.com/matrix-org/matrix-react-sdk/blob/432ce3ca31a830faf3887c6fb3859dc47caaf55d/src/ScalarMessaging.ts#L724)
* `read_events`
* [Description](https://github.com/matrix-org/matrix-react-sdk/blob/432ce3ca31a830faf3887c6fb3859dc47caaf55d/src/ScalarMessaging.ts#L281-L290)
* [Reference implementation](https://github.com/matrix-org/matrix-react-sdk/blob/432ce3ca31a830faf3887c6fb3859dc47caaf55d/src/ScalarMessaging.ts#L782)
* `get_room_enc_state`
#### Why would you like to do it?
In order to support new integration manager functionality.
#### How would you like to achieve it?
Add these actions to the existing Integration Manager postmessage API implementation:
https://github.com/vector-im/element-android/blob/8238cd7f57de936677e72798badef99135116a59/vector/src/main/java/im/vector/app/features/widgets/WidgetPostAPIHandler.kt#L45-L49
### Have you considered any alternatives?
_No response_
### Additional context
_No response_
### Are you willing to provide a PR?
No
Contributor guide
Assessment
This issue has not been assessed yet.