Commit graph

9 commits

Author SHA1 Message Date
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
8d15f6704c Add license to README.md 2022-11-01 07:14:15 -06:00
102404f49a Configure Maven Central publishing 2022-11-01 07:12:43 -06:00
7a868e8cec Add license 2022-11-01 05:58:12 -06:00
549c7eceff Initial commit 2022-10-29 21:49:40 -06:00