We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At least with Ionic 4.x and @ionic-native 5.x, the DeviceMock implementation with plain variables like
DeviceMock
cordova: string;
does not work. There gets called always the original implementation.
But the following works for me:
get cordova(): string { return ""; }
I assume this happens since the properties are originally marked with the decorator @CordovaProperty...
@CordovaProperty
The text was updated successfully, but these errors were encountered:
+1 _super.apply is not a function
Sorry, something went wrong.
No branches or pull requests
At least with Ionic 4.x and @ionic-native 5.x, the
DeviceMock
implementation with plain variables likedoes not work. There gets called always the original implementation.
But the following works for me:
I assume this happens since the properties are originally marked with the decorator
@CordovaProperty
...The text was updated successfully, but these errors were encountered: