# Way to set louder speaker in new version of react-native (Kotlin)

**URL:** <https://react-native-webrtc.discourse.group/t/way-to-set-louder-speaker-in-new-version-of-react-native-kotlin/1948>\
**Category:** Help\
**Created:** [March 7, 2024, 1:17am UTC](https://react-native-webrtc.discourse.group/t/way-to-set-louder-speaker-in-new-version-of-react-native-kotlin/1948 "2024-03-07T01:17:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![farid.mansimli](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/farid.mansimli/32/796_2.png) [@farid.mansimli](https://react-native-webrtc.discourse.group/u/farid.mansimli)\
**Post date:** [March 7, 2024, 1:17am UTC](https://react-native-webrtc.discourse.group/t/way-to-set-louder-speaker-in-new-version-of-react-native-kotlin/1948/1 "2024-03-07T01:17:06Z")

</div>

Hello everyone,

has anyone used react-native-incall-manager in new version of react-native?

Native modules (for example: MainApplication.kt) for android in the new version of react-native is in Kotlin. so, i tried instructions in the documentation of react-native-incall-manager by converting to Kotlin, but i did not work. Anyone has a solution for that? it could be also without using react-native-incall-manager

---

<div class="post-metadata">

**Author:** ![Thaigun](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/thaigun/32/652_2.png) [@Thaigun](https://react-native-webrtc.discourse.group/u/Thaigun)\
**Post date:** [March 11, 2024, 8:16am UTC](https://react-native-webrtc.discourse.group/t/way-to-set-louder-speaker-in-new-version-of-react-native-kotlin/1948/2 "2024-03-11T08:16:38Z")

</div>

We use `InCallManager.setSpeakerphoneOn(true);` which works for us, didn’t notice it breaking at least…

---

<div class="post-metadata">

**Author:** ![farid.mansimli](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/farid.mansimli/32/796_2.png) [@farid.mansimli](https://react-native-webrtc.discourse.group/u/farid.mansimli)\
**Post date:** [March 13, 2024, 12:17am UTC](https://react-native-webrtc.discourse.group/t/way-to-set-louder-speaker-in-new-version-of-react-native-kotlin/1948/3 "2024-03-13T00:17:06Z")

</div>

does It work in the case of files are in Kotlin?

---

<div class="post-metadata">

**Author:** ![Thaigun](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/thaigun/32/652_2.png) [@Thaigun](https://react-native-webrtc.discourse.group/u/Thaigun)\
**Post date:** [March 15, 2024, 9:56am UTC](https://react-native-webrtc.discourse.group/t/way-to-set-louder-speaker-in-new-version-of-react-native-kotlin/1948/4 "2024-03-15T09:56:08Z")

</div>

We have these versions in our managed Expo project, if they help.

```auto
        "react-native": "0.73.4",
        "react-native-incall-manager": "^4.0.1",
        "expo": "^50.0.11",

```

`npx expo prebuild` generates `MainApplication.kt`, so I suppose yes. I even tested that the speaker still works.
