I'm using Godot 4.0.2 stable and in my project I want to have a button that has a phone number as an int variable and the user can try to call the number by tapping the button; like actually making a phone call.

  1. Is this possible?
  2. How?
  3. what permissions does the app need?

AFAIK Godot doesn't offer that feature. You would need to use base Android (e.g. Java or Kotlin) by creating a custom Android build.

a year later

I see you shared some examples. Did any of those suggestions work for you?

7 days later

Sure, you can totally set up a button to make phone calls in your app. For Android, you'll need to set permissions in your manifest and use intents to start the call. It's a bit tricky, but it's doable.
From my experience, you'll need to add the CALL_PHONE permission and handle the intent to dial the number. If you’re unsure about a number that's been calling, using something like who called me can help identify it. It’s saved me a few times from unknown numbers.