Skip to main content

Professionals List

The professional list is a native SDK screen. Tapping a professional opens the chat with them; the SDK handles that navigation internally on both platforms.

Open the list

import { MeetingLawyers } from './plugins/meeting-lawyers';

await MeetingLawyers.openProfessionalList();

The user must be authenticated first — see Authentication.

Platform behavior:

  • iOS: the wrapper looks for a UINavigationController in the view hierarchy and pushes the list into it, so it feels like an in-app screen. If there is none, the list is presented modally.
  • Android: the SDK opens the list in its own Activity.
tip

The sample requests the push notification permission right before opening the list, so the user gets the prompt when entering the SDK flow:

await MeetingLawyers.registerForPushNotifications().catch(() => undefined);
await MeetingLawyers.openProfessionalList();

Open a chat directly

If you already know the professional, you can open their chat without going through the list:

await MeetingLawyers.openChatWithProfessional({ professionalHash: 'PROFESSIONAL_HASH' });

Next steps