I like to use the Element-X with multiple-account.
Sometimes i want to check my UnifiedPush-Provider if all works well with PushNotification (e.g. counter of notification).
There i are multiple Element-X instances (one per Account) registert, but i could not distinguish the Accounts.
Please add information during register, which account use which UnifiedPush-Provider.
I believe you just has to fill the field messageForDistributor here:
|
UnifiedPush.register(context = context, instance = clientSecret) |
But i am not familiar with Kotlin, how i got the account-name / matrix-id there.
Ping: @p1gp1g is this correct with messageForDistributor ?
I like to use the Element-X with multiple-account.
Sometimes i want to check my UnifiedPush-Provider if all works well with PushNotification (e.g. counter of notification).
There i are multiple Element-X instances (one per Account) registert, but i could not distinguish the Accounts.
Please add information during register, which account use which UnifiedPush-Provider.
I believe you just has to fill the field
messageForDistributorhere:element-x-android/libraries/pushproviders/unifiedpush/src/main/kotlin/io/element/android/libraries/pushproviders/unifiedpush/RegisterUnifiedPushUseCase.kt
Line 36 in 908ad8a
But i am not familiar with Kotlin, how i got the account-name / matrix-id there.
Ping: @p1gp1g is this correct with
messageForDistributor?