Commit graph

13 commits

Author SHA1 Message Date
92495c06c4
Use Timber instead of Android Log 2023-09-27 10:27:26 -06:00
da795df33e Bump test dependencies 2022-11-16 17:46:45 -07:00
3f3b30f2b4 Move unit tests to JVM with Robolectric 2022-11-16 17:46:19 -07:00
d1b934dea1 Add some tests 2022-11-06 21:40:54 -07:00
0b35ae3030 Delete ExampleInstrumentedTest.kt 2022-11-06 20:56:50 -07:00
c8b9950e98 Make Plausible thread-safe 2022-11-06 20:38:04 -07:00
e2a58c9314 Make Plausible.{client,config} nullable instead of lateinit
Misuse of the API shouldn't cause the app to crash, as analytics aren't an essential function.
2022-11-06 20:32:30 -07:00
76f8f68103 Remove domain and screenWidth from Plausible.event()
These values were coming from the config by default anyways, and they're not likely to be changed between events, so it's probably better to just simplify the API a bit
2022-11-06 20:27:08 -07:00
e09618e6ec Remove ExampleUnitTest.kt 2022-11-06 20:22:18 -07:00
0e0f0c551e Close OkHttp response when finished with it 2022-11-06 20:22:10 -07:00
fc321a1d58 Check whether or not Plausible is enabled before sending events 2022-11-03 09:23:13 -06:00
102404f49a Configure Maven Central publishing 2022-11-01 07:12:43 -06:00
549c7eceff Initial commit 2022-10-29 21:49:40 -06:00