mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-26 05:14:09 +02:00
Refactor capacitor plugins, clean up and organize android plugin classes
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { registerPlugin, WebPlugin } from '@capacitor/core';
|
||||
|
||||
class AbsAudioPlayerWeb extends WebPlugin {
|
||||
constructor() {
|
||||
super()
|
||||
}
|
||||
}
|
||||
|
||||
const AbsAudioPlayer = registerPlugin('AbsAudioPlayer', {
|
||||
web: () => new AbsAudioPlayerWeb()
|
||||
})
|
||||
|
||||
export { AbsAudioPlayer }
|
||||
Reference in New Issue
Block a user