processWelcome method
Decrypt an FCM/APNs push payload that arrived on the welcome topic
(/xmtp/mls/1/w-${installationId}/proto). Returns the newly-created
conversation(s) — usually 1, occasionally more from DM stitching.
Each entry mirrors listConversations shape.
Implementation
@override
Future<List<Map<String, dynamic>>> processWelcome(
Uint8List encryptedBytes) async {
await _ensureInitialized();
final conversations = await rust_push.processWelcome(
encryptedBytes: encryptedBytes.toList(),
);
return conversations.map(_conversationInfoToMap).toList();
}