1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 10:01:38 +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;
logger?: UpdateEventsLogger;
useAlert?: boolean;
strategy?: 'onAppStart' | 'onAppResume' | 'both';
strategy?: 'onAppStart' | 'onAppResume' | 'both' | null;
autoMarkSuccess?: boolean;
dismissErrorAfter?: number;
}