After creating a simple app with only an auth flow and stack navigator, I added a tab navigator with the name “Tabs”. I added an “Item Detail View” screen from the gallery and added it to the Tabs navigator. I then attempted to view the “Item Detail View” screen with live preview and received the error, “Can’t find variable: Tabs”.
I renamed the Tabs navigator back to its default name of Navigator, wondering if this might help, and attempted to view the Item Detail View screen again. The error changed to, “Can’t find variable: Navigator”.
So, I deleted the tab navigator and the Item Detail View screen. I then added the Item Detail View screen back again from the gallery and the builder gave it the name, “Item Detail View Copy”, as if the old screen still existed, even though I had deleted it. It is also not possible to rename the screen to “Item Detail View”, apparently because it would conflict with the ghost screen.
A similar thing is currently happening with the Simple Welcome screen I added from the gallery. I had renamed it to Welcome and subsequently deleted it in an attempt to work around a bug. Now, if I add a new Simple Welcome screen to the app, the builder will not allow the name to be changed to Welcome, as I had done previously. In these renaming cases, there is no indication that it will not save the name changes. But, if you navigate away and then back, the value is reverted and your changes are lost.
Item Detail View Copy screen: https://build.draftbit.com/apps/N3FcGHuL/screens/6nYYeaCs
Simple Welcome screen: https://build.draftbit.com/apps/N3FcGHuL/screens/UYpt004K