kimxogus / react-native-version-check

A version checker for react-native applications
MIT License
722 stars 177 forks source link

How can I listener user has updated new version after checking needUpdated is true #146

Closed vandiepbui closed 2 years ago

vandiepbui commented 3 years ago

I wanna check app update whenever user open app, so I handle that function in index file. However, when needUpdated return true and force user update app, then how can I know user has updated the last version. I try to use AppState but it call every screens. I just want to call once when use open app.

Hope to have any help. Thanks so much!

rf1804 commented 2 years ago

@vandiepbui It is not an issue, look out on google/stackoverflow for the help.