RequirementsWizard invoke method error


#1

I am learning to use the Android-Proximity-SDK and am trying to get location permissions using the RequirementsWizardFactory class. I have added the sample code from this documentation directly before I call proximityObserver.startObserving(venueZone).

The problem is that in the invoke() method, the line

proximityObserver.addProximityZone(venueZone).start()

throws the error: "Cannot resolve method ‘addProximityZone(…)’.

I’m not sure why this would be the case, I’ve simply followed along with the provided example code to implement the Proximity SDK.


#2

Figured it out. The SDK documentation on Github is out of date. Needed to follow these instructions.