Commit Graph

380 Commits

Author SHA1 Message Date
geeksville
b194659e8a Fix autobug: some BLE implementations might not be completed
with service enumeration by the time they call the discover services
callback.  Therefore be careful to not touch "service" until after
the 500ms delay everyone on stackoverflow says these buggy drivers need.
2020-04-22 07:25:07 -07:00
geeksville
a201de649c 0.5.2 a better fix for the messages send startup condition 2020-04-21 20:59:28 -07:00
geeksville
5abb56ec3f a better fix for the problem of sending messages while device is asleep
Better just to Observe myId and wait for it to be !null
2020-04-21 20:48:44 -07:00
geeksville
1558675cc7 0.5.1 fix a crash when sending messages when app hasn't yet connected to the device
during this boot of android.

Thanks to @b3hr3ns  for the report
2020-04-21 20:39:35 -07:00
geeksville
2dd37e791d don't let users try to send texts if we haven't received our node ID
I wanted an and not an or ;-)

Based on the autobug and the great report inhttps://github.com/meshtastic/Meshtastic-esp32/issues/102

I think this should fix the crash described in the messages screen.
2020-04-21 20:29:34 -07:00
geeksville
322db5ac25 add more Italian from @ohcdh 2020-04-21 15:41:49 -07:00
geeksville
35c745d93f track total time connected to mesh 2020-04-21 14:46:52 -07:00
geeksville
d4de805813 turn off all analytics by default 2020-04-21 08:58:20 -07:00
geeksville
f6604c4043 0.5.0 2020-04-21 08:47:26 -07:00
geeksville
d51d32c2f3 group autobugs by anonymous user 2020-04-21 08:31:28 -07:00
geeksville
671bafa05f don't leak macaddrs into logs - could be possibly personally identifying 2020-04-21 08:21:42 -07:00
geeksville
c00ca9b3db move notify later, to see if the autobug is _all_ BLE transactions or just notfiies 2020-04-21 07:57:07 -07:00
geeksville
99b66b3396 0.4.9 make app not crash when people try to run this on an emulator ;-) 2020-04-20 21:06:58 -07:00
geeksville
bfff5f6215 fix autobug that occurs if the service gets destroyed immediately after creation 2020-04-20 20:44:21 -07:00
geeksville
40952dc3dd 0.4.8 2020-04-20 15:45:35 -07:00
geeksville
17f6fd9078 Irish additions from @ohcdh 2020-04-20 15:45:29 -07:00
geeksville
47ba4f0243 oops I broke from scratch installs - seen on a Z2 Pro 2020-04-20 15:38:53 -07:00
geeksville
77b19e0513 0.4.7 2020-04-20 11:12:10 -07:00
geeksville
8bf60c7603 make BLE exceptions strongly typed, so I can trigger closing down connections if needed 2020-04-20 11:10:53 -07:00
geeksville
0919bc75ef only ignore connect failures if autoconnect is on 2020-04-20 11:01:27 -07:00
geeksville
5cd45ee7b6 0.4.6 2020-04-20 10:44:11 -07:00
geeksville
2a52b707ee fix autobug: some phones call gatt connected but with an error status code 2020-04-20 10:37:46 -07:00
geeksville
428ea596b0 fix autobug: exceptions become RemoteException when crossing service boundary 2020-04-20 10:15:43 -07:00
geeksville
9b57d60432 add note about an unsolved autobug 2020-04-20 10:15:22 -07:00
geeksville
34aa4cde05 if bluetooth was disabled when we started, reattempt device connect later 2020-04-20 09:56:38 -07:00
geeksville
25740c4fe4 don't leak user name in logs 2020-04-20 08:48:42 -07:00
geeksville
e142637993 add translation updates by @eriktheV-king. 2020-04-20 08:34:30 -07:00
geeksville
8c2d046255 properly show 'disconnected' while changing between radios 2020-04-20 08:27:08 -07:00
geeksville
848fcbe53b Fix #16: Show currently selected radio even if it is sleeping 2020-04-20 08:12:51 -07:00
geeksville
62a64dd782 new cleaner approach of not whacking services seems to aprox work 2020-04-20 07:46:06 -07:00
geeksville
dabda9d29e manually specify okhttp3 version - use something newer with less api warnings 2020-04-19 20:34:45 -07:00
geeksville
cde3f2dec2 WIP - doesn't yet build, but changing to set the device addresses the correct way 2020-04-19 20:06:11 -07:00
geeksville
513f56f88f 0.4.5 some old phones complain about permissions they don't understand 2020-04-19 20:03:38 -07:00
geeksville
3380cb0b8a 0.4.4 2020-04-19 19:35:57 -07:00
geeksville
1e47895904 fix a couple of old/rare autobugs 2020-04-19 18:12:11 -07:00
geeksville
39eb6664da we now save node & msg db across service invocations 2020-04-19 17:25:20 -07:00
geeksville
4f24794001 wix warnings 2020-04-19 16:24:47 -07:00
geeksville
fdd3b48364 don't let users try to send texts if we don't have a node id 2020-04-19 12:31:27 -07:00
geeksville
547e59754d Fix #15: we now always get the node db from the service, even if radio
is not currently connected.
2020-04-19 12:15:42 -07:00
geeksville
ca1ada085e use parcelize to eliminate boilerplate code 2020-04-19 12:00:41 -07:00
geeksville
613e4f7ec4 make aidl interface strongly typed 2020-04-19 11:56:06 -07:00
geeksville
5784138c96 Fix #11: we now keep a record of past messages in the persistent service state 2020-04-19 11:47:34 -07:00
geeksville
a10e02ecdf old versions of androids never grant new permissions. Don't warn user about this. 2020-04-19 09:49:43 -07:00
geeksville
6c0e56920d fix part of #11 - show sender name in notification 2020-04-19 09:33:41 -07:00
geeksville
f13c05862d update protos 2020-04-19 09:23:57 -07:00
geeksville
5036cb906b #14: not ready - but I need to do other stuff - so disabling for now 2020-04-18 18:45:50 -07:00
geeksville
b4bf682df0 #14: WIP we now show the new GUI properly 2020-04-18 16:30:30 -07:00
geeksville
840dbd491e #14: WIP split out the bonding code so it can be shared with new impl 2020-04-18 11:45:11 -07:00
geeksville
0a93f37071 Add new Russian strings from @Eugene 2020-04-16 20:39:37 -07:00
geeksville
8dc0430368 mark our URLs as verified android app links, so the user doesn't get prompt to open 2020-04-15 18:39:01 -07:00