Browse Source
Changes: - Update font-awesome component closing tag to match naming - Change @capacitor/app import to use local wrapper - Fix component self-closing tags in ContactScanView.vue This improves consistency in component usage and centralizes capacitor imports through our wrapper layer.side_step
6 changed files with 18 additions and 9 deletions
@ -0,0 +1,9 @@ |
|||
// Import from node_modules using relative path
|
|||
import { App as CapacitorApp } from '../../../node_modules/@capacitor/app'; |
|||
|
|||
// Re-export the App interface with our own wrapper
|
|||
export const App = { |
|||
addListener: (eventName: string, listenerFunc: (data: any) => void) => { |
|||
return CapacitorApp.addListener(eventName, listenerFunc); |
|||
} |
|||
}; |
Loading…
Reference in new issue