-
-
Notifications
You must be signed in to change notification settings - Fork 70
feat(posthog): add getSessionId method for iOS and Android #437
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
Conversation
.../main/java/io/capawesome/capacitorjs/plugins/posthog/classes/results/GetSessionIdResult.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing: Please create a changeset by running npm run changeset
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub Actions workflow failed. Please fix the build and format the code (npm run fmt
).
@robingenz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pama-Lee It's still failing:
@capawesome/capacitor-posthog:lint: Checking formatting...
@capawesome/capacitor-posthog:lint: [warn] jsxBracketSameLine is deprecated.
@capawesome/capacitor-posthog:lint: [warn] android/src/main/java/io/capawesome/capacitorjs/plugins/posthog/classes/results/GetSessionIdResult.java
@capawesome/capacitor-posthog:lint: [warn] src/definitions.ts
@capawesome/capacitor-posthog:lint: [warn] Code style issues found in 2 files. Run Prettier with --write to fix.
@Pama-Lee If you are still interested in contributing this feature, please merge the latest changes of |
Change Reasons
This feature adds the ability to retrieve the current PostHog session ID from both iOS and Android platforms. Session ID is crucial for tracking user sessions and connecting events that occur within the same session, allowing developers to implement more advanced analytics and debugging capabilities.
Pull request checklist
Please check if your PR fulfills the following requirements:
npm run changeset
).