Commit graph

265 commits

Author SHA1 Message Date
13bfe236a3
Convert .gradle files to gradle.kts 2023-01-29 20:41:15 -07:00
b9bc147bde
Bump dependency versions 2023-01-29 20:10:53 -07:00
c54f6c00ac
Disable Plausible for debug builds 2023-01-27 18:15:01 -07:00
5fe4942d84
Bump AGP 2023-01-27 18:13:53 -07:00
b8bbd267c7 Track app build info in plausible 2022-11-03 09:15:52 -06:00
e2aca68ed5
Update README.md 2022-11-03 08:58:49 -06:00
a296e98cde
Update README.md 2022-11-03 08:41:31 -06:00
c701e4db2c Update README 2022-11-03 08:35:47 -06:00
2e4787fd93 Fix CI (maybe for real this time) 2022-11-03 07:20:41 -06:00
dce178580a Only test play builds 2022-11-03 07:14:19 -06:00
8a3a6a30ba Fix CI builds 2022-11-03 07:10:51 -06:00
40e8326d14 Drop Samsung builds
I haven't updated the app in the Galaxy store for years anyways, and it probably doesn't have any active users.
2022-11-03 07:06:09 -06:00
b231a56c9a Fix tests 2022-11-03 06:57:18 -06:00
47dd47aa7e Use snapshot release of plausible-android 2022-11-03 06:10:54 -06:00
5af4d2028f Replace Firebase analytics with Plausible 2022-10-29 22:03:39 -06:00
33574ce5f5 Fix GitHub Actions workflow 2022-10-29 21:41:16 -06:00
6ac4c94937 Bump version for release 2022-10-23 23:48:54 -06:00
d0c61bea52 Update dependencies and target sdk 2022-10-23 23:45:28 -06:00
3108114b60 Improve analytics
- Automatic page view tracking wasn't helpful since it was based on the Activities viewed, and SimpleMarkdown is a single-Activity app, so page views are now tracked manually
- User preferences are now reported so I can remove preferences that aren't used and focus my time on features that are actively used
- Opting out of crash reports is no longer possible. I need crash reports to be able to improve the app. It would also simplify the code a bit to not need to take that into account. Existing opt-outs will be respected but moving forward, new users will need to download the app from Fdroid if they'd like to avoid interactions with Google.
2022-10-23 23:44:02 -06:00
c315439763 Update dependencies 2021-06-27 19:35:51 -06:00
c090076901 Add note about INTERNET permission justification for F-droid description 2021-06-27 10:46:27 -06:00
17d1bd28c5 Remove Billing permission from free variant 2021-06-27 10:46:27 -06:00
Poussinou
c9e40d19cb Update README.md 2021-04-15 08:30:01 -07:00
fffafaa33b Add fastlane metadata
Signed-off-by: William Brawner <me@wbrawner.com>
2021-03-14 11:27:35 -07:00
89d957c2d0 Bump version for release
Nothing new here, just a minor fix for F-Droid
2021-03-12 15:53:00 -07:00
94cdb70da7 Fix free flavor builds 2021-03-12 15:53:00 -07:00
62720ddd05 Bump version for release 2021-03-12 15:42:51 -07:00
50d7622172 Consolidate autosave URI persistence management 2021-02-21 18:32:53 -07:00
1522806e62 Prevent save/discard dialog from appearing when file contents haven't changed after loading 2021-02-21 17:57:41 -07:00
c2be2274e8 Prevent autosave when manual save is in progress 2021-02-21 17:56:53 -07:00
260c49d8d5 Fix PersistentTree logging to append 2021-02-21 17:29:02 -07:00
31e81f31b4 Fix URI logging in ViewModel 2021-02-21 17:14:02 -07:00
14dc55433a Use Timber for logging 2021-02-21 14:18:37 -07:00
96e7b7c6b3 Fix potential memory leak in ReviewHelper
There was a static reference to the currentActivity that was unnecessary
2021-02-21 14:18:36 -07:00
eb756e8525 Remove manual CoroutineScope implementations 2021-02-21 14:18:36 -07:00
7bf4bef8a2
Update Android CI badge link in README 2021-02-20 22:42:30 -07:00
3bf5862a13
Update badge in README
It now uses the GitHub actions badge instead of the old GitLab one
2021-02-20 22:36:43 -07:00
b056e779e0 Grant WRITE_EXTERNAL_STORAGE permission for UI tests
The absence of this was causing the tests to fail on Firebase.
2021-02-20 22:23:58 -07:00
67bf1626a0 Run UI tests on API 29
For some reason running the tests on API 30 fails with the below exception. Interestingly enough the tests run just fine on my local API 30 emulator.

java.lang.RuntimeException: Exception thrown in onCreate() of ComponentInfo{com.wbrawner.simplemarkdown.test/androidx.test.runner.AndroidJUnitRunner}: java.lang.IllegalStateException: Cannot connect to androidx.test.orchestrator.OrchestratorService
     FATAL EXCEPTION: main
Process: com.wbrawner.simplemarkdown, PID: 21960
java.lang.RuntimeException: Exception thrown in onCreate() of ComponentInfo{com.wbrawner.simplemarkdown.test/androidx.test.runner.AndroidJUnitRunner}: java.lang.IllegalStateException: Cannot connect to androidx.test.orchestrator.OrchestratorService
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6709)
	at android.app.ActivityThread.access$1300(ActivityThread.java:237)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7656)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.IllegalStateException: Cannot connect to androidx.test.orchestrator.OrchestratorService
	at androidx.test.internal.events.client.TestEventServiceConnectionBase.connect(TestEventServiceConnectionBase.java:91)
	at androidx.test.internal.events.client.TestEventClient.connect(TestEventClient.java:125)
	at androidx.test.runner.AndroidJUnitRunner.isOrchestratorServiceProvided(AndroidJUnitRunner.java:347)
	at androidx.test.runner.AndroidJUnitRunner.onCreate(AndroidJUnitRunner.java:319)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6704)
	... 8 more
2021-02-20 22:01:43 -07:00
2b6d3ce2bc Fix flank auth in GitHub workflow 2021-02-20 21:39:36 -07:00
a5e002f61c Fix flank auth in GitHub workflow 2021-02-20 21:36:07 -07:00
29f26265f8 Fix path for GCLOUD_DIR in GitHub workflow 2021-02-20 21:13:36 -07:00
027ae86953 Add flank/fladle to run UI tests 2021-02-20 21:07:16 -07:00
0028261847 Remove JCenter
JFrog has announced their intentions to remove JCenter so it has to go
2021-02-20 21:07:16 -07:00
e75e0a07d1
Add GitHub workflow to run tests on pushes to main 2021-02-20 21:02:20 -07:00
ed57785d0a Migrate autosave logic to viewmodel and fix failing UI tests 2021-02-20 20:35:28 -07:00
f2ed687b02 Update openApp test to use launch intent programmatically
Trying to go through the launcher was a bit too buggy and flaky. In the end, this should produce basically the same result.
2021-02-20 20:00:08 -07:00
6937cc7406 Bump dependency versions 2021-02-20 19:59:06 -07:00
72c2fb5719 Fix proguard rules for Crashlytics 2020-10-13 19:54:51 -07:00
84db6b3d80 Fix (yet another) potential issue with autosave overwriting files 2020-10-08 09:20:57 -07:00