Giter VIP home page Giter VIP logo

Comments (5)

lukaspili avatar lukaspili commented on June 5, 2024

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.

Abgaryan avatar Abgaryan commented on June 5, 2024

@lukaspili you an close the issue solved in #18

from geolocation.

asoseil avatar asoseil commented on June 5, 2024

@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.

renecura avatar renecura commented on June 5, 2024

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.

lukaspili avatar lukaspili commented on June 5, 2024

Sorry for the delay. It's fixed in the latest release 1.0.0.

from geolocation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.