mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-03 23:03:11 +08:00
improve cleanup and rollout
This commit is contained in:
@@ -166,7 +166,7 @@ export const PushyProvider = ({
|
||||
if (!info) {
|
||||
return;
|
||||
}
|
||||
const rollout = info.config?.rollout;
|
||||
const rollout = info.config?.rollout?.[packageVersion];
|
||||
if (rollout) {
|
||||
if (!isInRollout(rollout)) {
|
||||
log(`not in ${rollout}% rollout, ignored`);
|
||||
|
||||
Reference in New Issue
Block a user