Traccar Manager for iOS

Overview

Traccar Manager for iOS

Download on the App Store

Overview

Traccar Manager is a mobile application to manage GPS tracking devices. It requires a Traccar server instance to work.

Build

Project uses CocoaPods for dependencies management. To build the project you need to download dependencies:

pod install

Team

License

Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Comments
  • User login and devices list

    User login and devices list

    This PR contains the following changes:

    • Added a server input field on login screen (looked like there was the makings of a settings button, but I needed to be able to test login and didn't want to go to effort of settings screen)
    • Added a basic User model (singleton, not sure how you feel about that) with properties that mimic the API response
    • Added a Traccar class with a static function that tries to auth against the API
    • Altered the map view so it centers the map on the user's location once they're logged-in
    • Added a Logout button to the map view
    • Shift the controls on the login screen up a bit so they wouldn't be obscured by the keyboard
    • Added CocoaPods for dependency management
    • Implemented text field delegates so you can move between inputs on the login view using only the keyboard
    • Added Traccar logo to launch screen (used to just be plain white screen)

    What's missing:

    ~~- Set up Alamofire to use cookies, so the user info will actually be stored~~ ~~- Change the User logout() function to nuke the cookie jar (and then fix User isAuthenticated)~~

    opened by wpearse 22
  • Add device and positions to app

    Add device and positions to app

    In this PR, new features:

    • Show device info (from map tap "Devices", then a device name)
    • Show devices as pins on the map (polls API only when you open the map screen)
    • "Zoom-to-all" devices, with padding around the edge of map
    • Web sockets to push Position updates to the app
    • Data formatting of latlon (5 dp), speed (1dp) with units, course (compass direction, degrees)

    Known issues:

    • ~~Zoom to all devices doesn't add padding around the edge of the map~~
    • Some device/position info isn't shown (e.g. attributes, is valid, is outdated)
    • ~~If the API is polled while you have a callout visible, the callout is closed~~
    • ~~Web sockets don't work on my Traccar server (503)~~
    opened by wpearse 19
  • Empty screen when starting just released Traccar Manager 2.9 on iOS

    Empty screen when starting just released Traccar Manager 2.9 on iOS

    Describe the bug Just released Traccar Manager shows an empty screen when the app is started.

    To Reproduce Steps to reproduce the behavior:

    1. Install version 2.9 from App Store
    2. Start app
    3. App starts, screen is empty
    4. See error

    Expected behavior The app should show it's usual UI

    Smartphone (please complete the following information):

    • Device: iPhone 12
    • OS: iOS 15.2
    opened by AlphaDE 13
  • Push notifications

    Push notifications

    Hi there!,

    I already downloaded source manager app for ios. Also added GoogleService-Info.plist file to the application. My firebase project server key is already added at conf.xml file in my own server instance.

    When I run from Xcode the application (regardless my own iPhone or emulator) there is not a Modal screen requesting permissions for "allow notifications". Server address screen appears, I type my own server instance domain and everything goes normal so far. Neither a notificationToken is added to my user's attributes.

    Is there something i'm missing here?

    Thanks in advance

    opened by evallgar 6
  • Show device info when you tap callout info button

    Show device info when you tap callout info button

    This PR adds a new "(i)" button on the right-hand side of map pin callouts. When you tap this button it shows you the device info view.

    screen shot 2016-05-17 at 9 46 25 am

    This closes #14

    opened by wpearse 5
  • Update Extensions.swift

    Update Extensions.swift

    The author forget to do lowercase in line 25 This will fix the problem getting "Is Valid" and "Is Outdated" in DeviceInfoViewController.swift

    opened by InNoobWeTrust 3
  • Add login spinner

    Add login spinner

    This PR:

    • Adds login spinner (closes #15). MBProgressHUD is robust and widely used, but unfortunately is ObjC, so requires the addition of a bridging header.
    • Only reconnect web socket on app launch if user is authenticated
    • Waits 10 seconds before reconnecting web socket on failure (prevents crazy fail-reconnect-fail-reconnect-fail... cycle)
    opened by wpearse 3
  • Version 1.0 release

    Version 1.0 release

    I have uploaded version 1.0 to the store. Let's see if Apple approves it. Most likely they will request some more details about the app and how it works.

    I have fixed the issue on iPhone 4S again. Pull the changes from master to sync your fork.

    License headers are added to the source files. If you add any more files, please add similar header.

    @wpearse, thanks for contributing to this project.

    For the next release I want to think about adding more features to the app (to be on par with web interface) and unifying interface as much as possible between web, Android and iOS. If you are interested, I can come up with some wire-frames for the UI.

    opened by tananaev 3
  • App can't get user's location

    App can't get user's location

    Describe the bug The app cannot get the user's location to show it on the map along with tracked devices.

    To Reproduce Steps to reproduce the behavior:

    1. Go to the map in a browser
    2. Click on the location arrow
    3. The user's location is shown on the map
    4. Open the app
    5. Click on the location arrow
    6. The user's location is never shown

    Expected behavior The user's location pointer should be shown on the map, as if it was accessed through a browser.

    Smartphone (please complete the following information):

    • Device: iPhone 13 (had the same issue on my XR)
    • OS: iOS 15.1.1
    • Version 2.7

    Additional context iOS requires the user to approve location permissions. The Traccar Manager app never asks for those permissions.

    opened by jbschooley 2
  • See all devices

    See all devices

    One user reported that he can see all devices even if logged in user doesn't have them. I suspect there is some problem when you login as one user and then re-login as different, you still see devices of the original user.

    opened by tananaev 2
  • When selecting a unit in version 5.0 the unit does not stay in focus when leaving the map.

    When selecting a unit in version 5.0 the unit does not stay in focus when leaving the map.

    In version 5.0 modern interface when a unit is selected from the devices menu - the unit does not continue to track of the unit leaves the map boundaries displayed. Reselecting the unit recenters focus.

    There is no option in either the web interface the mobile to pin a unit for continuous tracking as the unit moves (or i'm unable to locate it).

    opened by timmcmic 1
  • iOS 12.5.5: app shows blank screen in Modern UI

    iOS 12.5.5: app shows blank screen in Modern UI

    Describe the bug On 07.08.22 the Traccar Manager on iOS was switched to Modern UI. I usually used Old UI since I dislike Modern UI and also the App seemed to not work properly in Modern UI. But on that date the App was forcibly switched to Modern UI.

    Then the App's screen became blank & did not react on any taps. I reinstalled the App, logged in. Then see this:

    изображение

    If I press the green button on the left - I see a list of devices. Assume I selected some device. End. I see a blank screen.

    If I unload the App (swipe up from a bottom), then I see a login screen again. Then the same scenario is repeated.

    Smartphone:

    • Device: iPhone 5S
    • OS:12.5.5
    opened by ildar170975 14
  • IOS App with version 5.0 not updating location

    IOS App with version 5.0 not updating location

    Launch IOS App and validate that modern interface is displayed.

    Select a device from the devices menu.

    Compare device on IOS to web interface.

    Vehicle lags several seconds to + minutes behind active tracking on the web interface.

    Vehicle location does not update when reselecting the unit.

    App does eventually refresh but tracking does not appear to be as aggressive as old version.

    opened by timmcmic 22
  • Consider IOS usage scenarios

    Consider IOS usage scenarios

    Upgrade to server 5.0.

    In the traccar manager client under server 5.0 the new modern interface is drawn. When rendering on the screen unit access is not immediately available. To access a unit a user must click the menu, select the unit, then the back arrow. This makes it very hard on a mobile standpoint to scroll through units in an efficient fashion.

    Practical example - we use traccar to follow ambulances across a county. In the pre 5.0 version a table of units was drawn on the screen. This allows a someone operating a supervisors vehicle to very quickly navigate between units and see their location on the map and follow them if it became necessary.

    Suggestions:

    When selecting unit from the menu immediately return to the map. Enable the expanded table as the full web interface has.

    opened by timmcmic 3
  • No Option to Change URL after Installation

    No Option to Change URL after Installation

    Describe the bug I cannot set my own Server URL in the Traccar Manager App

    To Reproduce Steps to reproduce the behavior:

    1. Install App
    2. Hit Start

    Expected behavior URL Prompt after Installation

    Screenshots

    https://user-images.githubusercontent.com/24509725/146763080-65f56e1b-cf30-4c06-bf5a-896be73c8fe5.mp4

    Smartphone (please complete the following information):

    • iPhone 13 Pro
    • IOS 15.2

    Additional context

    opened by fynnsh 3
  • Traccar iOS native is not working getting error like below

    Traccar iOS native is not working getting error like below

    Hello,

    As I have resolved swift dependance issue but once I log in to Traccar ios app it's crash on below code and in a log, I am getting below things

    Crash Link

    https://ibb.co/kMSn1DQ

    Log :

    Tried to set property 'speed' that doesn't exist on the Position model
    Tried to set property 'id' that doesn't exist on the Position model
    Tried to set property 'accuracy' that doesn't exist on the Position model
    Tried to set property 'attributes' that doesn't exist on the Position model
    Tried to set property 'latitude' that doesn't exist on the Position model
    Tried to set property 'course' that doesn't exist on the Position model
    Tried to set property 'network' that doesn't exist on the Position model
    Tried to set property 'address' that doesn't exist on the Position model
    Tried to set property 'longitude' that doesn't exist on the Position model
    Tried to set property 'deviceId' that doesn't exist on the Position model
    Tried to set property 'altitude' that doesn't exist on the Position model
    
    opened by harrypatel07 2
Owner
Traccar
Fleet management and GPS tracking solutions
Traccar
A Location Manager for easily implementing location services & geofencing in iOS. Ready for iOS 11.

A Location Manager for easily implementing location services & geofencing in iOS, written in Objective-C. Ready for iOS 11. Features Get current/conti

Benzamin Basher 108 Jul 9, 2022
The most power-efficient and lightweight iOS location manager for Swift and ObjC

IngeoSDK for iOS Overview IngeoSDK is a power-efficient location manager for iOS (Swift and Objective-C), which extends and improves CoreLocation. It

IngeoSDK 99 Feb 28, 2022
iOS and  Watch app to find city bicycles to rent in your city

Bike-Compass Bike Compass is a full-featured city bicycle finder app for iOS. Using a bike is enjoyable, that is why our app is fast, beautiful, and d

Raul Riera 80 May 18, 2022
Open-source iOS application written to explore Swift in its early days

Cepp iOS application written in Swift. Icon by: Rodrigo Nascimento (tks :D) IMPORTANT: *This project uses CocoaPods as the dependency manager, make su

Filipe Alvarenga 14 Sep 12, 2022
Contains the swift rewrite of Find My Bus NJ iOS App

FIND MY BUS NJ 2 An app for tracking NJ Transit bus times. Dependancies Alamofire SwiftyJSON PKHUD Fabric Getting started Install fastlane and imagema

null 44 Dec 10, 2022
A native iOS client to map the Pokemon around you!

Pokemap client for iOS This is a client for the Pokemap server (https://github.com/RocketMap/RocketMap) iPokeGO is now officially available on the App

Dimitri Dessus 640 Oct 12, 2022
🗺️ MAPS.ME — Offline OpenStreetMap maps for iOS and Android

MAPS.ME MAPS.ME is an open source cross-platform offline maps application, built on top of crowd-sourced OpenStreetMap data. It was publicly released

MAPS.ME 4.5k Dec 23, 2022
iOS app which uses the Moves API to visualize which places you spent the most time at in the last seven days.

Places Places uses the Moves API to visualize which places you spent the most time at in the last seven days. It runs on iOS 7 only and you need to ob

Boris Bügling 43 Feb 9, 2022
Neverlate is a self-improvement iOS app for people who are often late.

Neverlate Team: Ayuna Vogel, Charles Kang, Eric Sze. Neverlate is a self-improvement iOS app for people who are often late. Put money at stake and pic

Ayuna Vogel 28 Nov 1, 2022
🚗 iOS app for finding public parking lots

?? ParkenDD ParkenDD shows you the current parking situation for various European cities, including Dresden, Ingolstadt, Hamburg, Zürich and Aarhus to

Kilian Koeltzsch 49 Feb 9, 2022
iOS client for the Prey anti-theft software.

Here you will find all the source code for the current and in development releases of the Prey client for iOS devices. Prey is the most complete anti-

Prey 255 Dec 14, 2022
Israel's tech jobs, startups, incubators and investors iOS App

Startups | Mapped In Israel Startups is a beautiful way to discover new startups, locate co-working spaces and get funded. Startups lets you: Visualiz

Sugar So Studio 31 Feb 9, 2022
Abandonned project - iOS and watchOS apps to travel with Geneva Public Transports

Presentation tpg offline is an iOS app that allows you to travel in Geneva by bus and tramay without cellular data. This application is available on t

tpg offline 14 Jan 1, 2023
Easily get the device's current location on iOS.

INTULocationManager makes it easy to get the device's current location and is currently heading on iOS. It is an Objective-C library that also works g

Intuit 2.6k Dec 21, 2022
CLI for setting location in the iOS simulator

set-simulator-location This is a simple CLI for easily setting the location of the currently running iOS Simulator. Usage Set a specific latitude and

Mobile Native Foundation 619 Jan 6, 2023
Application that displays current weather at a random location. iOS 14.0 or newer. SwiftUI.

Elseweather App that displays current weather at a random location. Description Elseweather was created as a student/research project with no practica

Ярослав 11 Dec 15, 2022
An iOS app to display quarantine classification information based on users location

ph covid19 Quarantine Classification Automatically check quarantine classification based on your location Tech: MVVM Observer Binding MapKit, CoreLoca

Carlos Rivas 0 Nov 15, 2021
iOS application for getting weather.

WeatherApp ios application for getting weather. The app is getting data from the API: OpenWeather App description The app contains two screens: main s

Kochetkov Anton 0 Nov 18, 2021
An iOS application that uses Geo Locattion to allow students to authenticate their fingerprint in school grounds.

WHUT-GeoLocation An iOS application that uses Geo Locattion to allow students to authenticate their fingerprint in school grounds. Has a form for cont

Emmanuel NicDemai 0 Nov 20, 2021