Import apps/android/plugins/remote-foreground-service/RemoteForegroundServicePackage.kt

This commit is contained in:
QQ 2026-11-14 14:09:29 +08:00
parent 38ebf30f6a
commit dd3a433e4c
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
package io.github.liguobao.dshremote
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
class RemoteForegroundServicePackage : ReactPackage {
override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> = listOf(
RemoteForegroundServiceModule(reactContext),
RemoteDownloadsModule(reactContext),
RemoteProcessTextModule(reactContext),
)
override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> = emptyList()
}