Skip to content

Commit

Permalink
//xplat/js/react-native-github/packages/react-native/ReactAndroid/src…
Browse files Browse the repository at this point in the history
…/main/java/com/facebook/react/modules/appregistry:appregistryAndroid (#43858)

Summary:
Pull Request resolved: #43858

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D55725317

fbshipit-source-id: eb0b583070dea1bc7ccac5dfd5d5d983c59c1b6b
  • Loading branch information
andrewdacenko authored and facebook-github-bot committed Apr 8, 2024
1 parent f9ca6d7 commit 5156946
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.modules.appregistry

import com.facebook.react.bridge.JavaScriptModule
import com.facebook.react.bridge.WritableMap

/** JS module interface - main entry point for launching React application for a given key. */
public interface AppRegistry : JavaScriptModule {

public fun runApplication(appKey: String, appParameters: WritableMap)

public fun unmountApplicationComponentAtRootTag(rootNodeTag: Int)

public fun startHeadlessTask(taskId: Int, taskKey: String, data: WritableMap)
}

0 comments on commit 5156946

Please sign in to comment.