react-native-onesignal icon indicating copy to clipboard operation
react-native-onesignal copied to clipboard

[Bug]: promptForPushNotificationsWithUserResponse alert messages language

Open whyamsx opened this issue 2 years ago • 0 comments

What happened?

This messages require translation capability in promptForPushNotificationsWithUserResponse method with true first param I want set another language to this messages, but not have possibility

Steps to reproduce?

1. Use OneSignal.promptForPushNotificationsWithUserResponse(true) method with the first parameter true.
2. Look at the Alert by switching different languages on the device or through OneSignal.setLanguage(...), the language will be the same

What did you expect to happen?

Some additional parameter for options, with the ability to set translation for these messages, or so that setLanguage method already provides me with translation into the available languages

React Native OneSignal SDK version

4.8.5

Which platform(s) are affected?

  • [ ] iOS
  • [X] Android

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

whyamsx avatar Sep 20 '23 13:09 whyamsx