Possible to get Glide user IP address?

Hi! I am currently using OneSignal for sending Push Notifications for my app. However, I would like to direct notifications to specific users following an action taken by the user.

My issue is that OneSignal captures the user session but I have no way to link the sessions in OneSignal to the applicable Glide user in my app. However, if I could capture the IP address of my users in Glide, I would be able to sync them with OneSignal.

Any idea? Or maybe a better way to achieve this? Thanks!

Yes, you can get the IP address, and yes, there are better ways to achieve this.

Click my Glide App and the button your info: