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?
When attempting to set
BDLocationManager.instance().delegateI'm getting the following message, unless the delegate is aUIApplicationDelegatesubclass and hasapplicationDidEnterBackgroundandapplicationWillEnterForegroundmethods implemented.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?