mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Merge AndroidConstants and IOSConstants into PlatformConstants
Reviewed By: AaaChiuuu Differential Revision: D4597790 fbshipit-source-id: 0a54598d6e9cadb75efff4ac17c13899d6785f9b
This commit is contained in:
committed by
Facebook Github Bot
parent
68135d90a4
commit
dba133a291
+2
-2
@@ -22,14 +22,14 @@ import javax.annotation.Nullable;
|
||||
/**
|
||||
* Module that exposes Android Constants to JS.
|
||||
*/
|
||||
@ReactModule(name = "AndroidConstants")
|
||||
@ReactModule(name = "PlatformConstants")
|
||||
public class AndroidInfoModule extends BaseJavaModule {
|
||||
|
||||
private static final String IS_TESTING = "IS_TESTING";
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "AndroidConstants";
|
||||
return "PlatformConstants";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user