Git Product home page Git Product logo

graphhopper-maps-capacitor's People

Contributors

boldtrn avatar dependabot[bot] avatar fieteo avatar karussell avatar poussinou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fieteo

graphhopper-maps-capacitor's Issues

App doesn't recalculate track

Hi, there's one big problem with the app. As an example if I get off the highway on the wrong exit (not the one that app wanted me to) the app doesn't recalculate the path to destination which it should as any other GPS app. Without that it's unusable because you sometimes know city better than the algorithm and take the shortcut or the longer road and it no longer navigates you.

Building the project fails

I am trying to build the project. Initially I ran the build.sh and saw a couple of errors in the log output. So I took a look into the build.sh and ran the first commands until I got an error.
npm install runs fine but npm run build fails with two issues that may or may not be related to each other:

fiete@ubu:~/Documents/development/graphhopper-maps-capacitor$ npm run build

> [email protected] build
> webpack --config webpack.config.js

assets by status 14.1 KiB [cached] 3 assets
runtime modules 6.75 KiB 9 modules
orphan modules 401 bytes [orphan] 2 modules
cacheable modules 22.1 KiB
  ./src/app.js + 1 modules 2.14 KiB [built] [code generated]
  ./node_modules/@capacitor/core/dist/index.js 17 KiB [built] [code generated]
  ./node_modules/@capacitor-community/text-to-speech/dist/esm/web.js 3.03 KiB [built] [code generated]

ERROR in ./src/app.js 45:11-53
Module not found: Error: Can't resolve '../graphhopper-maps/dist/bundle' in '/home/fiete/Documents/development/graphhopper-maps-capacitor/src'
resolve '../graphhopper-maps/dist/bundle' in '/home/fiete/Documents/development/graphhopper-maps-capacitor/src'
  using description file: /home/fiete/Documents/development/graphhopper-maps-capacitor/package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /home/fiete/Documents/development/graphhopper-maps-capacitor/package.json (relative path: ./graphhopper-maps/dist/bundle)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /home/fiete/Documents/development/graphhopper-maps-capacitor/graphhopper-maps/dist/bundle doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /home/fiete/Documents/development/graphhopper-maps-capacitor/graphhopper-maps/dist/bundle.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /home/fiete/Documents/development/graphhopper-maps-capacitor/graphhopper-maps/dist/bundle.json doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /home/fiete/Documents/development/graphhopper-maps-capacitor/graphhopper-maps/dist/bundle.wasm doesn't exist
      as directory
        /home/fiete/Documents/development/graphhopper-maps-capacitor/graphhopper-maps/dist/bundle doesn't exist

