Is it okay to say "gonna" instead of "going to" even in the formal speech?

Native speaker’s answer
Rebecca
In formal speech, it is okay! Within natural speech and dialect, it is recognised as "going to." In formal writing, it would not be acceptable. Ex: By 2024, we're gonna launch the latest model of our product. => formal speech = By 2024, we're going to launch the latest model of our product. => formal writing