connectGeminiNative static method

Future<void> connectGeminiNative()

Connect to Gemini natively (consent -> login -> DOM scrape -> backend best-effort)

Implementation

static Future<void> connectGeminiNative() async {
  try {
    await platform.invokeMethod('connectGeminiNative');
    print('✅ [GEMINI-SERVICE] Gemini connector opened');
  } on PlatformException catch (e) {
    print("❌ [GEMINI-SERVICE] Failed to connect Gemini: '${e.message}'");
    rethrow;
  }
}