# Hotwire Native for Rails Developers: navigatorHostId value (pages 28, 29, 30)

**URL:** <https://forum.devtalk.com/t/hotwire-native-for-rails-developers-navigatorhostid-value-pages-28-29-30/190414>\
**Category:** PragProg Customers\
**Tags:** book-hotwire-native-for-rails-developers, errata\
**Created:** [9 March 2025 02:49 UTC](https://forum.devtalk.com/t/hotwire-native-for-rails-developers-navigatorhostid-value-pages-28-29-30/190414 "2025-03-09T02:49:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ingilniero](https://forum.devtalk.com/user_avatar/forum.devtalk.com/ingilniero/32/7210_2.png) [@ingilniero](https://forum.devtalk.com/u/ingilniero)\
**Post date:** [9 March 2025 02:49 UTC](https://forum.devtalk.com/t/hotwire-native-for-rails-developers-navigatorhostid-value-pages-28-29-30/190414/1 "2025-03-09T02:49:23Z")

</div>

The first time the `navigatorHostId` is set it uses the value `R.id.main_nav_host` supposedly added to to `activity_main.xml` in previous steps. But the id used for the fragment is `main` not `main_nav_host`.

---

<div class="post-metadata">

**Author:** ![joemasilotti](https://forum.devtalk.com/user_avatar/forum.devtalk.com/joemasilotti/32/6803_2.png) [@joemasilotti](https://forum.devtalk.com/u/joemasilotti)\
**Post date:** [25 April 2025 20:30 UTC](https://forum.devtalk.com/t/hotwire-native-for-rails-developers-navigatorhostid-value-pages-28-29-30/190414/2 "2025-04-25T20:30:55Z")

</div>

Thanks @ingilniero! This will be fixed in the next release.

---

<div class="post-metadata">

**Author:** ![tomwiththeweather](https://forum.devtalk.com/user_avatar/forum.devtalk.com/tomwiththeweather/32/3533_2.png) [@tomwiththeweather](https://forum.devtalk.com/u/tomwiththeweather)\
**Post date:** [6 October 2025 00:21 UTC](https://forum.devtalk.com/t/hotwire-native-for-rails-developers-navigatorhostid-value-pages-28-29-30/190414/3 "2025-10-06T00:21:14Z")

</div>

…same issue is on page 26 now.
