mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-02 22:33:11 +08:00
Update client.ts
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
|||||||
packageVersion,
|
packageVersion,
|
||||||
rolledBackVersion,
|
rolledBackVersion,
|
||||||
setLocalHashInfo,
|
setLocalHashInfo,
|
||||||
|
isFirstTime,
|
||||||
isRolledBack,
|
isRolledBack,
|
||||||
} from './core';
|
} from './core';
|
||||||
|
|
||||||
@@ -118,7 +119,7 @@ export class Pushy {
|
|||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
markSuccess = () => {
|
markSuccess = () => {
|
||||||
if (this.marked || __DEV__) {
|
if (this.marked || __DEV__ || !isFirstTime) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.marked = true;
|
this.marked = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user