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

function onactivate does no longer exist #423

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

christophersax-at
Copy link
Contributor

I got the error message that "onactivate" does not exist with the latest HEAD Version. I therefore investigated and found out that since the on() function has been changed, I think this has been forgotten to also be changed in the Java file.

I got the error message that "onactivate" does not exist with the latest HEAD Version. I therefore investigated and found out that since the on() function has been changed, I think this has been forgotten to also be changed in the Java file.
@rjames-acn
Copy link

was this a compile-time or run-time issue?

@christophersax-at
Copy link
Contributor Author

Hey @rjames-acn
It was a run-time issue.

@MInesGomes
Copy link

I installed

https://github.com/lkonzen-garupa/cordova-plugin-background-mode

and add the code for wake_lock

Is working for android 5, 7 and 10 :-)

@katzer katzer merged commit 597b7f0 into katzer:master Aug 7, 2019
@katzer
Copy link
Owner

katzer commented Aug 7, 2019

Thanks

touficzayed added a commit to touficzayed/cordova-plugin-background-mode that referenced this pull request Oct 21, 2019
mattdsteele added a commit to mattdsteele/cordova-plugin-background-mode that referenced this pull request Jul 10, 2020
Cherry-pick 597b7f0 from katzer/cordova-plugin-background-mode

See katzer#423 for details
justincts1975 added a commit to justincts1975/cordova-plugin-background-mode that referenced this pull request Apr 21, 2021
raylin01 pushed a commit to truckxinc/cordova-plugin-background-mode that referenced this pull request Jun 7, 2021
I got the error message that "onactivate" does not exist with the latest HEAD Version. I therefore investigated and found out that since the on() function has been changed, I think this has been forgotten to also be changed in the Java file.
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

Successfully merging this pull request may close these issues.

5 participants