ERROR in   Error: Child compilation failed:
  Module not found: Error: Can't resolve '/home/fiete/Documents/development/graphhopper-maps-capacitor/graphhopper-maps/src/index.html' in '/home/fiete/Documents/development/graphhopper-maps-capacitor'
  ModuleNotFoundError: Module not found: Error: Can't resolve '/home/fiete/Documents/development/graphhopper-maps-capacitor/gra  phhopper-maps/src/index.html' in '/home/fiete/Documents/development/graphhopper-maps-capacitor'
      at /home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/webpack/lib/Compilation.js:2011:28
      at /home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/webpack/lib/NormalModuleFactory.js:795:13
      at eval (eval at create (/home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/tapable/lib/HookCodeFa  ctory.js:33:10), <anonymous>:10:1)
      at /home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/webpack/lib/NormalModuleFactory.js:275:22
      at eval (eval at create (/home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/tapable/lib/HookCodeFa  ctory.js:33:10), <anonymous>:9:1)
      at /home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/webpack/lib/NormalModuleFactory.js:431:22
      at /home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/webpack/lib/NormalModuleFactory.js:128:11
      at /home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/webpack/lib/NormalModuleFactory.js:667:25
      at /home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/webpack/lib/NormalModuleFactory.js:852:8
      at /home/fiete/Documents/development/graphhopper-maps-capacitor/node_modules/webpack/lib/NormalModuleFactory.js:972:5
  
  - Compilation.js:2011 
    [graphhopper-maps-capacitor]/[webpack]/lib/Compilation.js:2011:28
  
  - NormalModuleFactory.js:795 
    [graphhopper-maps-capacitor]/[webpack]/lib/NormalModuleFactory.js:795:13
  
  
  - NormalModuleFactory.js:275 
    [graphhopper-maps-capacitor]/[webpack]/lib/NormalModuleFactory.js:275:22
  
  
  - NormalModuleFactory.js:431 
    [graphhopper-maps-capacitor]/[webpack]/lib/NormalModuleFactory.js:431:22
  
  - NormalModuleFactory.js:128 
    [graphhopper-maps-capacitor]/[webpack]/lib/NormalModuleFactory.js:128:11
  
  - NormalModuleFactory.js:667 
    [graphhopper-maps-capacitor]/[webpack]/lib/NormalModuleFactory.js:667:25
  
  - NormalModuleFactory.js:852 
    [graphhopper-maps-capacitor]/[webpack]/lib/NormalModuleFactory.js:852:8
  
  - NormalModuleFactory.js:972 
    [graphhopper-maps-capacitor]/[webpack]/lib/NormalModuleFactory.js:972:5
  
  - child-compiler.js:169 
    [graphhopper-maps-capacitor]/[html-webpack-plugin]/lib/child-compiler.js:169:18
  
  - Compiler.js:559 
    [graphhopper-maps-capacitor]/[webpack]/lib/Compiler.js:559:11
  
  - Compiler.js:1129 
    [graphhopper-maps-capacitor]/[webpack]/lib/Compiler.js:1129:17
  
  
  - Hook.js:18 Hook.CALL_ASYNC_DELEGATE [as _callAsync]
    [graphhopper-maps-capacitor]/[tapable]/lib/Hook.js:18:14
  
  - Compiler.js:1125 
    [graphhopper-maps-capacitor]/[webpack]/lib/Compiler.js:1125:33
  
  - Compilation.js:2782 finalCallback
    [graphhopper-maps-capacitor]/[webpack]/lib/Compilation.js:2782:11
  
  - Compilation.js:3087 
    [graphhopper-maps-capacitor]/[webpack]/lib/Compilation.js:3087:11
  
  
  - Hook.js:18 Hook.CALL_ASYNC_DELEGATE [as _callAsync]
    [graphhopper-maps-capacitor]/[tapable]/lib/Hook.js:18:14
  


1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack 5.65.0 compiled with 3 errors in 609 ms

There is the Field 'browser' doesn't contain a valid alias configuration error where I did not find an obvious solution for (maybe check this SO thread) and a possible followup error that the index.html cannot be found.

run navigation in background

Get GPS updates to announce turn instructions even if the app is in background or if screen is off.

Unfortunately this is currently not possible with a web API, see w3c/ServiceWorker#745 or w3c/geolocation-sensor#22.

And CapacitorJS removed the background task plugin in v4.x and the location plugin "stops location updates when the app goes into background state" - see here.

We could try if the background-runner API works for this but this is available only in v5.x. It seems the background-runner is something different like we need, because they announced that " A Background Tasks Capacitor Plugin is coming soon!" here in March 2023, which seems exactly what we need.

Or we could try this plugin.

GPS not working

Hi!

I recently started de-googleing my Mobile, and found this App, and i have to say: i am quite amazed!
There are a few usability-issues, however, my biggest problem right now is: the app does not request location information.

I click the button, nothing happens.
After some time a window pops up, saying that a GPS-Timeout has occured.
GPS itself is working fine, i verified that with the App "GPS-Cockpit".
When using GPS-Cockpit, the Location-icon appears besides the clock.
When using Graphhopper, it doesn't.

The permission is set correctly, (the app requests "Location"), and i tried reinstalling multiple times.
I am using a Sony Z5C on LineageOS 18.1, The Open GApps package is installed, in the minimalist configuration. (yet. will remove in the future :-) )

If you have any tips or ideas, i would be most grateful!
Thank you :-)

could not connect to the service

hey,
i dont know if this issues is cause of the app or cause of my device,
when i start the app i have a red banner tel me "could not connect to the service", but yesterday the app work just fine

I don't remember changing anything, so do you have an idea ?
thanks.

Update: after installing the demo app from the store i could notice both app work now, very strange because the only thing i just do is download and start the demo app

if my story help to improve this app, that make me very happy.

PS: im only pixel 6 with calyx os (and of course microG and localisation is activate)

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.