Before start:
- Make sure to check the demo app(s) for sample usage
- Make sure to check the existing issues in this repository
- If the demo apps cannot help and there is no issue for your problem, tell us about it
When I run the sample Vue code I get this error:
System.err: Application uncaught exception in thread "main" com.tns.NativeScriptException: Calling js method onCreateView failed
System.err: TypeError: Cannot read property 'android' of undefined
I removed the icon property, and it still gives the same error
Which platform(s) does your issue occur on?
What type of device?
Please, provide the following version numbers that your issue occurs with:
- CLI: 6.0.3
- Cross-platform modules: "6.1.1"
- Runtime(s): android 6.0.2
- Plugin(s):
"dependencies": {
"axios": "^0.19.0",
"markdown-it": "^10.0.0",
"nativescript-bottom-navigation": "^2.0.5",
"nativescript-feedback": "^1.3.12",
"nativescript-fonticon": "^2.0.0",
"nativescript-socketio": "^3.2.1",
"nativescript-theme-core": "^1.0.6",
"nativescript-toasty": "^1.3.0",
"nativescript-ui-chart": "^6.0.0",
"nativescript-vue": "^2.4.0",
"nativescript-vue-devtools": "^1.2.0",
"net": "^1.0.2",
"tns-core-modules": "^6.0.0",
"vuex": "^3.1.1"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@panter/vue-i18next": "^0.15.1",
"@vue/cli-plugin-eslint": "^3.11.0",
"@vue/cli-service": "^3.11.0",
"@vue/devtools": "^5.0.6",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.2",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"i18next": "^17.0.16",
"nativescript-dev-webpack": "^1.0.0",
"nativescript-vue-template-compiler": "^2.0.0",
"nativescript-worker-loader": "~0.9.0",
"node-sass": "^4.9.2",
"vue-loader": "^15.4.0",
"webpack-bundle-analyzer": "^3.5.2"
},
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce the behavior:
- Install & configure this plugin
- create a view with this template:
<Page class="page" actionBarHidden="true">
<GridLayout rows="*, auto">
<StackLayout row="0">
<Label text="content"></Label>
</StackLayout>
<BottomNavigationBar
activeColor="red"
inactiveColor="yellow"
backgroundColor="black"
row="1"
>
<BottomNavigationTab title="First" />
<BottomNavigationTab title="Second" isSelectable="false" />
<BottomNavigationTab title="Third" ></BottomNavigationTab>
</BottomNavigationBar>
</GridLayout>
</Page>
- Run the project
- See error
- Profit
Before start:
When I run the sample Vue code I get this error:
I removed the icon property, and it still gives the same error
Which platform(s) does your issue occur on?
What type of device?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce the behavior: