Giter Club home page Giter Club logo

navigator-app's Introduction

Fleetbase logo

Modular logistics and supply chain operating system
Documentation · Cloud Version · API Status · Book a Demo · Discord


What is Fleetbase?

Fleetbase is a modular logistics and supply chain operating system designed to streamline management, planning, optimization, and operational control across various sectors of the supply chain industry.

Fleetbase Console

Quickstart

git clone [email protected]:fleetbase/fleetbase.git  
cd fleetbase  
docker-compose up -d  
docker exec -ti fleetbase-application-1 bash  
sh deploy.sh

📖 Table of contents

📦 Features

  • Extensible: Build installable extensions and additional functionality directly into the OS via modular architecture.
  • Developer Friendly: RESTful API, socket, and webhooks to seamlessly integrate with external systems or develop custom applications.
  • Native Apps: Collection of open-source and native apps designed for operations and customer facing.
  • Collaboration: Dedicated chat and comments system for collaboration across your organization.
  • Security: Secure data encryption, adherence to industry-standard security practices, and a comprehensive dynamic Identity and Access Management (IAM) system.
  • Telematics: Integrate and connect to hardware devices and sensors to provide more feedback and visibility into operations.
  • Internationalized: Translate into multiple languages to accommodate diverse user bases and global operations.
  • Framework: PHP core built around logistics and supply chain abstractions to streamline extension development.
  • Dynamic: Configurable rules, flows and logic to enable automation and customization.
  • UI/UX: Clean, responsive user-friendly interface for efficient management and operations from desktop or mobile.
  • Dashboards: Create custom dashboards and widgets to get full visibility into operations.
  • Scalability: Uninterrupted growth with scalable infrastructure and design, capable of handling increasing data volume and user demand as your business expands.
  • Continuous Improvements: Commitment to continuous improvement, providing regular updates that seamlessly introduce optimizations, new features, and overall enhancements to the OS.
  • Open Source: Deploy it either on-premise or in the cloud according to your organization's needs and preferences.

💾 Install

Getting up and running with Fleetbase via Docker is the quickest and most straightforward way. If you’d like to use Fleetbase without docker read the full install guide in the Fleetbase documentation.

Make sure you have both the latest versions of docker and docker-compose installed on your system.

git clone [email protected]:fleetbase/fleetbase.git  
cd fleetbase  
docker-compose up -d  
docker exec -ti fleetbase-application-1 bash  
sh deploy.sh

Accessing Fleetbase

Once successfully installed and running you can then access the Fleetbase console on port 4200 and the API will be accessible from port 8000.

Fleetbase Console: http://localhost:4200 Fleetbase API: http://localhost:8000

Additional Configurations

CORS: If you’re installing directly on a server you may need to add your IP address or domain to the api/config/cors.php file in the allowed_hosts array.

