PostHog / posthog-android

PostHog Android SDK
https://posthog.com/docs/libraries/android
MIT License
43 stars 23 forks source link

chore: create ctor overloads for better Java DX #148

Closed marandaneto closed 4 months ago

marandaneto commented 4 months ago

:bulb: Motivation and Context

https://posthog.com/questions/setup-using-android-java-project

:green_heart: How did you test it?

// PostHogAndroidConfig config = new PostHogAndroidConfig("key"); // PostHogAndroidConfig config = new PostHogAndroidConfig("key", "host"); // PostHogAndroidConfig config = new PostHogAndroidConfig("key", "host", true); ... etc using a Java file

:pencil: Checklist