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

[Bug]: missing functionality from WebSDK #49

Open
niklaswolf opened this issue Feb 13, 2025 · 2 comments
Open

[Bug]: missing functionality from WebSDK #49

niklaswolf opened this issue Feb 13, 2025 · 2 comments

Comments

@niklaswolf
Copy link

What happened?

The Vue3 integration misses the setLanguage function from the WebSDK (https://documentation.onesignal.com/docs/web-sdk-reference#setlanguage)

What browsers are you seeing the problem on?

Chrome (Chromium)

What operating system are you running?

macOS 14.6.1

Steps to reproduce?

const OneSignal = useOneSignal();
// not defined
OneSignal.User.setLanguage('de')

What did you expect to happen?

Method from the WEB-SDK should also be supported in the Vue integration

Relevant log output

@sherwinski
Copy link
Contributor

Hi @niklaswolf and thanks for reporting this issue. It looks like the User language methods are staged to be merged in https://github.com/OneSignal/onesignal-vue3/pull/47/files. I just need to do a bit of clean up first and then it will be ready to merge.

@niklaswolf niklaswolf changed the title [Bug]: [Bug]: missing functionality from WebSDK Feb 27, 2025
@niklaswolf
Copy link
Author

Hi @sherwinski, alright I see :)
Would be great if this would could be released anytime soon, as this is essentially blocking us from releasing the feature using onesignal

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

2 participants