18 lines
640 B
Kotlin
18 lines
640 B
Kotlin
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()
|
|
}
|
|
|