posthog-android icon indicating copy to clipboard operation
posthog-android copied to clipboard

chore(java-sdk): refactor core interface to support stateless server-side api

Open havenbarnes opened this issue 10 months ago • 2 comments

:bulb: Motivation and Context

#skip-changelog

This PR is the first of a handful of a refactor to allow the core Kotlin code to support stateless server-side Java applications, eventually adding a new version of the Java SDK into this repo just like https://github.com/PostHog/posthog-js-lite

Note: No functional changes to the Android SDK are expected with these changes

:green_heart: How did you test it?

No new server-side code here, so existing Android tests should suffice for confidence in these changes.

:pencil: Checklist

  • [x] I reviewed the submitted code.
  • [x] I added tests to verify the changes.
  • [x] I updated the docs if needed.
  • [x] No breaking change or entry added to the changelog.

havenbarnes avatar Feb 20 '25 04:02 havenbarnes

since there will be multiple PRs, lets create a new branch? its likely a major bump.

marandaneto avatar Feb 20 '25 09:02 marandaneto

since there will be multiple PRs, lets create a new branch? its likely a major bump.

Good call, will start a chain yes

havenbarnes avatar Feb 20 '25 18:02 havenbarnes

moving to draft since this is outdated

marandaneto avatar Jun 16 '25 08:06 marandaneto

@dustinbyrne can we close this one now?

marandaneto avatar Sep 26 '25 06:09 marandaneto