1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-11-01 05:43:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Update PushyOptions strategy to allow null value

This commit is contained in:
sunnylqm
2024-04-02 21:21:15 +08:00
parent 80e0451983
commit de332c1796

View File

@@ -70,7 +70,7 @@ export interface PushyOptions {
server?: PushyServerConfig; server?: PushyServerConfig;
logger?: UpdateEventsLogger; logger?: UpdateEventsLogger;
useAlert?: boolean; useAlert?: boolean;
strategy?: 'onAppStart' | 'onAppResume' | 'both'; strategy?: 'onAppStart' | 'onAppResume' | 'both' | null;
autoMarkSuccess?: boolean; autoMarkSuccess?: boolean;
dismissErrorAfter?: number; dismissErrorAfter?: number;
} }