Announcements, Code

Test drive your integration

Developers need to get off their chair and move in the big bad world to test dynamic location applications before releasing it to test users. If you are anything like me, getting off my chair is hard. As we build the plug and play stack for dynamic location, we want to provide developers an environment that easy to test faster and reliably before going live. With this intent, we are announcing our first testing tool, TestDrive. TestDrive is available as an easy download on the App Store and Play Store.

Continue reading

Standard
Code, Design, Technology

Redux in Angular

As we reviewed dashboard V2 while working on V3, state management showed up as the biggest issue. For example on our live page we show the last know location of all the drivers. This UI state would need to refresh based on multiple actions – selecting a fleet, selecting status tabs, selecting a driver or explicitly hitting the refresh button at the bottom of the map. Because the state could be altered by so many events, it became difficult to handle race conditions and edge cases to provide a consistent view. Continue reading

Standard
Code, Technology

Centralized logging at HyperTrack

Distributed computing is hard. Nodes fail, services die and kill off other related services, messages get lost in transit over flaky networks, race conditions lead to incorrect states and so on. It’s a big bad world out there. As developers, we keep our sanity by making sure we are armed with the best tools for monitoring, alerts and logging. At HyperTrack we use a bunch of open source and paid tools to make sure everything is always up. One of those tools is the ELK stack (Elasticsearch-Logstash-Kibana) for logging. Continue reading

Standard
Announcements, Code

HyperTrack docs have moved from Readme.io to GitBook

When I’m working with APIs – be it a machine learning library or a mobile analytics SDK – I look for high quality API docs and active community support. Comprehensive, well-structured, and frequently updated docs are a must-have, and can make or break my integration experience. Our goal at HyperTrack is to build a solid set of docs and support channels that make it easier for developers to use our product.

The early versions of the docs evolved closely with the core APIs. While they were good for reference, new users found them difficult to use. We revamped our docs to simplify the content structure and improve accessibility. The new docs are designed to be a healthy mix of easy introduction to get started, and depth of reference content for existing users. Check them out at docs.hypertrack.com!

Continue reading

Standard
Code, Industry, Technology

Building a Cordova plugin for your native SDK

The HyperTrack SDK powers location features, like live tracking, real-time delay alerts, and metering distance traveled, in apps all over the world. The SDK is built to collect and transmit a battery-efficient stream of location data. The SDKs for Android and iOS are fully native to access the core platform level location and network APIs.

Our SDK users build their apps on a variety of native and non-native platforms. The need for better location features is not limited to native Android and iOS apps — apps that are built on React Native, Cordova, Ionic, and Xamarin are also starved for better location APIs. Continue reading

Standard
Announcements, Code, React, React Native, Technology

HyperTrack now supports React Native

Over the last few years in the fast evolving Javascript ecosystem, React has emerged as one of the top libraries for building UI. Described as the “View in MVC” , it provides a high-performance way to keep views up-to-date with JavaScript, using its incredibly fast virtual DOM diff algorithm and one way data flows: from owner to child. Since its launch, React has redefined a lot of paradigms  by bringing fresh new take on web development.

Launch of React Native last year brought the power of React to native development, allowing developers to write React Components and generate genuine native interface using JavaScript. Continue reading

Standard
Code, Technology

Scheduling tasks in Android made easy

Over the years, Android has introduced several scheduling APIs for jobs that need to be scheduled outside the scope of an application’s lifecycle. Most of these come along with features that improve battery life & optimise resource utilisation. The choice of one suitable API, the inflexibility of switching between them and the amount of boilerplate code required for setting up makes it difficult to use these APIs. On top of this, API changes with varying Android API versions and most of the APIs not being backward compatible makes scheduling a headache. Continue reading

Standard