element-hq / element-hq/element-android

[SDK] Migrate Services API from MatrixCallback mode to coroutines

Open
#2,449 8 comments 0 reactions 0 assignees View on GitHub
matrix-sdk
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

This work has already been started by @Dominaezzz , and this issue is here to track the progress and the remaining works.

Note: every new API should now use `suspend` functions instread of `MatrixCallback`

## List of services

- [x] AccountDataService (#3079)
- [x] AccountService (#2354)
- [x] AliasService (new service #2439)
- [x] AuthenticationService (#2836)
- [x] CacheService (#2701)
- [x] CallSignalingService (#2830)
- [ ] CrossSigningService
- [ ] CryptoService
- [x] DraftService (#2405)
- [x] FederationService (nothing to do)
- [x] FileService (#3081)
- [x] FilterService (nothing to do)
- [x] Group (#2413)
- [x] GroupService (nothing to do)
- [x] HomeServerCapabilitiesService (nothing to do)
- [x] HomeServerHistoryService (nothing to do)
- [x] IdentityService (#3069)
- [x] InitialSyncProgressService (nothing to do)
- [x] IntegrationManagerService (#2457)
- [ ] KeysBackupService
- [x] MembershipService (#3080)
- [x] PermalinkService (nothing to do)
- [x] ProfileService (#3074)
- [x] PushRuleService (#2414)
- [x] PushersService (#3077)
- [x] RawService (#2406)
- [x] ReadService (#3075)
- [ ] RelationService (in progress #3070)
- [x] ReportingService (#2402)
- [x] Room (#3091)
- [x] RoomCallService (nothing to do)
- [x] RoomCryptoService (#2376)
- [x] RoomDirectoryService (#2975)
- [x] RoomPushRuleService (#2382)
- [x] RoomService (#3104)
- [x] SearchService (#2415)
- [x] SecureStorageService (nothing to do)
- [ ] SendService
- [x] SharedSecretStorageService (#3079)
- [x] SignOutService (#2701)
- [x] StateService (#2500)
- [x] TagsService (#2401)
- [x] TermsService (#2460)
- [x] TimelineService (nothing to do)
- [x] ThirdPartyService (nothing to do)
- [x] TypingService (nothing to do)
- [x] UploadsService (#2459)
- [x] UserService (#3076)
- [x] VerificationService (#3072)
- [x] WidgetService (#3073)

## Other classes to migrate

- [x] DefaultTypingService (#3445)
- [x] KeysImporter (#3445)
- [x] KeysExporter (#3445)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.