Import apps/android/plugins/remote-foreground-service/RemoteForegroundServicePackage.kt
This commit is contained in:
parent
38ebf30f6a
commit
dd3a433e4c
|
|
@ -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()
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue