mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 22:38:37 +08:00
Fix DeviceIdentity on RN for Android
Reviewed By: Hypuk Differential Revision: D5963912 fbshipit-source-id: 3959e5ab6af66512f0035efea7919572554e10b4
This commit is contained in:
committed by
Facebook Github Bot
parent
905631470a
commit
e7765a32f7
@@ -23,7 +23,7 @@ public class JSCJavaScriptExecutorFactory implements JavaScriptExecutorFactory {
|
||||
WritableNativeMap jscConfig = new WritableNativeMap();
|
||||
jscConfig.putString("OwnerIdentity", "ReactNative");
|
||||
jscConfig.putString("AppIdentity", mAppName);
|
||||
jscConfig.putString("OwnerIdentity", mDeviceName);
|
||||
jscConfig.putString("DeviceIdentity", mDeviceName);
|
||||
return new JSCJavaScriptExecutor(jscConfig);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user