Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

disallowRestart not working #788

@claykohut

Description

@claykohut

Disallow restart doesn't seem to be working for me.

I have installMode set to ON_NEXT_RESUME and am setting disallowRestart in a componentDidMount. The app is logging the disallow restart but still restarts on resume after disallowRestart is called.

Can anyone please help?

Additional Information

  • react-native-code-push version: 1.17.2-beta (same issue with 2.0.1-beta)
  • react-native version: 0.39.0
  • iOS version: 10.3
  • Does this reproduce on a debug build or release build? Both
  • Does this reproduce on a simulator, or only on a physical device? Both

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions