You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
Describe the bug
Since LaunchDarklyReactNativeClient.swift inherits from RCTEventEmitter and somehow LD is synthesizing the bridge property somewhere that I can't find. On reload, this property is nil, hence causes the crash when it attempts to sendEvent while trying to register a listener
To reproduce
Write code to register a listener in one of your screens that is launched as one of the first screens after opening the app.
Build and run the app (The app should run fine)
Open RN Developer Menu by shaking the device and hit Reload or CMD+R
Result: app crash
Expected behavior
The app should not crash on reload. It should successfully register the listener once it has the bridge.
Logs
Don't have any.
SDK version
2.2.0
Language version, developer tools
Xcode 10.2.1
ReactNative: 0.59.10
OS/platform
iOS only
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is this a support request?
No
Describe the bug
Since LaunchDarklyReactNativeClient.swift inherits from RCTEventEmitter and somehow LD is synthesizing the bridge property somewhere that I can't find. On reload, this property is nil, hence causes the crash when it attempts to
sendEvent
while trying to register a listenerTo reproduce
Expected behavior
The app should not crash on reload. It should successfully register the listener once it has the bridge.
Logs
Don't have any.
SDK version
2.2.0
Language version, developer tools
Xcode 10.2.1
ReactNative: 0.59.10
OS/platform
iOS only
Additional context
N/A
The text was updated successfully, but these errors were encountered: