Add a way to stop the service - like stop()
See original GitHub issueI want to stop the statistic sending as soon as the user opts out of this.
The Java SDK has a dedicated stop()
method to shut down the engine.
The Android SDK has no such option. I tried calling onStop()
which seems to signal something, but does not stop sending messages.
I also tried calling Countly.sharedInstance().consent().removeConsentAll()
after I configured config.setRequiresConsent(true)
, but this is not effective until the whole app is restarted.
So I currently see no way to stop the sending of anaytics once Countly.sharedInstance().init(config)
is called.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Stop-Service (Microsoft.PowerShell.Management)
This command stops the Telnet service on the local computer. The command uses Get-Service to get an object that represents the Telnet service....
Read more >How to start and stop services manually on Windows 10
Type the following command to disable a service and press Enter: sc config "SERVICE-NAME" start=disabled. In the command, replace "SERVICE-NAME" ...
Read more >How can I stop a service from the command line? - ITPro Today
Learn how to stop a service from the command line. ... (you can add > \[filename\] to the end to make it output...
Read more >How to Start/Stop Windows Service Remotely on Several PCs
Method 1: Using Command SC It's a built-in command line since Windows XP. It interacts with local and remote services quite easily like...
Read more >Kill a Windows Service That Stucks on Stopping or Starting
The easiest way to stop a stuck service is to use the built-in taskkill command-line tool. First of all, you need to find...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please refer to this method
@ArtursKadikis Thanks. It works now. Resolved.