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