Eric House
7e570cff2c
use make to avoid reprocessing res_src strings.xml files
...
They never change, so use make's understanding of dependencies.
2020-01-13 12:10:40 -08:00
Eric House
a9a5cc14ca
up strings for new release
2020-01-10 13:47:53 -08:00
Eric House
864648c5b9
up changes for new release
2019-12-30 22:15:51 -08:00
Eric House
8b06cde971
up strings for new release and cleanup
2019-12-28 08:35:49 -08:00
Eric House
0153928bcd
support sending invites and moves via NFC
...
Use low-level NFC, a combination of emulated card and reader mode, to
work around Google's removal of "beaming" support from Android 10. App
emulates a card by declaring support in its AndroidManifest. When a game
is open that has data to send, it goes periodically into read mode. If
two devices are touched while one is in read mode and the other isn't,
they handshake and open a connection that should last until they're
separated. The devices loop, sending messages back and forth with or
without data (as available.)
2019-12-23 08:45:55 -08:00
Eric House
c7ebe6e80e
add debug-only pending-msg count to connstatus display
...
I'm bringing this in from another branch because it'll be useful for
debugging bluetooth problems.
2019-12-10 14:42:54 -08:00
Eric House
d2871c92ba
move compile-time constant into gradle file
2019-12-03 10:52:56 -08:00
Eric House
2d81135487
set dbname in build.gradle
2019-11-30 19:49:29 -08:00
Eric House
8d1065ea75
up strings for new release
2019-11-27 07:32:49 -08:00
Eric House
7eaa466f78
add ability to send moves via NFC
...
You can now play an entire game via NFC. There's no UI though: big
question is how to make the feature "discoverable."
2019-11-23 10:53:51 -08:00
Eric House
06b6afe612
use sdk 28 for real
...
requires dropping junit Assert and accessing an old Canvas method via reflection.
2019-10-22 13:40:17 +02:00
Eric House
dccd582009
up API version to 28 (required soon)
2019-08-27 19:36:38 +03:00
Eric House
a872e7b7be
remove x86 from release builds
...
I either remove it or add the 64-bit abi. Since it's only there to run
in the emulator let's just leave it in for DEBUG builds. If I need to
run a release build in the emulator I can add it back.
2019-08-27 19:33:40 +03:00
Eric House
fa889262f6
change version strings and update changelog
2019-08-24 17:12:12 +03:00
Eric House
93dd92c027
up strings for new release
2019-06-13 20:53:11 -07:00
Eric House
43c349cb2c
make fdroid's flag explicit for variant
2019-06-13 20:52:45 -07:00
Eric House
4919f487eb
up strings for new release
2019-04-25 15:20:21 -07:00
Eric House
7cc4ad6f2a
up strings for release
...
This is just to try yet again to get past the play store console's
past-permissions bug
2019-03-25 15:41:40 -07:00
Eric House
603daa447f
remove separate marking of permissions as banned
...
It's enough to check manifest for their presence
2019-03-22 16:43:18 -07:00
Eric House
e2b7aceea7
Up version code and string to try a new play store release
2019-03-22 13:58:49 -07:00
Eric House
dc5b134708
up version name (but not code)
...
This will NOT be released on Google Play, so no need to up code.
2019-03-22 10:51:07 -07:00
Eric House
83b8169a6b
add useful stuff to build-info.txt inside .apk
2019-03-20 15:47:20 -07:00
Eric House
b5714fadf8
add a bool resource matching BuildConfig.DEBUG
...
I want to be able to have some boolean prefs default based on whether
it's a DEBUG build.
2019-03-20 14:29:37 -07:00
Eric House
1eccbebb95
report inability to get locks in travis debug builds
2019-03-19 09:15:27 -07:00
Eric House
0b0e4af977
up version strings
2019-03-16 21:11:55 -07:00
Eric House
9ae77bce13
use latest nbsplib
2019-03-13 14:38:03 -07:00
Eric House
61395f07e9
use the latest NBSProxy dev release
2019-03-12 07:05:51 -07:00
Eric House
79aab3ead1
override toString() for debugging
2019-03-11 10:46:56 -07:00
Eric House
ab491ebcb4
change name of variant -- it's not the main one anymore
2019-03-10 19:25:57 -07:00
Eric House
21158faa71
up version code to try another gps release
2019-03-09 17:38:18 -08:00
Eric House
5cc57919f5
add new Variant for github & sourceforge releases
...
and log permission check results
2019-03-09 14:07:06 -08:00
Eric House
f934ac3c5c
up version of NBSProxy lib
2019-03-08 20:11:19 -08:00
Eric House
3fd9a066cb
move constant
2019-03-08 11:16:21 -08:00
Eric House
ef27ffaa02
send an int code rather than a name
2019-03-07 06:28:46 -08:00
Eric House
ac8ceec656
removing permissions from the Play Store version
2019-03-06 13:09:42 -08:00
Eric House
6267eb9c4f
use NBSProxy if available
...
Lots of work dealing with banned permissions (SEND_SMS and
RECEIVE_SMS). First, if they're banned and NBSProxy is installed, just
use it as if the permissions had been granted. When it's not there,
explain at various points where users will otherwise be confused: when
they try to invite using data sms, or when they open a game that already
uses it.)
2019-03-06 12:39:08 -08:00
Eric House
5207de564a
Let's test this jitpack stuff on Travis
...
Importing a library but not using it yet
2019-02-26 21:33:39 -08:00
Eric House
92dde5332a
put back the nbs port
2019-02-23 17:32:03 -08:00
Eric House
e1d05207b4
new version code to replace bad upload
2019-02-21 21:33:57 -08:00
Eric House
283bf2e285
remove SMS_BANNED stuff for now
2019-02-21 11:28:13 -08:00
Eric House
7f2e3207be
report stack of lock owner to crashlytics when can't get it
...
I'm seeing something permanently lock a game so it can't be opened. So
add code to report the stack of the owner to Crashlytics when opening
fails 3 times in a row. It's stubbed out for non-debug builds.
2019-02-10 20:02:43 -08:00
Eric House
895b19a097
move constant from XWApp to build.gradle
2019-02-06 10:44:21 -08:00
Eric House
a4152239f6
remove sms permissions from play store variant
...
and from a new debug variant so that can be tested. Add explanation to
be shown users who try to use the now-unavailable features.
2019-01-24 18:45:24 -08:00
Eric House
88a440acc3
add app-side support for firebase messaging
...
Works for xw4d variant only so far -- xw4 builds are broken!!!
2019-01-24 18:20:01 -08:00
Eric House
837ff1f8fc
Give each variant a name, and include in About alert.
...
I modified existing translated strings, adding the new clause. Not doing
that would cause the existing strings to be stripped because they'd no
longer have the matching set of format specifiers.
2019-01-18 16:45:27 -08:00
Eric House
a93b1da6fa
up client version
...
Will allow to distinguish on relay what clients can receive GCM.
2019-01-16 11:14:35 -08:00
Eric House
e61d7a5629
remove GCM -- crashes when invoked from server!
...
Once built for SDK 26 the old GCM support code crashes as it's calling
startService() from background. Duh! Will have to bring in Firebase's
replacement at some point. For now if I'm to release it has to be
without GCM.
2019-01-15 14:18:20 -08:00
Eric House
788113ee28
up versions strings for new release
2019-01-14 13:12:39 -08:00
Eric House
bdbd5bc1ee
disable logging for tagged release builds
2019-01-09 20:00:20 -08:00
Eric House
d257369639
use same invite prefix for all variants
...
I want to be able to invite one app to the other's games to better test
relay. Since I'm the only one using the Dbg variant should be no impact.
2019-01-09 18:25:52 -08:00
Eric House
285f6ad34a
revert diagnostic changes
2018-12-17 12:57:17 -08:00
Eric House
3b48ee0ed8
try a different command
2018-12-16 18:48:06 -08:00
Eric House
a2fe00368e
more diagnosis
2018-12-16 18:11:09 -08:00
Eric House
b88bbcf443
diagnosing travis build problems
2018-12-16 17:53:18 -08:00
Eric House
d31c2f5513
trying another fix for travis
2018-12-16 17:43:12 -08:00
Eric House
8bd4613c2a
include X86 native library again
...
It's a pain to have to change code to run in Genymotion, and to have
upgrade not testable using Genymotion. Consider verting this change
before next release.
2018-12-09 18:26:59 -08:00
Eric House
b2bf3a6e80
move google() above maven (to fix travis?)
2018-11-28 20:38:43 -08:00
Eric House
843c95e7ae
new icon for omnipresent BTService notification
2018-11-27 11:27:18 -08:00
Eric House
0dbc976561
Merge branch 'android_branch' into making-it-work-with-api26
2018-11-24 13:19:34 -08:00
Eric House
6177914213
add lifecycle lib (events only logged only so far)
2018-11-22 08:13:49 -08:00
Eric House
dfcac132c8
up strings for new translations-only release
2018-09-22 14:21:04 -07:00
Eric House
45600a295a
use NotificationChannel to work on O and beyond with SDK 26
...
Notifications don't work on Oreo without this change, which includes a
new Support Library in order to get NotificationChannel and creates and
uses that as docs describe. Requires that MinSDK be raised from 8 to 14,
which may lock some users out. It *should* be possible not to do this in
the fdroid variant since their app store doesn't requires SDK 26, but
I'll look at that later.
2018-09-13 19:49:49 -07:00
Eric House
6f6c3238d4
Merge branch 'android_branch' into making-it-work-with-api26
2018-09-13 14:11:30 -07:00
Eric House
54f3e57f7f
Merge branch 'android_branch' into making-it-work-with-api26
2018-09-13 10:36:26 -07:00
Eric House
02781c5113
use different (older) crashlytics (untested)
...
For some reason my laptop wouldn't build without this change. No idea
what happened to the newer version I was using or if the change
works (beyond compiling). Should be easy to find the change later if
it's a problem.
2018-08-07 08:57:14 -07:00
Eric House
d23307f0ef
up strings for new release
2018-08-02 06:28:09 -07:00
Eric House
6a58a08bca
remove redundant specifier
2018-08-01 07:50:34 -07:00
Eric House
f1c2eb79d4
remove x86 from jni; that chip's dead on Android
2018-08-01 07:37:33 -07:00
Eric House
dfd4a3f6f6
put the api-26 changes back
...
lost in a rebase apparently
2018-07-26 19:16:50 -07:00
Eric House
70b22f7d11
revert to sdk-23
...
Too much breaks with the upgrade and I don't have time to deal.
2018-07-21 21:36:51 -07:00
Eric House
e1ba676a8e
Merge branch 'quick-bt-fix' into android_branch
2018-07-19 07:17:15 -07:00
Eric House
a9701525b7
up version string for new release
2018-07-19 06:47:18 -07:00
Eric House
276ef38108
use sdk26 -- will be required soon anyway
2018-07-15 10:33:09 -07:00
Eric House
af0ddaa0f7
up version code and strings
2018-07-11 06:41:36 -07:00
Eric House
6bab91803d
fix release builds
...
(broken since 091299c
2 months ago)
2018-07-11 06:38:54 -07:00
Eric House
091299c030
upgrade AS and gradle and with luck travis will work
2018-05-06 14:33:10 -07:00
Eric House
681e2cd8a0
up version code and strings
2018-04-18 21:49:04 -07:00
Eric House
a8db820b68
change strings for new release
2018-03-14 20:07:05 -07:00
Eric House
c762b43047
up version strings and changelog
2018-02-06 07:25:07 -08:00
Eric House
efad90dd64
update strings for new release
2018-01-22 08:31:17 -08:00
Eric House
11c3d8fdf6
skip trying UDP after five failures
2017-12-31 10:19:06 -08:00
Eric House
16dc1b15bd
update release strings and changelog
2017-12-18 22:45:45 -08:00
Eric House
8e37551f8a
up changelog for new release
2017-11-27 20:40:16 -08:00
Eric House
455373343a
remove requirement for gcm.jar
...
remove from xw4d version too since it can't work anyway.
2017-11-27 20:40:16 -08:00
Eric House
af81342021
create new fdroid variant
2017-11-27 20:40:06 -08:00
Eric House
b6124ca2d1
change version strings and changelog
2017-11-19 20:10:54 -08:00
Eric House
fd7f564e11
add debug menu to copy git info to clipboard
...
Makes it easier to find out what the diffs were.
2017-09-24 14:40:31 -07:00
Eric House
096aa3bd0f
make GCM_SENDER_ID empty for xw4d variant build
...
This seems to fix that app, when built by me where GCM_SENDER_ID's set
in the environment, being a battery hog. Apparently google's code
doesn't handle being passed the wrong senderID very well.
2017-09-24 14:30:59 -07:00
Eric House
9bdf43a89e
remove duplicated BuildConfig entry
2017-09-22 06:55:02 -07:00
Eric House
5dc9327d31
record current git-diff in assets
2017-09-22 06:46:19 -07:00
Eric House
592a6429d4
up changelog and version strings
2017-09-20 06:40:42 -07:00
Eric House
a328221b63
up version codes for new release
...
I somehow screwed up the last release, but google got the apk so
requires me to change the version number.
2017-09-19 07:46:17 -07:00
Eric House
dc29321b28
change strings for new release
2017-09-13 08:06:08 -07:00
Eric House
f5e66463f9
up release strings for new version
2017-09-03 14:15:43 -07:00
Eric House
58f828c187
up version strings and changelog
2017-08-27 15:49:57 -07:00
Eric House
33f80fbefd
up version strings for new release
2017-08-16 07:34:03 -07:00
Eric House
af48fb850d
update strings for new release
2017-08-13 19:37:29 -07:00
Eric House
ba8a5ceeb6
up version for new release
2017-08-07 21:48:50 -07:00
Eric House
80cc12fc79
up version strings and change list for new release
2017-07-29 20:21:23 -07:00
Eric House
7eb9458a78
get invite-by-relayid working again
...
In Dbg version only (with enabling boolean moved to BuildConfig.)
Currently crashes when first used, and recipient can't always connect to
relay until app rebooted. And of course there are still open questions
like how to populate the list -- how user learns the deviceID of an
opponent.
2017-07-23 16:45:14 -07:00