closeLinkedInConnector static method
Close the LinkedIn connector overlay (iOS native).
Implementation
static Future<void> closeLinkedInConnector() async {
try {
await platform.invokeMethod('closeLinkedInConnector');
print('✅ [LINKEDIN-SERVICE] LinkedIn connector close requested');
} on PlatformException catch (e) {
// Safe no-op if older host app/plugin doesn't implement this yet.
print("⚠️ [LINKEDIN-SERVICE] closeLinkedInConnector not available: '${e.message}'");
}
}