Git Product home page Git Product logo

Comments (5)

jesussmile avatar jesussmile commented on July 19, 2024

yes same issue any fix..? this is after the recent updates on flutter side

from background_locator.

jesussmile avatar jesussmile commented on July 19, 2024

@ARoSistemas can you post your pubspec.yaml

from background_locator.

ARoSistemas avatar ARoSistemas commented on July 19, 2024

Resolved!!!!!

1.- flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Versi¢n 10.0.22000.978], locale es-MX)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.6)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.69.2)
[√] Connected device (6 available)
[√] HTTP Host Availability

2.- In Pubspec.yml add this

   **background_locator_2: ^2.0.5**

  the version 1 to backgroud locator **not works on Flutter 3**

Remember :: The version of Dart is 3.0.2 only.

I test with version 3.3.2 and NOT WORKS

@jesussmile check it, and comments your results

from background_locator.

jesussmile avatar jesussmile commented on July 19, 2024

Resolved!!!!!

1.- flutter doctor

Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Versi¢n 10.0.22000.978], locale es-MX) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.6) [√] Android Studio (version 2021.2) [√] VS Code (version 1.69.2) [√] Connected device (6 available) [√] HTTP Host Availability

2.- In Pubspec.yml add this

   **background_locator_2: ^2.0.5**

  the version 1 to backgroud locator **not works on Flutter 3**

Remember :: The version of Dart is 3.0.2 only.

I test with version 3.3.2 and NOT WORKS

@jesussmile check it, and comments your results

Thanx works fine .

from background_locator.

pnthari avatar pnthari commented on July 19, 2024

Add @pragma('vm:entry-point') in location_callback_handler.dart file

@pragma('vm:entry-point')
static Future<void> callback(LocationDto locationDto) async {
    LocationServiceRepository myLocationCallbackRepository = LocationServiceRepository();
    await myLocationCallbackRepository.callback(locationDto);
  }

from background_locator.

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.