Set Kodular app as default app to open track files

I do have a Kodular app that handle GPX track files. It works fine with files loaded from the app. I would like to be able to set my app as default app to handle GPX files so that when the user double clicks on a GPX track file my app is open automatically and do receive de path of the GPX file.
Is there any way to do that?
I’ve tried with the sharing component and the “got received share” but does not receive anything as GPX is considered text file and it seems I can receive text but not text files.
Any help will be very much appreciated.

I think you need to set that in your phone’s settings. I am not sure but that’s what I think