mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-07 23:45:13 +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