This is my solution to keep the hubcaps on my 2018 Bass Tracker Boat trailer. I used silicone... Yes, what most of us have in the garage saved the day, or the hubcaps. I have used this for months without any issue.
I have not had any issues with the silicone. Clean the rim with alcohol or another degreaser, put silicone on inside of hubcap and around rim. Put it on and let sit for a day or so. I used a rag and removed the excess.