Clone repository. Navigate in respective addon directory (geotabdrive-sygic-addin or mygeotab-sygic-page)
To ensure proper sygic-geotab-utils module inclusion in both projects you need to:
cd ~/sygic-geotab-utils && npm link
cd ~/mygeotab-sygic-page && npm link sygic-geotab-utils
cd ~/geotabdrive-sygic-addin && npm link sygic-geotab-utils
cd ~/sygic-geotab-utils && npm run compile
To run locally run following in respective folders:
npm install
npm run serve
If you run into this error:
node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
Try to apply this environment variable:
Windows: $env:NODE_OPTIONS="--openssl-legacy-provider yarn dev"
- To increase solution version go to package.json and increase the version property. This version will be used in all addons in step 2.
- To build for production run following command in root folder. It will run respective build scripts for geotabdrive addins and mygeotab page.
npm run build
- The version from step 1 is updated in all addons' respective package.json files. geotabdrive-sygic-addin/package.json, mygeotab-sygic-page/package.json, geotabdrive-start-sygic-addin/package.json
- Build script from step 3 will create two files:
- a combined config dist/latest/truck-settings-config.json for geotabdrive and mygeotab addins.
- single config dist/latest/start-sygic-config.json for Start Sygic Truck geotab drive button addin.
- tagged release config versions in dist/1.2.3/start-sygic-config.json and dist/1.2.3/truck-settings-config.json
- Push to github. Create a release on github with specified version tag (e.g. 1.2.3).
- Files from step 4. point iii. should be used when installing addon to my.geotab.com. We recommend to use concrete version (e.g. 1.2.3) configuration instead of relying on latest.
- You need to have an account at the testing server https://my1291.geotab.com/
- Login with your username + password and use sygic_test DB when prompted.
https://geotab.github.io/sdk/software/guides/developing-addins/
This page allows you to set dimensions of 'Devices' (see here).
To install the page in mygeotab UI use this config.json
This addin allows you to use Sygic Professional Navigation to navigate to assigned 'Routes' of type 'Plan' to your 'Device' in the future (starting from now) (see here)
To install the addin in Geotab Drive APP use this config.json
To view vehicles in the list a user must have "List assets" (securityIdentifier: DeviceList) and "View Add-in data" (securityIdentifier: ViewAddInData) feature access in his security clearance. Without this permissions the addin will display a warning.
To modify vehicle dimensions a user must have "Administer assets" (securityIdentifier: DeviceAdmin) and Manage Add-in data (securityIdentifier: ManageAddInData) feature access in his security clearance. Without this permissions the addin will not allow to change vehicle dimensions.
To view vehicle assigned Route plans in Geotab Drive Sygic Addin a user must have "Trips and activity report" (securityIdentifier: TripsActivityReport) feature access in his security clearance and be an assigned Driver. Without this permission the addin will display a warning."
Contact: [email protected]