-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java SDK Update #50
Comments
Sadly not yet since https://github.com/PostHog/posthog-android/tree/main/posthog uses local storage caching which isn't available on non-Android devices. I cannot promise but I'll bring it into our Q2-24 plan, we are focused on making PostHog more mobile-friendly in Q1, stay tuned. I'd be very happy to guide you in case you are willing to contribute and submit a PR though. |
Relates to PostHog/posthog#16419 |
Hey there! Just wondering if there's any updates here? Lack of decent logging controls in posthog-java (#53) has become a problem for us. I'd happily raise the PR to fix this, but the project seems abandoned - wondering what the best path forward is, given plans for a rewrite. |
👋 hey, not abandoned... but not many folks asking us for things :) we still plan to unify things so that android and java sdks are based on the same kotlin core but it's not happened yet |
Thanks @pauldambra If I were to pick up the fix for #53 and add in SLF4J instead of printing to stdout / stderr, would that:
|
I'll let @marandaneto have the final say - he'll have the good feel for length of time until any kotlin switcheroo |
But @martypitt... it's a good 4 years since I regularly wrote java 🙈 if SLF4J is still the default totally happy to consider a PR |
SLF4J is an abstraction of logging in general so it'd work with a few of the most popular ones such as logback, log4j, java logging, etc. |
Yes, the intention is that we stop using this SDK and start using this one instead. |
I see that the V3 of the Android SDK was released back in December. How is the update of this SDK going? Are we able to use this https://github.com/PostHog/posthog-android/tree/main/posthog library without Android? (https://mvnrepository.com/artifact/com.posthog/posthog I believe). If so, can the docs https://posthog.com/docs/libraries/java be updated to reflect the new usage?
The text was updated successfully, but these errors were encountered: