fix: revert customtabs for plugins#2183
Conversation
Greptile SummaryThis PR restores the JavaScript bridge for the
Confidence Score: 4/5Safe to merge — the change is a minimal, targeted restoration of the missing JS bridge; the native plugin side is unchanged. The two-file change re-establishes a standard Cordova js-module declaration and a thin exec wrapper. Logic is straightforward and consistent with the existing native plugin contract. The only nit is a missing trailing newline in customtabs.js. No files require special attention; both files are small and self-contained. Important Files Changed
Sequence DiagramsequenceDiagram
participant App as Plugin Consumer (JS)
participant CT as CustomTabs (global)
participant Cordova as cordova/exec
participant Native as CustomTabsPlugin (Java)
App->>CT: CustomTabs.open(url, options, success, error)
CT->>Cordova: exec(success, error, 'CustomTabs', 'open', [url, options])
Cordova->>Native: CustomTabsPlugin.open(url, options)
Native-->>Cordova: result / error
Cordova-->>App: success(result) or error(msg)
Reviews (1): Last reviewed commit: "fix: revert customtabs for plugins" | Re-trigger Greptile |
No description provided.