Comments (2)
Ok, I see. The problem is the flag isServiceBound is set to true but boundService might be null.
The problem is, as always, what do to in these cases. We could check in there (and in other usages too) if boundService is != null.
I will submit a hotfix as soon as I have a little time.
from smart-location-lib.
I've just submitted a fix for this, it's already up in version 1.0.2 of the library.
Also, I've changed the dependency type, so you should change the dependency from...
<dependency>
<groupId>com.mobivery.greent.smartlocation</groupId>
<artifactId>library</artifactId>
<version>1.0.1</version>
<type>apklib</type>
</dependency>
to this new one:
<dependency>
<groupId>com.mobivery.greent.smartlocation</groupId>
<artifactId>library</artifactId>
<version>1.0.2</version>
</dependency>
I hope your problem is solved now.
from smart-location-lib.
Related Issues (20)
- This lib is no longer working!
- [Request] Add an option for setting the Locale parameter from outside
- location does not update - Android 8.0 HOT 2
- Failed resolution of: Lcom/google/android/gms/common/api/Api$zzf HOT 6
- Causing kernel faults
- in some places onLocationUpdated never triggers
- Gradle build HOT 1
- Is A Reset Required [URGENT]
- facing issue with proguard
- Need Failure callBack
- Fix README.md wrong word
- Fatal Exception: java.lang.NullPointerException
- Issue: java.lang.RuntimeException: Error receiving broadcast Intent { act=io.nlopez.smartlocation.geocoding.providers.AndroidGeocodingProvider.REVERSE_GEOCODE_ACTION flg=0x10 (has extras) } in io.nlopez.smartlocation.geocoding.providers.AndroidGeocodingProvider$2@31cd929
- It doesn't work when device is upgraded to Google Services version 18.3.81
- SecurityException: "fused" location provider requires ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission. HOT 3
- java.lang.SecurityException: Activity detection usage requires the ACTIVITY_RECOGNITION permission HOT 1
- Getting crash: java.lang.IllegalStateException: GoogleApiClient is not connected yet. HOT 1
- java.lang.IllegalArgumentException:: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. HOT 5
- Interview partners for research about communication in GitHub projects wanted
- Google Play Services 21.0.1 freeze the execution of getLastLocation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smart-location-lib.