Skip to content

Commit 1e6c441

Browse files
committed
feat: add getPluginVersion method to CapacitorPedometerPlugin interface
1 parent 82284c0 commit 1e6c441

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/definitions.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ export interface CapacitorPedometerPlugin {
6464
* @since 0.0.1
6565
*/
6666
removeAllListeners(): Promise<void>;
67+
68+
/**
69+
* Get the native Capacitor plugin version.
70+
*
71+
* @returns Promise that resolves with the plugin version
72+
* @since 1.0.0
73+
*/
74+
getPluginVersion(): Promise<{ version: string }>;
6775
}
6876

6977
/**

0 commit comments

Comments
 (0)