mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-09-12 04:41:45 +02:00
39 lines
994 B
Swift
39 lines
994 B
Swift
//
|
|
// MyViewController.swift
|
|
// Audiobookshelf
|
|
//
|
|
// Created by advplyr on 1/12/25.
|
|
//
|
|
|
|
import UIKit
|
|
import Capacitor
|
|
|
|
class MyViewController: CAPBridgeViewController {
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
|
|
// Do any additional setup after loading the view.
|
|
}
|
|
|
|
override open func capacitorDidLoad() {
|
|
bridge?.registerPluginInstance(AbsDatabase())
|
|
bridge?.registerPluginInstance(AbsAudioPlayer())
|
|
bridge?.registerPluginInstance(AbsDownloader())
|
|
bridge?.registerPluginInstance(AbsFileSystem())
|
|
bridge?.registerPluginInstance(AbsLogger())
|
|
}
|
|
|
|
|
|
/*
|
|
// MARK: - Navigation
|
|
|
|
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
|
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
|
|
// Get the new view controller using segue.destination.
|
|
// Pass the selected object to the new view controller.
|
|
}
|
|
*/
|
|
|
|
}
|