Comments (5)
Thanks for the report, will fix asap.
Context: The request id for permission request is too big 138978923
. Valid maximum seems to be 65536
on some devices.
from geolocation.
@lukaspili you an close the issue solved in #18
from geolocation.
@lukaspili Hi, my app crash if i use geolocation with firebase. Separately works fine, i tried with a blank app and when i add firebase with geolocation crash during the building phase. Could be a dependencies problem? I'm using latest master version of flutter, firebase and geolocation.
In my app/build.gradle i'm using (without there is a exceed dex erroe)
configurations.all {
resolutionStrategy {
eachDependency { details ->
if (details.requested.group == 'com.google.android.gms' ||
details.requested.group == 'com.google.firebase') {
details.useVersion "11.8.0"
}
}
}
}
and this is my error stack
I/art ( 6253): Background partial concurrent mark sweep GC freed 4365(417KB) AllocSpace objects, 3(60KB) LOS objects, 24% free, 8MB/11MB, paused 31.096ms total 180.579ms
W/art ( 6253): Verification of bjzf owi.a(android.content.Context, boolean, java.lang.String, int, java.lang.Integer, oxk, bbvj) took 142.998ms
W/linker ( 6253): /data/app/com.google.android.gms-1/lib/arm/libconscrypt_gmscore_jni.so: unused DT entry: type 0xf arg 0x193
V/NativeCrypto( 6253): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 280 native methods...
I/art ( 6253): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java7ExtendedSSLSession>
I/art ( 6253): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java7ExtendedSSLSession>
I/art ( 6253): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java8ExtendedSSLSession>
I/art ( 6253): Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.org.conscrypt.Java8ExtendedSSLSession>
I/ProviderInstaller( 6253): Installed default security provider GmsCore_OpenSSL
D/AndroidRuntime( 6253): Shutting down VM
E/AndroidRuntime( 6253): FATAL EXCEPTION: main
from geolocation.
Same problem here with firebase (cloud_firestore).
Only adding the dependencies in pubspec.yaml breaks the app.
dependencies:
cloud_firestore: ^0.7.3
geolocation: ^0.2.1
flutter:
sdk: flutter
EDITED:
This fixed the problem for me (As commented in #10 (comment)):
add at the end of the file app\build.gradle
configurations.all {
resolutionStrategy {
force 'com.google.android.gms:play-services-location:15.0.0'
}
}
from geolocation.
Sorry for the delay. It's fixed in the latest release 1.0.0.
from geolocation.
Related Issues (20)
- fatal error: 'geolocation/geolocation-Swift.h' file not found HOT 1
- NoSuchMethodError: The getter 'last' was called on null. HOT 1
- Republished package [new_geolocation] HOT 4
- Geolocation vs Geolocator vs Location flutter plugins. Differences?
- Android Permission Best Practices HOT 2
- iOS Permission Best Practices HOT 2
- Does it work if the app is closed ? HOT 5
- Is it possible to add the speed property on the return? HOT 2
- background: true Has no effect HOT 6
- Error on build app
- Running in background does not work HOT 8
- Get the location updates after each 1 minute?
- enableLocationServices Is not working for ios HOT 1
- I'm not unable to add foreground notification while location service is running in background.
- Assertion failure in -[CLLocationManager setAllowsBackgroundLocationUpdates:]
- Added speed for android and IOS HOT 1
- Add headless mode ? HOT 1
- Null safety HOT 1
- Force new location
- Build error on v1.1.2 java.lang.reflect.InvocationTargetException HOT 1
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 geolocation.