mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-25 02:28:54 +08:00
Enhance Pushy class to support locale configuration in i18n initialization by adding optional locale property to ClientOptions interface.
This commit is contained in:
@@ -86,6 +86,7 @@ export interface ClientOptions {
|
||||
appKey: string;
|
||||
server?: UpdateServerConfig;
|
||||
logger?: UpdateEventsLogger;
|
||||
locale?: 'zh' | 'en';
|
||||
updateStrategy?:
|
||||
| 'alwaysAlert'
|
||||
| 'alertUpdateAndIgnoreError'
|
||||
|
||||
Reference in New Issue
Block a user