Routing: Fleetbase ships with its own OSRM server hosted at [bundle.routing.fleetbase.io](https://bundle.routing.fleetbase.io) but you’re able to use your own or any other OSRM compatible server. You can modify this in the console/environments directory by modifying the env file of the environment you’re deploying and setting the OSRM_HOST to the OSRM server for Fleetbase to use.

Services: There are a few environment variables which need to be set for Fleetbase to function with full features. If you’re deploying with docker then it’s easiest to just create a docker-compose.override.yml and supply the environment variables in this file.

version: “3.8”
services:  
  application:  
    environment:  
      MAIL_MAILER: (ses, smtp, mailgun, postmark, sendgrid)
      OSRM_HOST: https://bundle.routing.fleetbase.io
      IPINFO_API_KEY:
      GOOGLE_MAPS_API_KEY:  
      GOOGLE_MAPS_LOCALE: us
      TWILIO_SID:  
      TWILIO_TOKEN:
      TWILIO_FROM:
      CONSOLE_HOST: http://localhost:4200

You can learn more about full installation, and configuration in the official documentation.

📱 Apps

Fleetbase offers a few open sourced apps which are built on Fleetbase which can be cloned and customized. Every app is built so that the Fleetbase instance can be switched out whether on-premise install or cloud hosted.

  • Storefront App: Fleetbase based ecommerce/on-demand app for launching your very own shop or marketplace to Apple or Android playstore.
  • Navigator App: Fleetbase based driver app which can be used for drivers to manage and update order, additionally provides real time driver location which can be viewed in the Fleetbase Console.

🛣️ Roadmap

  1. Extensions Registry and Marketplace ~ Allows users to publish and sell installable extensions on Fleetbase instances.
  2. Inventory and Warehouse Management ~ Pallet will be Fleetbase’s first official extension for WMS & Inventory.
  3. Customer Facing Views ~ Extensions will be able to create public/customer facing views tracking and management from outside of the console UI.
  4. Binary Builds ~ Run Fleetbase from a single binary.
  5. Fleetbase CLI ~ Official CLI for publishing and managing extensions, as well as scaffolding extensions.
  6. Fleetbase for Desktop ~ Desktop builds for OSX and Windows.
  7. Custom Maps and Routing Engines ~ Feature to enable easy integrations with custom maps and routing engines like Google Maps or Mapbox etc…

🪲 Bugs and 💡 Feature Requests

Have a bug or a feature request? Please check the issue tracker and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

👨‍💻 Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

👥 Community

Get updates on Fleetbase's development and chat with the project maintainers and community members by joining our Discord.

See the Releases section of our GitHub project for changelogs for each release version of Fleetbase.

Release announcement posts on the official Fleetbase blog contain summaries of the most noteworthy changes made in each release.

Creators

Ronald A. Richardson- Co-founder & CTO

Ron Image

Github | LinkedIn

Shiv Thakker - Co-founder & CEO

Shiv Image

Github | LinkedIn

License & Copyright

Fleetbase is made available under the terms of the GNU Affero General Public License 3.0 (AGPL 3.0). For other licenses contact us.

navigator-app's People

Contributors

doljko avatar roncodes avatar tortuvshin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

navigator-app's Issues

Unable to run the app because of "The binary version of its metadata is 1.6.0, expected version is 1.4.0." error

I am getting the following error when trying to run the app through Android Studio.

Error: The binary version of its metadata is 1.6.0, expected version is 1.4.0.

I have attached the entire log here, please take a look.

I also tried yarn run android, which is giving me the following error:

File google-services.json is missing. The Google Services Plugin cannot function without it.

You can find the logs here.

Note: I have tried all this from Windows.

navigator-app repo referencing files in storefront-app project

Hi,
navigator-app/src/config.js is referencing files in a structure that only exist in the storefront-app repo:

import Environment from 'react-native-config';
import AppConfig from '../config/app';
import InterfaceConfig from '../config/interface';

/** 
 * ----------------------------------------------------------
 * Storefront App Configuration
 * ----------------------------------------------------------
 *
 * Define your own custom configuration properties below.
 * @TODO Allow 3rd party configurations for plugins
 *
 * @type {object} 
 */
const Config = {
    app: AppConfig,
    ui: InterfaceConfig,
    ...Environment,
};

export default Config;

/config/app and /config/interface do not exist in navitator-app repo so I can't compile the project

Unable to build Android app

This happened after I ran ./gradlew buildRelease in android folder.

> Configure project :react-native-reanimated
No AAR for react-native-reanimated found. Attempting to build from source.
Android gradle plugin: 4.2.2
Gradle: 6.9

> Task :app:bundleReleaseJsAndAssets
warning: the transform cache was reset.
                    Welcome to Metro!
              Fast - Scalable - Integrated


Failed to construct transformer:  Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:138:10)
    at stableHash (F:\sides\navigator-app\node_modules\metro-cache\src\stableHash.js:19:8)
    at Object.getCacheKey (F:\sides\navigator-app\node_modules\metro-transform-worker\src\index.js:593:7)
    at getTransformCacheKey (F:\sides\navigator-app\node_modules\metro\src\DeltaBundler\getTransformCacheKey.js:24:19)
    at new Transformer (F:\sides\navigator-app\node_modules\metro\src\DeltaBundler\Transformer.js:48:9)
    at F:\sides\navigator-app\node_modules\metro\src\Bundler.js:22:29
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:511:9) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
error Cannot read properties of undefined (reading 'transformFile').
TypeError: Cannot read properties of undefined (reading 'transformFile')
    at Bundler.transformFile (F:\sides\navigator-app\node_modules\metro\src\Bundler.js:48:30)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:511:9)
    at async Object.transform (F:\sides\navigator-app\node_modules\metro\src\lib\transformHelpers.js:101:12)
    at async processModule (F:\sides\navigator-app\node_modules\metro\src\DeltaBundler\traverseDependencies.js:137:18)
    at async traverseDependenciesForSingleFile (F:\sides\navigator-app\node_modules\metro\src\DeltaBundler\traverseDependencies.js:131:3)
    at async Promise.all (index 0)
    at async initialTraverseDependencies (F:\sides\navigator-app\node_modules\metro\src\DeltaBundler\traverseDependencies.js:114:3)
    at async DeltaCalculator._getChangedDependencies (F:\sides\navigator-app\node_modules\metro\src\DeltaBundler\DeltaCalculator.js:164:25)
    at async DeltaCalculator.getDelta (F:\sides\navigator-app\node_modules\metro\src\DeltaBundler\DeltaCalculator.js:94:16)
info Run CLI with --verbose flag for more details.

> Task :app:bundleReleaseJsAndAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'cmd'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Need help please.

Crashes on startup

What could be wrong?
`com.facebook.react.common.JavascriptException: Error: ⚠️ Invalid public key given to Fleetbase SDK

This error is located at:
in App
in RCTView
in Unknown
in RCTView
in Unknown
in AppContainer, js engine: hermes, stack:
t@1:931510
useFleetbase@1:885537
use@1:1236281
App@1:614109
renderWithHooks@1:324681
beginWork$1@1:366379
performUnitOfWork@1:352800
workLoopSync@1:352662
renderRootSync@1:352546
performSyncWorkOnRoot@1:349968
flushSyncCallbacks@1:314353
scheduleUpdateOnFiber@1:347109
updateContainer@1:358079
anonymous@1:367407
renderElement@1:82125
renderApplication@1:244251
run@1:237941
runApplication@1:238421
__callFunction@1:73256
anonymous@1:71613
__guard@1:72563
callFunctionReturnFlushedQueue@1:71571

at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:65)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
at com.facebook.jni.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loopOnce(Unknown Source:176)
at android.os.Looper.loop(Unknown Source:77)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
at java.lang.Thread.run(Thread.java:920)`

Upgrade react-native to 0.72

Noticed how old it is (0.66). Can someone upgrade and test whether its working for the latest react-native 0.72?

Problem installing date-fns

After git cloning and running yarn, it has a problem with installing date-fns package. Yarn error log report as follows:

Arguments: 
  C:\Program Files\nodejs\node.exe C:\Program Files (x86)\Yarn\bin\yarn.js

PATH: 
  C:\Python311\Scripts\;C:\Python311\;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Python310\Scripts\;C:\Python310\;C:\Python39\Scripts\;C:\Python39\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\ORANT\BIN;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\HashiCorp\Vagrant\bin;C:\ProgramData\nvm;C:\Program Files\nodejs;C:\Program Files (x86)\Yarn\bin\;C:\Program Files\Calibre2\;C:\Program Files\Git\cmd;C:\Program Files\Java\jdk1.8.0_211\bin;C:\Program Files\Tailscale\;C:\Program Files\PowerShell\7\;C:\Program Files\Docker\Docker\resources\bin;C:\Users\abdul\.pyenv\pyenv-win\bin;C:\Users\abdul\.pyenv\pyenv-win\shims;C:\Users\abdul\AppData\Local\Microsoft\WindowsApps;C:\Program Files\heroku\bin;C:\Users\abdul\AppData\Roaming\Python\Python310\Scripts;C:\Program Files\Haulmont\CUBA Studio 2020.2\bin;C:\Users\abdul\.dotnet\tools;C:\Program Files\Oracle\VirtualBox;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.3.2\bin;C:\Program Files\Java\jdk-17.0.3.1;C:\Program Files\OpenSSL-Win64\bin;C:\Program Files\Java\jdk-17.0.3.1\bin;C:\Program Files\Okteto;C:\Program Files\Carnac;C:\tools\neovim\nvim-win64\bin;C:\Program Files\win32yank-x64\;C:\Users\abdul\AppData\Local\Programs\oh-my-posh\bin;C:\Users\abdul\AppData\Local\BraveSoftware\Brave-Browser\Application;C:\ProgramData\nvm;C:\Program Files\nodejs;C:\Users\abdul\AppData\Local\Yarn\bin;C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin;C:\Users\abdul\AppData\Roaming\npm;C:\Users\abdul\.pyenv\pyenv-win\bin;C:\Users\abdul\.pyenv\pyenv-win\shims

Yarn version: 
  1.22.19

Node version: 
  20.2.0

Platform: 
  win32 x64

Trace: 
  Error: https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz: ESOCKETTIMEDOUT
      at ClientRequest.<anonymous> (C:\Program Files (x86)\Yarn\lib\cli.js:141517:19)
      at Object.onceWrapper (node:events:625:28)
      at ClientRequest.emit (node:events:511:28)
      at TLSSocket.emitRequestTimeout (node:_http_client:840:9)
      at Object.onceWrapper (node:events:625:28)
      at TLSSocket.emit (node:events:523:35)
      at Socket._onTimeout (node:net:583:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7)

npm manifest: 
  {
      "name": "navigator-app",
      "version": "0.0.1",
      "private": true,
      "scripts": {
          "android": "react-native run-android",
          "ios": "react-native run-ios",
          "start": "react-native start",
          "pod-reset": "rm -rf ios/Pods/ ios/Podfile.lock && npx pod-install",
          "yarn-reset": "rm -rf node_modules/ package-lock.json yarn.lock && yarn install",
          "full-reset": "yarn yarn-reset && yarn pod-reset && npx jetify",
          "kill-android-build": "./android/gradlew --stop",
          "jetify": "npx jetify",
          "test": "jest",
          "lint": "eslint .",
          "generate-app-icon": "npx app-icon generate -i ./assets/app-icon.png",
          "generate-launch-screen": "npx react-native generate-bootsplash ./assets/splash-screen.png --background-color=#111827 --logo-width=100 --flavor=main"
      },
      "dependencies": {
          "@babel/plugin-proposal-async-generator-functions": "^7.17.12",
          "@fleetbase/sdk": "1.2.5",
          "@fortawesome/free-brands-svg-icons": "^5.15.4",
          "@freakycoder/react-native-bounceable": "^0.2.5",
          "@homee/react-native-mapbox-navigation": "^1.1.0",
          "@react-native-async-storage/async-storage": "^1.15.5",
          "@react-native-community/datetimepicker": "^6.1.2",
          "@react-native-community/masked-view": "^0.1.11",
          "@react-native-community/push-notification-ios": "^1.8.0",
          "@react-native-picker/picker": "^1.16.3",
          "@react-navigation/bottom-tabs": "^6.3.1",
          "@react-navigation/native": "^6.0.10",
          "@react-navigation/stack": "^6.2.1",
          "autoprefixer": "^10.2.6",
          "axios": "^0.21.1",
          "countries-list": "^2.6.1",
          "country-locale-map": "^1.8.0",
          "date-fns": "^2.28.0",
          "i18n-js": "^3.8.0",
          "postcss": "^8.3.5",
          "react": "17.0.2",
          "react-native": "0.66.4",
          "react-native-actions-sheet": "^0.5.4",
          "react-native-animated-radio-button": "^2.0.6",
          "react-native-bootsplash": "^4.0.2",
          "react-native-bouncy-checkbox": "^2.1.2",
          "react-native-calendar-strip": "^2.2.6",
          "react-native-calendars": "^1.1278.0",
          "react-native-camera": "^4.2.1",
          "react-native-collapsible": "^1.6.0",
          "react-native-config": "^1.4.2",
          "react-native-device-info": "^8.1.3",
          "react-native-event-listeners": "^1.0.7",
          "react-native-fast-image": "^8.5.11",
          "react-native-fs": "^2.18.0",
          "react-native-geolocation-service": "^5.3.0-beta.1",
          "react-native-gesture-handler": "^1.10.3",
          "react-native-google-places-autocomplete": "^2.2.0",
          "react-native-image-picker": "^4.4.0",
          "react-native-image-resizer": "^1.4.5",
          "react-native-localize": "^2.1.5",
          "react-native-location": "^2.5.0",
          "react-native-maps": "0.28.0",
          "react-native-maps-directions": "^1.8.0",
          "react-native-mmkv-storage": "^0.6.3",
          "react-native-modal": "^12.0.2",
          "react-native-open-maps": "^0.4.0",
          "react-native-permissions": "^3.0.5",
          "react-native-picker-module": "^2.0.4",
          "react-native-push-notification": "^7.4.0",
          "react-native-qrcode-scanner": "^1.5.5",
          "react-native-reanimated": "^2.2.0",
          "react-native-render-html": "^6.0.5",
          "react-native-safe-area-context": "^3.2.0",
          "react-native-screens": "^3.4.0",
          "react-native-signature-capture": "^0.4.12",
          "react-native-swipe-list-view": "^3.2.9",
          "react-native-toast-message": "^2.1.5",
          "react-native-youtube": "^2.0.2",
          "react-redux": "^7.2.5",
          "socketcluster-client": "^16.0.4",
          "tailwind-rn": "^3.0.1",
          "tailwindcss": "^2.2.4",
          "yarn": "^1.22.17"
      },
      "devDependencies": {
          "@babel/core": "^7.12.9",
          "@babel/runtime": "^7.12.5",
          "@fortawesome/fontawesome-svg-core": "^1.2.35",
          "@fortawesome/free-solid-svg-icons": "^5.15.3",
          "@fortawesome/react-native-fontawesome": "^0.2.6",
          "@react-native-community/eslint-config": "^2.0.0",
          "babel-jest": "^26.6.3",
          "babel-plugin-module-resolver": "^4.1.0",
          "babel-plugin-preval": "^5.0.0",
          "eslint": "7.14.0",
          "inflector-js": "^1.0.1",
          "jest": "^26.6.3",
          "language-name-map": "^0.3.0",
          "locale-emoji": "^0.3.0",
          "metro-react-native-babel-preset": "^0.64.0",
          "react-native-svg": "^12.1.1",
          "react-test-renderer": "17.0.1"
      },
      "jest": {
          "preset": "react-native"
      }
  }

yarn manifest: 
  No manifest

Lockfile: 
  No lockfile

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.