showViewer method

Future<void> showViewer(
  1. String contactId
)

Shows the native contact viewer for contactId.

Permissionless on Android. On iOS requires NSContactsUsageDescription in Info.plist and a granted read permission.

Implementation

Future<void> showViewer(String contactId) async {
  await _invoke<void>('native.showViewer', {'contactId': contactId});
}