-
Notifications
You must be signed in to change notification settings - Fork 15
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
Property ScreenLocker does not exist on type window. #9
Comments
as I remember, ionic 2 using angular 2 infrastructure, you should get access to window property first |
Actually i have access to window object and it's also getting printed in console with its properties but i can not find screenlocker on window object. |
Not working.... |
Found a workaround for this on https://www.joshmorony.com/using-cordova-plugins-in-ionic-2-with-ionic-native/ That worked for me, using: Hope this helps, even 2 years after.... |
i want to use this in ionic 2 app but it's saying that Property ScreenLocker does not exist on type window.
how to fix this error?
The text was updated successfully, but these errors were encountered: