Skip to content

[Bug]: Crash with [email protected] when "Avoiding road closures" notification is dismissed #487

@pparker-everdriven

Description

@pparker-everdriven

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

After a notification is dismissed (such as "Avoiding road closures") the app crashes with the follow exception:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GMSx_EIDClientEventIdMessage GMSx_base]: unrecognized selector sent to instance ...'

EasyDriver-iOS-nav-SDK-crash.mov

React Native version

Occurs with both 0.77.2 and 0.81.4

React version

Occurs with both 18.3.1 and 19.1.0

Package version

0.10.3 with ios-navigation-sdk 10.4.0 (Commit 366e0e6)

Native SDK versions

  • I haven't changed the version of the native SDKs

React Native Doctor Output

Common
✓ Node.js - Required to execute JavaScript code
✓ npm - Required to install NPM dependencies
✓ Watchman - Used for watching changes in the filesystem when in development mode
✓ Metro - Required for bundling the JavaScript code

iOS
✓ Xcode - Required for building and installing your app on iOS
✓ Ruby - Required for installing iOS dependencies
✓ CocoaPods - Required for installing iOS dependencies
✓ .xcode.env - File to customize Xcode environment

Steps to reproduce

  1. Begin navigation
  2. Observe an "Avoiding road closures" notification
  3. Wait for notification to automatically dismiss or manually dismiss it
  4. See app crash with this error:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GMSx_EIDClientEventIdMessage GMSx_base]: unrecognized selector sent to instance ...'

Expected vs Actual Behavior

App should not crash.

Code Sample

// Example code here

Additional Context

No response

Metadata

Metadata

Labels

priority: p0Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions