-
Notifications
You must be signed in to change notification settings - Fork 4
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
Provide full working example #4
Comments
Last update 2.1.1 give me that error: `[INFO] : I/💎🚘 TiGeoLogger: Last client unbound from service mChangingConfiguration=false requestingLocationUpdates=true [INFO] : I/💎🚘 TiGeoLogger: Starting foreground service [INFO] : I/💎🚘 TiGeoLogger: getNotification started [ERROR] : TiApplication: (main) [10,11929] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to unbind to service ti.locationtrackerservice.LocationUpdatesService@622906f with Intent { cmp=it.libemax.locationoreo/ti.locationtrackerservice.LocationUpdatesService }: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence)' on a null object reference; Titanium 7.1.1,2018/04/19 11:11,undefined [ERROR] : TiApplication: java.lang.RuntimeException: Unable to unbind to service ti.locationtrackerservice.LocationUpdatesService@622906f with Intent { cmp=it.libemax.locationoreo/ti.locationtrackerservice.LocationUpdatesService }: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence)' on a null object reference [ERROR] : TiApplication: at android.app.ActivityThread.handleUnbindService(ActivityThread.java:3906) [ERROR] : TiApplication: at android.app.ActivityThread.-wrap28(Unknown Source:0) [ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2002) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:109) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:166) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:7367) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : TiApplication: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:469) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:963) [ERROR] : TiApplication: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replace(java.lang.CharSequence, java.lang.CharSequence)' on a null object reference [ERROR] : TiApplication: at ti.locationtrackerservice.LocationUpdatesService.getNotification(LocationUpdatesService.java:356) [ERROR] : TiApplication: at ti.locationtrackerservice.LocationUpdatesService.onUnbind(LocationUpdatesService.java:243) [ERROR] : TiApplication: at android.app.ActivityThread.handleUnbindService(ActivityThread.java:3887) [ERROR] : TiApplication: ... 8 more` |
In this case the parameter |
Thanks @AppWerft - where is v2.1.2 ? I can't see the zip in the dist folder. Thanks |
I've built it |
Is it working for you with 2.1.2 @PietroGranati ? |
None, after I bit of research I found a guy here: You need to download it via the link "Here's the generated SDK zipfile." and put in the folder of others SDKs. |
@PietroGranati I can't click on that link, it says I'm not allowed |
Hello, since the last issue 'Manifest' is not the right one to continue the discussion I've opened this one.
I'm trying the homepage example on an Huawei p20, no more error appears (well tracker.setLocationCallback fires an UNDEFINED error for the function) but also no notification appears and no firing for location events.
My question is if you can provide a 'full' working example code so I can start from there.
Thank you for your amazing work!
The text was updated successfully, but these errors were encountered: