It is perfectly normal to lose your GPS signal in some cases when you are indoors or underground. However, if the issue persists over a long period of time, it is safe to assume that the issue might be with your Android or iOS device itself. Issues like low battery, a faulty sensor, or any issue with the GPS chip itself can be some probable reasons.