Lorawan license issue with PlatformIO

Whenever we try to upload firmware to the new device, we are getting the error on serial:

Please provide a correct license! For more information:
http://www.heltec.cn/search/
ESP32ChipID=

To solve the issue we have to manually fetch license key from heltec site and send it via AT command. But for production purpose we can’t do this process.
We are using Heltec Wireless Stick Lite and using platformIO IDE for uploading firmware.
We are also using custom partition table.

The license is required if you want to use Heltec’s libraries, not to use the hardware itself. If you are able to switch away from Heltec’s framework to the ‘plain’ Arduino-ESP32 framework, you will not need to provide the license. So it’s up to you to decide whether a rewrite is worth the save the trouble of the license. Maybe @ashley or someone else from Heltec is able to provide some context to the requirement of the license?

Do you have any suggestion for other lorawan library which support heltec boards and platformIO?

He does, but he can’t blow his own trumpet, as he’s a Cello player.

Forum search reveals something called RadioLib. I can’t say anymore as I can’t play the Cello or blow my own trumpet.