Skip to content

Parse Analytics - Track App Opened #436

Open
@davidhakki

Description

@davidhakki

New Issue Checklist

Issue Description

Xcode shows "Ambiguous use of 'trackAppOpened' error when using ParseAnalytics.trackAppOpened as shown in Playgrounds, I have not been able to get it to work no matter what.

Steps to reproduce

In AppDelegate or anywhere enter the following code:

ParseAnalytics.trackAppOpened { result in
            switch result {
            case .success:
                print("Saved analytics for app opened.")
            case .failure(let error):
                print(error)
            }
        }

Actual Outcome

"Ambiguous use of 'trackAppOpened'" error and build will fail

Expected Outcome

For it to not get an error and not fail

Environment

Client

  • Parse Swift SDK version: 4.14.2
  • Xcode version: 14.2
  • Operating system (iOS, macOS, watchOS, etc.): iOS
  • Operating system version: 15

Server

  • Parse Server version: 4.5.0
  • Operating system: No idea
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Remote

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: 3.6
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): Remote

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions