-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
//xplat/js/react-native-github/packages/react-native/ReactAndroid/src…
…/main/java/com/facebook/react/modules/appregistry:appregistryAndroid (#43858) Summary: Pull Request resolved: #43858 Changelog: [Internal] Reviewed By: cortinico Differential Revision: D55725317
- Loading branch information
1 parent
3a15af7
commit 385309a
Showing
2 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
21 changes: 0 additions & 21 deletions
21
...native/ReactAndroid/src/main/java/com/facebook/react/modules/appregistry/AppRegistry.java
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
...t-native/ReactAndroid/src/main/java/com/facebook/react/modules/appregistry/AppRegistry.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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?) | ||
} |