Eric
98b1567a87
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 8.6% (77 of 887 strings)
2022-09-17 13:21:31 +02:00
Eric House
e55212df9f
improve new game creation
...
There was some confusion around host and self addresses, where they're
created, default values, removing conTypes from defaults that are not
in received host addr, etc. I left in some asserts to help understand
if code that seems wrong but hard to fix is still getting called.
2022-09-14 21:37:44 -07:00
Eric House
11c2cca9b0
fix failure to launch url intent on Android 12
2022-09-13 18:15:12 -07:00
Eric House
b4a0616dfc
fix so wordlist upgrades work again
...
Not sure when this broke...
2022-09-11 21:19:53 -07:00
Eric House
674c811a09
pass addresses to game on creation
...
Current networking, based on invitations rather than a relay that
plays matchmaker, allows host to know its address when a game is
created, and for guest to know its host's address in
addition. Enforcing this makes inviting and rematching in common
code (coming soon) easier. Big change on Android is I used to create a
new game prior to passing it to GameConfigDelegate, but now I have to
wait for user to configure (including choosing how to communicate)
before I can create it.
2022-09-06 18:21:53 -07:00
Eric House
ca2d97e647
add fields missing from missing from copy constructor
2022-09-06 11:40:09 -07:00
ssantos
be4c199203
Translated using Weblate (Portuguese)
...
Currently translated at 98.0% (870 of 887 strings)
2022-09-02 22:16:47 +02:00
ssantos
894fe674cd
Translated using Weblate (German)
...
Currently translated at 92.1% (817 of 887 strings)
2022-09-01 14:22:50 +02:00
Eric House
3c9626c5ba
always include ISO, even if including old langCode
2022-08-25 11:20:26 -07:00
Hugel
b54065d416
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 7.5% (67 of 887 strings)
2022-08-25 18:19:43 +02:00
Eric House
baed9b16e5
back to android 30 for the time being
...
I'm going to make the 31 permission changes on a separate branch
2022-08-23 10:31:59 -07:00
Eric House
63a80b3726
Merge branch 'fixing-190' into android_branch
2022-08-22 11:51:40 -07:00
Eric House
dbe7ab5ae1
up release and changelog
2022-08-22 11:27:34 -07:00
Eric House
b93a9202e7
minimal changes for crash-fix release
...
* Unsubscribe all topics, not just one
* Use English when language not available to avoid NPE
* Use the same androidx component as everywhere else
2022-08-22 09:19:09 -07:00
Eric House
ccff0bd15e
more fixes for Android 31
...
FLAG_IMMUTABLE and android:exported="true"
2022-08-20 12:33:48 -07:00
Eric House
8dac8910ae
changelog and version strings
2022-08-20 12:14:22 -07:00
Eric House
653310ce2a
fix manifest to work for Android 31 and above
2022-08-20 12:14:18 -07:00
Eric House
bab96c4528
work around NPE by defaulting to English
...
Somehow getLangIsoCode() is returning null when called early in app
launch, on some subset of devices the Play Store isn't
identifying. I'm just going to default to "en" when that happens.
2022-08-20 10:10:41 -07:00
Eric House
4ab88eb572
revert test for connectedness in mqtt shutdown
...
An assertion's firing indicating I don't understand what's going
on. Let's study some more first.
2022-08-20 09:55:59 -07:00
Eric House
d0b180a41d
use androidX.preference.PreferenceManager everywhere
...
I'd left one file out when converting
2022-08-20 09:16:33 -07:00
Eric House
2638533e6f
turn net state listening back on for MQTT
...
I'd removed it when the relay went away, but MQTT apparently doesn't
listen for network changes on its own and so there was no attempt to
resend messages when the device regained connectivity. Now there
is. Old logic to avoid thrashing remains and is not tested with MQTT
-- shouldn't need to be....
2022-08-14 11:38:42 -07:00
Eric House
e46fd52e00
remove assert that's firing and so obscuring logging of cause
2022-08-14 10:14:11 -07:00
Eric House
29a6ededda
fix topic; don't try to unsubscribe or disconnect if not connected
2022-08-13 12:26:25 -07:00
Eric House
e05a18bdbb
up target sdk to 31
...
Looks like that'll be required soon
2022-08-11 10:40:18 -07:00
Eric House
12511755a8
require --variant parameter
2022-08-10 18:18:08 -07:00
Eric House
0e9235dcd0
up version code
2022-08-10 12:13:50 -07:00
Eric House
52c7ced4aa
changelog
2022-08-10 12:13:50 -07:00
Eric House
2a13229a40
revert MQTT disconnect changes
...
They seem to be causing problems and need to be part of a later
release with more testing.
2022-08-09 21:16:16 -07:00
Eric House
0497a456e7
cleanup
2022-08-09 22:39:41 -05:00
Wellington Terumi Uemura
518fcc4a70
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (887 of 887 strings)
2022-08-10 04:18:54 +02:00
Eric House
736dc2039c
tweak explanations for new game-over dialog checkboxes
2022-08-07 20:24:24 -07:00
Eric House
896e86fd28
Fix NPE most likely due to empty getLanguage() result
2022-08-07 19:28:12 -07:00
Eric House
97f280a6ea
don't shut down MQTT levels we didn't reach
...
This is a shot-in-the-dark at internal MQTT crashes being reported
through the Play Store.
2022-08-06 20:52:50 -07:00
Eric House
37b5f80e05
Use Object... in a few more methods
2022-08-06 11:07:28 -07:00
Eric House
47abbf39be
Use Object... in place of Object[] everywhere for consistency
2022-08-06 11:07:20 -07:00
Eric House
6397f3f27c
Fix game-over alert to allow deletion
...
Add checkboxes to allow delete or archive action to be scheduled for
after a rematch is done. The UI's a bit awkward. NA tips help,
but it may be possible to make it easier to understand.
2022-08-06 11:07:15 -07:00
Eric House
11ea30c882
make alert builders take varargs to simplify calling
...
Required making the string res id the last arg rather than first,
but let me clean up a bunch of code. Should be no behavior change
at all.
2022-08-06 06:49:06 -07:00
Anupam Malhotra
345f104505
Translated using Weblate (Spanish)
...
Currently translated at 18.6% (165 of 884 strings)
2022-08-03 18:14:54 +02:00
Eric House
e6d516ca1d
remove assertion firing in dup mode
...
The assertion's clearly blocking testing, but I'm not sure it's not an
error for two move explanations to want to co-exist. For now they're
concatenated.
2022-08-01 13:05:19 -07:00
Eric House
76f943de36
update changelog
2022-07-28 18:04:46 -07:00
Laura Vasconcelos Pereira Felippe
de6b1a3560
Translated using Weblate (Portuguese)
...
Currently translated at 93.6% (828 of 884 strings)
2022-07-26 16:23:12 +02:00
ssantos
bcb3f91f0d
Translated using Weblate (German)
...
Currently translated at 86.3% (763 of 884 strings)
2022-07-20 19:19:39 +02:00
Eric House
27d5127f12
cleanup
2022-07-16 15:39:32 -07:00
Wellington Terumi Uemura
68e3a3337d
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (884 of 884 strings)
2022-07-14 06:16:28 +02:00
joe
bb6b102c85
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 6.3% (56 of 884 strings)
2022-07-14 06:16:27 +02:00
Hosted Weblate
f30ebdee54
Merge branch 'origin/android_branch' into Weblate.
2022-07-12 23:36:24 +02:00
Wellington Terumi Uemura
05a6cc16fe
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (881 of 881 strings)
2022-07-12 23:36:24 +02:00
Eric House
e9f95180e5
add debug-only menu in place of always showing net status
...
I want to add a relay2 API that'll tell how long it's been since peer
connected etc. First will show it in debug-only builds via this menu.
2022-07-12 14:35:59 -07:00
Eric House
ac7e918718
Rewrite to actually cache lang names and codes we encounter
2022-07-11 17:47:57 -07:00
Eric House
041a9f3c3e
change button to "Delete Game" for clarity
2022-07-11 17:47:57 -07:00