Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'getCurrentSSID' of undefined #134

Open
The-web-guy opened this issue May 11, 2022 · 0 comments
Open

Cannot read property 'getCurrentSSID' of undefined #134

The-web-guy opened this issue May 11, 2022 · 0 comments

Comments

@The-web-guy
Copy link

hi, my code :

declare WifiWizard: any

getCurrentSSid() { this.WifiWizard.getCurrentSSID(win => { if(win) { this.logger.debug('getCurrentSSID:', win); } }) }

but it doesn't work:(
vendor-es2015.js:41296 ERROR TypeError: Cannot read property 'getCurrentSSID' of undefined at TestPage.getCurrentSSid (pages-test-test-module-es2015.js:397) at TestPage_Template_ion_button_click_32_listener (TestPage.js:139) at executeListenerWithErrorHandling (vendor-es2015.js:51415) at wrapListenerIn_markDirtyAndPreventDefault (vendor-es2015.js:51450) at HTMLElement.<anonymous> (vendor-es2015.js:77049) at ZoneDelegate.invokeTask (polyfills-es2015.js:3505) at Object.onInvokeTask (vendor-es2015.js:64524) at ZoneDelegate.invokeTask (polyfills-es2015.js:3504) at Zone.runTask (polyfills-es2015.js:3273) at ZoneTask.invokeTask [as invoke] (polyfills-es2015.js:3586)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant