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

Mock GPS app generating errors in app #7

Open
powysm opened this issue May 10, 2019 · 3 comments
Open

Mock GPS app generating errors in app #7

powysm opened this issue May 10, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@powysm
Copy link

powysm commented May 10, 2019

Hi,

I am trying to fake GPS location using this
https://play.google.com/store/apps/details?id=com.incorporateapps.fakegps.fre, to test my app, I have also tried others fake gps apps with the same result. I have setup mock location app in settings and can successfully use it to fool StreetView, so it appears to be working ok. However when i try to use it with my ti app i get the following on repeat. And the app fails to pickup the locations.

Ti.android.geofence 1.0.7

Thanks

[INFO] : I/GeofenceModule BroadcastReceiver: (main) [40,63255] onReceive - OnRebootBroadcastReceiver for Geofence : android.location.PROVIDERS_CHANGED
[INFO] : I/GeofenceModule BroadcastReceiver: (main) [1,63256] PROVIDERS_CHANGED_ACTION
[ERROR] : E/GeofenceModule BroadcastReceiver: (main) [0,63256] java.lang.IllegalArgumentException: Receiver not registered: ti.android.geofence.OnRebootBroadcastReceiver@a2e8160
[INFO] : I/GeofenceModule BroadcastReceiver: (main) [27,63284] onReceive - OnRebootBroadcastReceiver for Geofence : android.location.MODE_CHANGED
[INFO] : I/GeofenceModule BroadcastReceiver: (main) [1,63285] MODE_CHANGED
[ERROR] : E/GeofenceModule BroadcastReceiver: (main) [1,63286] java.lang.IllegalArgumentException: Receiver not registered: ti.android.geofence.OnRebootBroadcastReceiver@982e6de
[INFO] : I/GeofenceModule BroadcastReceiver: (main) [5,63291] updateGeofencesAdded()
[INFO] : I/GeofenceModule BroadcastReceiver: (main) [0,63291] Added Geofences Successfully! It should be working...

@deckameron
Copy link
Owner

Thank you @powysm!
I will investigate it asap.

@powysm
Copy link
Author

powysm commented May 11, 2019 via email

@deckameron
Copy link
Owner

Hi @powysm
I have created a new issue regarding the second message. It is a known android>=26 issue and I don't know how to solve it.

About this issue. It is directly related to the this one and it is because of the implicit broadcast ban on android>=26. I have fallowed every suggestion on Google fix thread and stackoverflow without success.

I need to invest more time in it.

@deckameron deckameron added the help wanted Extra attention is needed label May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants