Skip to content

iOS Lifecycle Events post two events with the same name Application Opened #265

@piotrtorczynski

Description

@piotrtorczynski

Describe the bug
Looking at the Debugger, I can notice that once the app starts, the user gets two events with the same name Application Opened.
I can see that one is implemented in didFinishLaunchingWithOptions and the other in applicationWillEnterForeground. I want to know if it's desirable.

To Reproduce
Steps to reproduce the behavior:

  1. Integrate the library
  2. Turn on the trackApplicationLifecycleEvents(true) on the configuration step
  3. Run the app and take a look on the Web Debugger

Expected behavior
I think that the library should not double the events with the same name. Maybe for applicationWillEnterForeground you should consider changing the name?

Screenshots

SCR-20231031-jslt

Platform (please complete the following information):

  • Library Version in use: [e.g. 1.4.8]
  • Platform being tested: [OS]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions