Skip to content
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

Posthog Survey on react native #110

Open
1 of 8 tasks
georgibakken opened this issue Aug 28, 2023 · 15 comments
Open
1 of 8 tasks

Posthog Survey on react native #110

georgibakken opened this issue Aug 28, 2023 · 15 comments
Labels

Comments

@georgibakken
Copy link

georgibakken commented Aug 28, 2023

Hello!

Not sure if this is the correct place to ask, and haven't find anything in the documentation - is Posthog Surveys available for react native ? If it is, how can it be enabled and if it's not, is there any plans of making it?

Thank you!

Meta issue

Related sub-libraries

  • All of them
  • posthog-web
  • posthog-node
  • posthog-react-native
@georgibakken georgibakken added the enhancement New feature or request label Aug 28, 2023
@itsramiel
Copy link

Need this too!

@marandaneto
Copy link
Member

Hi, it's not supported yet for RN, that's correct.

Would you expect the UI (answering UI) implemented by the SDKs as well or just the API to load and send the survey answers back?

Not planned for the next few weeks at least, but we'll keep this issue open to gather interest.

@itsramiel
Copy link

@marandaneto just the API would be sufficient!

@MuhammadAbdullah54321
Copy link

Support for React Native would be much appreciated.

@marandaneto
Copy link
Member

@neilkakkar is there an OpenAPI spec for surveys already or something documented people can look at?

@neilkakkar
Copy link
Contributor

Yep: https://posthog.com/docs/api/surveys

https://posthog.com/docs/surveys/implementing-custom-surveys

and you can check the posthog-js implementation to see how we use the APIs above: https://github.com/PostHog/posthog-js/blob/master/src/posthog-surveys.ts

@marandaneto
Copy link
Member

Thanks @neilkakkar

If anyone reading this would like to contribute and open a PR, happy to guide and review.
It'd be pretty a port with some changes from the JS SDK.

@andrewchester1
Copy link

It would be super cool if the react native SDK could support the Popup UI! Of course the API solution works, but I would presonally prefer the prebuild Popover in react-native over building a custom UI and handling the events myself

@parthegoras-g
Copy link

parthegoras-g commented Jul 13, 2024

Here for this too - any updates on when you expect RN support for Surveys pre-built UI to be live?

@marandaneto
Copy link
Member

Here for this too - any updates on when you expect RN support for Surveys pre-built UI to be live?

We're currently not working or planning to work on this within the next couple of months, but happy to guide PRs in case you would like to lend a hand, happy to guide you.

@satine7
Copy link

satine7 commented Sep 11, 2024

Upvote! Need this, too.

@cyannis
Copy link

cyannis commented Sep 12, 2024

👋 would need it as well :)

@mfrfinbox
Copy link

Would be great to have it for RN

@nixolas1
Copy link

Would be awesome!

@ryanschmidt
Copy link

upvote!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests