connectChatGPTNative static method
Connect to ChatGPT natively (consent -> login -> scrape conversations + memories)
Implementation
static Future<void> connectChatGPTNative() async {
try {
await platform.invokeMethod('connectChatGPTNative');
print('✅ [CHATGPT-SERVICE] ChatGPT connector opened');
} on PlatformException catch (e) {
print("❌ [CHATGPT-SERVICE] Failed to connect ChatGPT: '${e.message}'");
rethrow;
}
}