Closed OmarPedraza closed 11 years ago
Thanks Omar. We will take a look at this issue and have a fix next release.
Hi Omar. I'm really sorry it took so long for me to get this out. I did a lot of refactoring around location in order to hopefully be more robust and also to reduce battery consumption. Please let me know if you are still running into some issues.
Hi there, I've found a new issue when you install an app with location gathering enabled. The crash is the following one:
05-23 15:58:23.148: ERROR/AndroidRuntime(28769): FATAL EXCEPTION: com.quantcast.measurement.service.QuantcastGlobalControlProvider#initializing java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.(Handler.java:121)
at android.location.LocationManager$ListenerTransport$1.(LocationManager.java:180)
at android.location.LocationManager$ListenerTransport.(LocationManager.java:180)
at android.location.LocationManager._requestLocationUpdates(LocationManager.java:586)
at android.location.LocationManager.requestLocationUpdates(LocationManager.java:453)
at com.quantcast.measurement.service.QuantcastClient$LocationMonitor.startListening(QuantcastClient.java:601)
at com.quantcast.measurement.service.QuantcastClient$2.callback(QuantcastClient.java:500)
at com.quantcast.measurement.service.QuantcastGlobalControlProvider$3.callback(QuantcastGlobalControlProvider.java:134)
at com.quantcast.measurement.service.QuantcastGlobalControlProvider.notifyListeners(QuantcastGlobalControlProvider.java:161)
at com.quantcast.measurement.service.QuantcastGlobalControlProvider.access$200(QuantcastGlobalControlProvider.java:28)
at com.quantcast.measurement.service.QuantcastGlobalControlProvider$1.run(QuantcastGlobalControlProvider.java:65)
at java.lang.Thread.run(Thread.java:856)
Nevertheless, when you run again the app, once installed, it works properly.
Please, take a look at this issue. Thank you very much, Omar