Skip to content

Commit

Permalink
Reduce visibility of JSInstance (#39738)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #39738

In an attempt to reduce footprint of React Native Android public APIs we are reducing visibility of classes and interfaces that are not meant to be used publicly OR are public but have no usages.
As part of our analysis, which involved looking for usages inside the Meta codebase and code search in OSS, we've detected that this class/interface is public but it's not used from other packages.

If you are using this class or interface please comment in this PR and we will restate the public access.

changelog: [Android][Changed] Reducing visibility of JSInstance

Reviewed By: RSNara

Differential Revision: D49752139

fbshipit-source-id: b56667a91abd16d15a321dfc3e83026b596eaad3
  • Loading branch information
mdvacca authored and facebook-github-bot committed Oct 2, 2023
1 parent e3e9b13 commit d224816
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* This interface includes the methods needed to use a running JS instance, without specifying any
* of the bridge-specific initialization or lifecycle management.
*/
public interface JSInstance {
interface JSInstance {
void invokeCallback(int callbackID, NativeArrayInterface arguments);
// TODO if this interface survives refactoring, think about adding
// callFunction.
Expand Down

0 comments on commit d224816

Please sign in to comment.