I was thinking the same thing. You have to have something from McDonalds installed to tell it to launch something that would ask you to download an app. A beacon ~(as Chrome can be used for beacon notifications) is the only thing I could think of unless the user had downloaded an app that had a relationship with McDonald's.
Waze is the other thing that can pop up notifications for services when you get near, but you would normally know if Waze was running.