Skip to content

BDLocationManager.instance().delegate must be a AppDelegate subclass?  #12

@truemetal

Description

@truemetal

When attempting to set BDLocationManager.instance().delegate I'm getting the following message, unless the delegate is a UIApplicationDelegate subclass and has applicationDidEnterBackground and applicationWillEnterForeground methods implemented.

*** Terminating app due to uncaught exception 'BDPointSDKException', reason: 'Your application delegate must implement the applicationDidEnterBackground: method.
Please refer to Point SDK documentation for more information.'

We'd prefer to use an object of another class to be a delegate for the location manager, in order not to violate the single responsibility principle. Is it possible?

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