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]: #49

Open
niklaswolf opened this issue Feb 13, 2025 · 1 comment
Open

[Bug]: #49

niklaswolf opened this issue Feb 13, 2025 · 1 comment

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.

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