Coder Social home page Coder Social logo

traccar-manager-ios's Introduction

Overview

Traccar is an open source GPS tracking system. This repository contains Java-based back-end service. It supports more than 200 GPS protocols and more than 2000 models of GPS tracking devices. Traccar can be used with any major SQL database system. It also provides easy to use REST API.

Other parts of Traccar solution include:

There is also a set of mobile apps that you can use for tracking mobile devices:

Features

Some of the available features include:

  • Real-time GPS tracking
  • Driver behaviour monitoring
  • Detailed and summary reports
  • Geofencing functionality
  • Alarms and notifications
  • Account and device management
  • Email and SMS support

Build

Please read build from source documentation on the official website.

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.

traccar-manager-ios's People

Contributors

tananaev 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

traccar-manager-ios's Issues

Can’t log in if another auth layer is used (Cloudflare Access)

Describe the bug
If I enable Cloudflare Access as an additional layer of security on my instance, the app says it can’t connect to the server. Because the app just shows the web interface, I would expect it to show my cloudflare login screen and allow me to log in before displaying the Traccar interface.

To Reproduce
Steps to reproduce the behavior:

  1. Make your instance publicly accessible using Cloudflare DNS
  2. In the cloudflare zero trust panel, set up your subdomain as a self hosted application and set up auth
  3. Open Traccar in a browser. You’ll see the cloudflare login screen first, after which the Traccar login screen will show.

Expected behavior
The app should show the extra login screen, rather than complain that the site doesn’t look like Traccar and refuse to show anything

Smartphone (please complete the following information):

  • Device: iPhone 13
  • OS: iOS 16.5.1

background app stops receiving positions

the problem occurs when the smartphone lost connection will the app is in background, for example you could open the app, put it on the Background and change connection from wifi o 4g wait for a moment an reopen the app from the background, the data won't be fetched until you restart the app. the problem occurs on both iphone and android TRACCAR MANAGER APP

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

Swift Language Version

Showing Recent Issues
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

Show spinner when logging-in

I just tried logging in on a slow cellular connection (normally I am on WiFi, or 3G/4G).

There was a 3-4 second delay between me tapping "Login" and the login occurring.

I think it would be nice if a loading spinner appeared after the user taps "Login", so that it is obvious that something is happening.

Xcode and Swift version

What are the minimun Xcode and Swift versions that can i use to compile the traccar manager ios.

Thank you.

"ERROR" Incorrect email address or password"

If I point safari on my Mac at http://89.242.7.83:8082 it will log in using my email and password without any issues. I have tried Traccar Manager on all of these 4 servers;
http://demo.traccar.org
http://demo2.traccar.org
http://demo3.traccar.org
http://demo4.traccar.org
But each time I get "ERROR" Incorrect email address or password"
I have deleted the app and re installed it between attempts.
Im guessing this is me doing something wrong but I can't work out what?

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

IMG_1303.MOV.mp4

Smartphone (please complete the following information):

  • iPhone 13 Pro
  • IOS 15.2

Additional context

Feature Request for a Locate Button to solve location not updating when ran in background on IOS

To implement a page refresh button on the Modern app under the right hand column of other buttons to update the app with device locations with a title ‘Locate’ or something similar. When the button is pressed it refreshes the page and the up to date locations are now shown. This could resolve the issue of when the app is running in the background and then brought back to foreground the latest locations are not shown. This problem can be reproduced on Traccar Manager by having a connected device online, then putting the app in the background and turning off Wi-Fi to simulate a connection drop. When going back into the App the devices aren’t updated with current data ie ignition/positions ect. until force closing the app and re-loading.

Default Map Center on Login

When logging in or opening the application again it would be nice to have the default map action be to auto center on devices.

Search for a devices

Currently there is no way to search for a device. I propose adding a search field to the top of the devices list view.

When the user enters text in this field, the devices list would filter to display only the devices with names matching the search query.

This would allow the user to quickly find a device, but would only be useful for users with more than around 8-10 devices in the list.

Show device location history

Currently there is no way to show the location history for a device.

I would like to be able to see the track that the device has taken over some time period (for example, the last hour, last 12 hours, current day, ...).

I propose adding the option to view location history for a device, as a track on a map. Initially, to keep the UI simple, I would suggest that the user drills down into a device, then selects a predefined time period from a "History" list. A map view with the location history of the device is then shown.

App logs out and gives error after interfal. Invalid signature - SecurityException (CryptoManager:76 < TokenManager:77 < LoginService:65 < ...)

Describe the bug
On all IOS devices we use Traccar Manager app on Traccar logs out and gives this error: Invalid signature - SecurityException (CryptoManager:76 < TokenManager:77 < LoginService:65 < ...) Then I need to log in again and after sometime or server reboot te error comes back. Nothing in the logs to trace.

To Reproduce
Steps to reproduce the behavior:

  1. Open Traccar Manager on Iphone
  2. Look at screen
  3. See error

Expected behavior
Dont log out and dont give error, or give clear discription of error reason.

Screenshots
If applicable, add screenshots to help explain your problem.
Traccar error

Smartphone (please complete the following information):

  • Device: Iphone 13 Pro
  • OS: IOS 17.3
  • Traccar Server 5.12

Add map to device info view

Currently, I have to zoom to all devices on the map, and then tap each pin until I find the device I want, then pinch-to-zoom to that device. This is a bit awkward.

I propose adding a third section at the bottom of the device info section (beneath "Device" and "Position"). This section would be titled "Map" and contain a street map, centered on the device's most recent position.

This view would be useful for me to quickly find a device on the map.

Problem when i try to create an ipa archive

Hi, when i try to create an ipa file i get this message:

The selected team does not have a program membership that is eligible for this feature. If you need assistance, please contact Apple Developer Program Support. https://developer.apple.com/support
No profiles for 'org.traccar.TraccarManager' were found: Xcode couldn't find a provisioning profile matching 'org.traccar.TraccarManager'.

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.

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.

View device info after tapping on device map pin

At the moment:

  • When you tap a device map pin a callout appears showing the device name and address (if available).
  • You can only view device info by tapping "Devices", then tapping the device name in the list.

I propose adding an info button on the right-hand side of the callout, that when tapped would show the device info screen. This behaviour would be similar to the Apple Maps app, where you tap a pin, then tap the info button in the callout to view a detail information screen about the location.

Add login functionality

The app should allow users to login with their email address and password to a Traccar server. It would be great if the server URL was customisable.

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

[Future request] Android/iOS manager app multiple server support

Hello Anton,

We really love Traccar, so much that we have multiple servers running.
Is it possible to add the option to switch between servers in the Android and iOS app?

The only way to switch at the moment is to uninstall and install the app.

Best regards,
Sam

Save password

On the login screen it would be nice to have a checkbox to allow users to save their passwords.

Push notifications

Hi. I see this thread -> #32
I followed this tutorial and even then I don't get notifications. Perfectly added the GoogleService-Info.plist but they don't come. Does APNS have anything to do with it?

Change map type

I'd like to be able to change the map type -- from satellite, satellite and street, and street map types.

Build Issue from GoogleDataTransport

When I build the project, I keep receiving errors from GoogleDataTransport. I am using El Capitan with Xcode 8.2 and Swift 3.0. Does anyone have experienced this before or have a solution? Thanks in advance.

Screen Shot 2019-10-16 at 3 58 11 PM

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.

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.

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.

Push Notification

Hi Anton, How are you?
I really liked the Traccar manager apps (IOS & Android) for mobile, you did a great job.
Are you planning to add Push Notification support for the Alarms?

Thanks
Erez

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

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

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.