title: How to implement Android playstore in-app update with react-native
body: <p><a href="https://i.stack.imgur.com/eF05z.png" rel="noreferrer"><img src="https://i.stack.imgur.com/eF05z.png" alt="immediate flow of play store in-app updates"></a></p>
  
  <p>How can I implement play store in-app update with my react-native app, which is already live on play store?</p>
  
  <p>I have already implemented code push and also internal version check via API calls to force the user to update the app.</p>
  
  <p>With Codepush: code push only works for javascript changes. However, there are many scenarios where we will need the whole app to be updated when there is a native code change.</p>
  
  <p>With API check: We need to watch when the update is getting live, and update the version number kept in the backend to force the user to update the app.</p>
  
  <p>Though both these solutions are kind of patchy, I would like to implement the elegant approach of the play-store in-app update, but couldn't find a clue on how to get it done.</p>