diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/deviceinfo/DeviceInfoModule.java b/ReactAndroid/src/main/java/com/facebook/react/modules/deviceinfo/DeviceInfoModule.java index e768259e34a784..dec707a8506b4f 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/deviceinfo/DeviceInfoModule.java +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/deviceinfo/DeviceInfoModule.java @@ -39,6 +39,7 @@ public class DeviceInfoModule extends BaseJavaModule implements public DeviceInfoModule(ReactApplicationContext reactContext) { this((Context) reactContext); mReactApplicationContext = reactContext; + mReactApplicationContext.addLifecycleEventListener(this); } public DeviceInfoModule(Context context) {