@zainmuhammed Can try capturing the GPS when the device is starting the loop instead after joining the LoRaWAN and see?
You can put the GPS value on top of the loop or setup function.
Also, what kind of gateway are you using? Is it configured okay, OTA is done?