ConnectorService class

Unified service to launch native iOS connectors from Flutter This service handles both ChatGPT and LinkedIn connectors

Constructors

ConnectorService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

geminiCancelledStream Stream<Map<String, dynamic>>
Fired when the user cancels Gemini (deny/close).
no setter
geminiConnectedStream Stream<Map<String, dynamic>>
Fired when the native Gemini flow completes and the overlay is dismissed.
no setter
geminiFailedStream Stream<Map<String, dynamic>>
Fired when the native Gemini flow fails (overlay dismissed).
no setter
linkedinProfileExtractedStream Stream<String>
Emits the captured LinkedIn profile URL when native extraction + backend save completes.
no setter

Static Methods

clearJWTToken() Future<bool>
Clear JWT token from storage
closeInstagramConnector() Future<void>
Close the Instagram connector overlay
closeSephoraConnector() Future<void>
Close the Sephora connector overlay
connectChatGPTNative() Future<void>
Connect to ChatGPT natively (consent -> login -> scrape conversations + memories)
connectClaudeNative() Future<void>
Connect to Claude natively (consent -> login -> scrape conversations)
connectGeminiNative() Future<void>
Connect to Gemini natively (consent -> login -> DOM scrape of chat list)
connectInstagramNative() Future<void>
Connect to Instagram natively (consent -> login -> scrape saved posts, timeline, likes) Platform ID: mobile-instagram Data Type: Social
connectSephoraNative() Future<void>
Connect to Sephora natively (consent -> login -> scrape profile, basket, loves, purchases) Platform ID: mobile-sephora Data Type: E-commerce / Beauty
getJWTToken() Future<String?>
Get JWT token from storage
initialize() Future<void>
openChatGPTConnector() Future<void>
Open ChatGPT connector (simple Safari-based)
openLinkedInConnector() Future<void>
Open LinkedIn connector (WKWebView with profile URL extraction)
setJWTToken(String token) Future<bool>
Set JWT token for backend authentication

Constants

platform → const MethodChannel