Some things just have to be yummy.
https://www.youtube.com/watch?v=_uXKIEmJh3gWiFiManager with ESP32 - Stop Hard-coding WiFi Credentials! I suppose you also could use Bluetooth or even LoRa if you had the transceiver.
https://www.rs-online.com/designspark/lora-location-tracker-introductionhttps://tinygs.com/