Skip to content

Crash relating to event emitter on latest version of the SDK (5.0.0) #90

@domness

Description

@domness

Please see the following for the crash:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error when sending event: getFeatureFlags with body: {"crash_reporter_enabled":false,"web_view_bridge_config":{"javascript_errors_enabled":false,"handle_data_assets_enabled":false,"xpf_cap_timestamp_override_enabled":false,"custom_errors_enabled":false,"api_errors_enabled":false},"feature_flags":[{"name":"telemetry_network","min_version":"4.33.0","enabled":true},{"name":"log_viz_enabled","enabled":true,"min_version":"4.9.0"},{"name":"foreground_refresh_config","enabled":true,"min_version":"4.33.0"},{"min_version":"4.32.0","enabled":true,"name":"telemetry_lifecycle"},{"enabled":true,"min_version":"4.33.0","name":"telemetry_time"},{"name":"long_snapshot","enabled":true,"min_version":"4.19.0"},{"min_version":"4.23.0","enabled":true,"name":"telemetry"},{"name":"log_crash","min_version":"4.38.0","enabled":true},{"name":"telemetry_public_usage","min_version":"4.32.0","enabled":true},{"enabled":true,"min_version":"4.22.1","name":"session_recording"}],"masking_rules":{"full_masking":{"app":[],"sdk":[]}},"api_errors_enabled":false}. RCTCallableJSModules is not set. This is probably because you've explicitly synthesized the RCTCallableJSModules in CSEventEmitterModule, even though it's inherited from RCTEventEmitter.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001804ae0f8 __exceptionPreprocess + 172
	1   libobjc.A.dylib                     0x0000000180087db4 objc_exception_throw + 56
	2   Foundation                          0x0000000180d1718c -[NSMutableDictionary(NSMutableDictionary) classForCoder] + 0
	3   MySkyApp.debug.dylib                0x000000011023e658 -[RCTEventEmitter sendEventWithName:body:] + 372
	4   MySkyApp.debug.dylib                0x000000010fb482b0 $s25ContentsquareBridgeModule14CSEventEmitterC25sendEventIfListenersAdded8withName4bodySbSS_yptF + 308
	5   MySkyApp.debug.dylib                0x000000010fb48acc $s25ContentsquareBridgeModule14CSEventEmitterC16sendFeatureFlags4dataSbSS_tF + 148
	6   MySkyApp.debug.dylib                0x000000010fb48b44 $s25ContentsquareBridgeModule14CSEventEmitterC16sendFeatureFlags4dataSbSS_tFTo + 76
	7   MySkyApp.debug.dylib                0x000000010fb4c75c $s25ContentsquareBridgeModule08ExternalB4Impl33_E1560F2043058B1C45718DBBF553D8DFLLC25notifyFeatureFlagsChanged19bridgeConfigurationySS_tFyyYbcfU_yySbccfU_ + 288
	8   MySkyApp.debug.dylib                0x000000010fb4a798 $s25ContentsquareBridgeModule18exponentialBackoff10maxRetries12initialDelay5queue4task7failureySi_SdSo012OS_dispatch_J0CSgyySbccyyctF11executeTaskL_yyF + 300
	9   MySkyApp.debug.dylib                0x000000010fb4b5c4 $s25ContentsquareBridgeModule18exponentialBackoff10maxRetries12initialDelay5queue4task7failureySi_SdSo012OS_dispatch_J0CSgyySbccyyctF7attemptL_yyFyyYbcfU_ + 112
	10  MySkyApp.debug.dylib                0x000000010ebe382c $sIegh_IeyBh_TR + 48
	11  libdispatch.dylib                   0x00000001056ebec4 _dispatch_call_block_and_release + 24
	12  libdispatch.dylib                   0x00000001056ed73c _dispatch_client_callout + 16
	13  libdispatch.dylib                   0x00000001056f5a30 _dispatch_lane_serial_drain + 916
	14  libdispatch.dylib                   0x00000001056f6774 _dispatch_lane_invoke + 420
	15  libdispatch.dylib                   0x00000001057031a8 _dispatch_root_queue_drain_deferred_wlh + 324
	16  libdispatch.dylib                   0x0000000105702604 _dispatch_workloop_worker_thread + 488
	17  libsystem_pthread.dylib             0x0000000104ef2bcc _pthread_wqthread + 288
	18  libsystem_pthread.dylib             0x0000000104ef198c start_wqthread + 8
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions