android icon indicating copy to clipboard operation
android copied to clipboard

cmd on Android

Open clevertonh opened this issue 5 years ago • 8 comments

  • App build number: 2.2.0 (22061)
  • Android version: 9 PKQ1.190616.001
  • Device: Xiaomi Redmi Note 8
{
  "_type": "configuration",
  "waypoints": [],
  "_build": 22202,
  "autostartOnBoot": true,
  "cleanSession": false,
  "cmd": true,
  "debugLog": false,
  "deviceId": "000001",
  "dontReuseHttpClient": true,
  "experimentalFeatures": [],
  "fusedRegionDetection": true,
  "geocodeEnabled": true,
  "ignoreInaccurateLocations": 0,
  "ignoreStaleLocations": 0,
  "locatorDisplacement": 50,
  "locatorInterval": 10,
  "locatorPriority": 3,
  "mode": 3,
  "monitoring": 2,
  "moveModeLocatorInterval": 10,
  "notificationEvents": true,
  "notificationHigherPriority": false,
  "notificationLocation": true,
  "opencageApiKey": "",
  "password": "1234",
  "ping": 15,
  "pubExtendedData": true,
  "remoteConfiguration": true,
  "tid": "01",
  "url": "https://localhost/owntracks/pub",
  "username": "000001"
}

Return when sent location:

[
  {
    "acc": 21,
    "alt": 93,
    "batt": 59,
    "conn": "w",
    "device": "000001",
    "lat": -29.508720,
    "lon": -49.096803,
    "tid": "01",
    "topic": "owntracks/000001/00000A",
    "tst": 1609781709,
    "username": "000001",
    "vac": 2,
    "vel": 1,
    "_http": true,
    "_label": "OwnTracks",
    "_type": "location"
  },
  { "_type": "cmd", "action": "action", "content": "test" }
]

Any forecast for the implementation of the commands?

{"_type":"cmd","action":"action","content":"Backend maintenance scheduled for tonight\n\nhttp://support.owntracks.org"}
{"_type":"cmd","action":"action","content":"<a href='http://support.owntracks.org'>Backend Maintenance tonight</a>"}
{"_type":"cmd","action":"action","url":"http://support.owntracks.org"}
{"_type":"cmd","action":"action","notification":"Warning! Battery low"}

clevertonh avatar Jan 04 '21 17:01 clevertonh

cmd with action is currently iOS only, and we’ve no roadmap for implementation on Android.

jpmens avatar Jan 04 '21 18:01 jpmens

Hello @jpmens , at least the notification command, no interest in implementing?

{"_type":"cmd","action":"action","notification":"Warning! Battery low"}

clevertonh avatar Jan 04 '21 18:01 clevertonh

It’s not a question of interest but of time, effort, and priorities. :-)

jpmens avatar Jan 04 '21 18:01 jpmens

Happy to use this issue as a tracking issue.

growse avatar Jan 04 '21 22:01 growse

It’s not a question of interest but of time, effort, and priorities. :-)

I understand @jpmens, if possible, I ask you to add this implementation to the RoadMap. I believe it is important to keep the features equal between the APP on Android and iOS.

clevertonh avatar Jan 05 '21 11:01 clevertonh

It has been marked as enhancement, and this issue will track that progress.

jpmens avatar Jan 05 '21 12:01 jpmens

hi, any update on this feature ?

Koxx3 avatar Dec 29 '21 22:12 Koxx3

It's on the backlog.

growse avatar Dec 29 '21 22:12 growse