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

Android 6 and 7 are not working #74

Open
Proto99 opened this issue Feb 22, 2017 · 7 comments
Open

Android 6 and 7 are not working #74

Proto99 opened this issue Feb 22, 2017 · 7 comments

Comments

@Proto99
Copy link

Proto99 commented Feb 22, 2017

Android 6 and 7 are not working

Hello, primarily this plugin is nice. Android 5 te works fine. But android 6 reports that the code runs for more than 50 ms. This is a big problem. And the background service is not running when the application is terminated in Android 6. I follow all cases from android LogCat. When I open the application, your code works as much as 54 ms as I calculate it. The maximum is 65 ms.

If you help me, I will be glad.

Thank you

@Red-Folder
Copy link
Owner

Are you actually receiving an error message? If so, please provide

@Proto99
Copy link
Author

Proto99 commented Feb 22, 2017

Thank you for your quick turn, I get the error message to this page -> "https://bugs.chromium.org/p/chromium/issues/detail?id=574343#c40"

@Red-Folder
Copy link
Owner

Please provide the specific error you are receiving and under what circumstances.

@Proto99
Copy link
Author

Proto99 commented Feb 22, 2017

The error does not work in android 6 and 7. But in the .js file everything is normal "myService.registerForBootStart -> ok
MyService.registerForUpdates -> ok
MyService.startService -> ok
MyService.setConfiguration -> ok
MyService.enableTimer -> ok "

  And while the application is open
"Timer task starting work
Syncing result
Sending to all listeners
Sent listener - 0
Timer task completing work "

  But when we close the application completely, the background service is not active. Android 6 and 7 say "Keep the CPU On" as a suggestion. When the application closes, all the activities of the application are turned off. I can not get any messages at LogCat

@Red-Folder
Copy link
Owner

Unfortunately without an error message, I really can't provide any assistance.

I don't have an environment to be able to test the background service so am unable to replicate the issue.

@Proto99
Copy link
Author

Proto99 commented Feb 22, 2017

You can also test on the simulator on android 6/7. If you can test any android 6/7 devices, you can see that the background service is not active. The device I tested does not work on "Huawei P9 Lite" (android 6) and "general mobile 5 plus" (android 7) devices. But "LG 3" (android 5) works.
When you understand the problem, if you come back, I'm happy. A very important topic for me

@Red-Folder
Copy link
Owner

Sorry, but as per the README notice - I do not have a development environment for this project any longer - neither do I plan on creating one. Cordova is simply not a priority to me.

If you had an actual error to investigate, I may have been able to provide advice. But in the absence of one, I simply do not have the time (or desire) to recreate your problem. But as it stands there is nothing I can do for you.

I will leave this issue open incase someone else can provide you with assistance.

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

2 participants