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 {
final List<dynamic> result = await methodChannel.invokeMethod('processWelcome', {
'encryptedBytes': encryptedBytes,
});
return result.map((e) => Map<String, dynamic>.from(e as Map)).toList();
}