mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-22 15:36:10 +08:00
update example
This commit is contained in:
@@ -33,7 +33,7 @@ export class Pushy {
|
||||
appKey: '',
|
||||
server: defaultServer,
|
||||
autoMarkSuccess: true,
|
||||
updateStrategy: 'alwaysAsk',
|
||||
updateStrategy: 'alwaysAlert',
|
||||
checkStrategy: 'both',
|
||||
logger: noop,
|
||||
debug: false,
|
||||
|
||||
@@ -47,7 +47,7 @@ export const PushyProvider = ({
|
||||
Alert.alert(...args);
|
||||
}
|
||||
},
|
||||
[options],
|
||||
[options.updateStrategy],
|
||||
);
|
||||
|
||||
const switchVersion = useCallback(() => {
|
||||
|
||||
Reference in New Issue
Block a user