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

[question]: Will the DefaultApi.beginLiveActivity() function ever align with the REST API? #39

Open
1 task done
edrobotij opened this issue Jan 16, 2025 · 2 comments

Comments

@edrobotij
Copy link

edrobotij commented Jan 16, 2025

How can we help?

Hello, I'm currently working on a feature involving Live Activities with iOS and noticed differences between how this project and the REST API work. I was referring to the Start Live Activity REST API documentation when I noticed them. They are as follows:

  • A push token is required in the Java API, the REST API does not have that requirement.
  • Only one subscription id can be provided with the Java API, the REST API can be provided multiple.
  • The activity type in the request URL sent from the Java API is always token, this can be set to whatever string is needed when using the REST API.
  • The URL used in the Java API differs from the REST API.

I'm currently writing my own wrapper code to get around these differences, but was wondering if the Start Live Activity functionality from the REST API would ever make it's way into this project?

Thanks!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mressler
Copy link

I saw that too. It would be so nice if we didn't have to work around the Java implementation ourselves.

@sherwinski
Copy link
Contributor

Hey @edrobotij and thanks for reporting this! I'm working on touching-up the upstream project which generates the code for this SDK so I will definitely investigate this further. Please bear with me as it may take some time but I hope to have updates for you soon.

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

No branches or pull requests

3 participants