Closed AnthonyLenglet closed 3 years ago
I was having the same problem with Nativescript/core 8. I went back down to version 7.0.0 and it works with tabs. Hope that helps.
Same issue here. Seems like updating to NativeScript 8 is a no-go for now.
Tabs and BottomNavigation have been removed from NativeScript 8 (see https://github.com/NativeScript/NativeScript/blob/master/CHANGELOG.md#breaking-changes).
The main reason was that they were material components, so they added some material dependencies that were often outdated.
You can now replace them with @nativescript-community/ui-material-bottom-navigation and @nativescript-community/ui-material-tabs
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
We released an update yesterday upgrading our app to NS7 after testing it for months, and seemingly out of the blue, after sending the app to the store, we're getting reports that the app is white screening when a tabs component is present, we've looked on our end and can now reproduce the issue: we're seeing the error:
When looking at the source I do indeed see that its trying to create a ne viewClass() instance
Things we've tried:
platform :ios, '10.0'
to podfilenpm i
To Reproduce Add a
Tabs
component anywhere in the app