How can I open url on browser/ app in Android ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ricardohogan

Lately I have publish my first android game and I want to add a “Rate us” button to open my google play store link.

I’ve tried using OS.shell_open(“url”), but it seems thats its not working on android.
any suggestions ?

I just tested 15 minutes ago and worked fine for me. How is your url you are passing?

Hyperbolic | 2018-05-29 16:42

that’s weird. Here’s my test code :
if get_node("Label").is_hidden() and get_node("rate_us").is_pressed() : OS.shell_open("")

btw its working on my pc but its not working when I debug on my android

ricardohogan | 2018-05-29 17:14

I usually put http:// or https:// before the www. See if that works

Hyperbolic | 2018-05-29 17:21

HAHAHAHHA yes its works, silly mistakes but did I learn a lot from it. If I just use my link in the first place I wouldn’t know about this. Thanks a lot !

ricardohogan | 2018-05-30 03:55