Open nmarquesb opened 6 years ago
Hello, In my IOnic v3 project, I was trying to make a call to isScreenOff function, but i had no response and no error. After investigation, this method isScreenOff was not defined in background-mode.js
isScreenOff
I added the cordova-plugin-bakcground-mode with
$ ionic cordova plugin add cordova-plugin-background-mode $ npm install --save @ionic-native/background-mode
wich resolved in my project to the location url : https://registry.npmjs.org/cordova-plugin-background-mode/-/cordova-plugin-background-mode-0.7.2.tgz wich is correct. But this archive doesn't reflect last repo updates with fixes for isScreenOff, wakeUp and unlock methods.
wakeUp
unlock
I think the issue is caused because the package version didn't changed (still in 0.7.2) and npmregistry didn't update the archive ? maybe ?
For information and a workaround, i then forced resolution to the github repo with a
npm install katzer/cordova-plugin-background-mode --save
What's the status on this, could we push a new version to npm?
Hello, In my IOnic v3 project, I was trying to make a call to
isScreenOff
function, but i had no response and no error. After investigation, this methodisScreenOff
was not defined in background-mode.jsI added the cordova-plugin-bakcground-mode with
wich resolved in my project to the location url : https://registry.npmjs.org/cordova-plugin-background-mode/-/cordova-plugin-background-mode-0.7.2.tgz wich is correct. But this archive doesn't reflect last repo updates with fixes for
isScreenOff
,wakeUp
andunlock
methods.I think the issue is caused because the package version didn't changed (still in 0.7.2) and npmregistry didn't update the archive ? maybe ?
For information and a workaround, i then forced resolution to the github repo with a