You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing issues with customizing notification prompts based on user language preference in the React Native OneSignal library (Version 5.0.4).
Issues
Below are the details of the problem:
I am looking for guidance on how to customize the notification prompt. I have explored the official documentation, but I couldn't find specific details for React Native.
I want to set the prompt languages based on the user's preference. It seems that the functionality I require is available for the web (referencing: OneSignal Prompt Localization).
Screenshots:
The language based on the user's device is not being set for iOS and Android notification prompts.
iOS
Android
How to solve it?
I understand that in-app messaging is recommended for customization. However, I would like to know if it's possible to use this approach without disabling the auto prompts.
I attempted to use React Native permissions for requesting customized localized permission prompts. While this approach works well, I am unable to disable the auto prompt of OneSignal.
Is there an alternative method for customization?
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Hi @sandipshiwakoti thank you for your patience! The prompts from your screenshots are the device's native prompt, which will display in whatever language is set for the device natively. OneSignal can only customize the in-app soft prompt.
Please let us know if you have any additional questions or concerns!
How can we help?
I am experiencing issues with customizing notification prompts based on user language preference in the React Native OneSignal library (Version 5.0.4).
Issues
Below are the details of the problem:
Screenshots:
How to solve it?
I understand that in-app messaging is recommended for customization. However, I would like to know if it's possible to use this approach without disabling the auto prompts.
I attempted to use React Native permissions for requesting customized localized permission prompts. While this approach works well, I am unable to disable the auto prompt of OneSignal.
Is there an alternative method for customization?
Code of Conduct
The text was updated successfully, but these errors were encountered: