However, all modern smartphones have Wi-Fi built in, and wireless networks are common enough in indoor spaces that an app could easily scan for known access points and calculate your position using trilateration.
FORBES: Smartphone Location Tools Are Great ... Until You Get to the Front Door