title: How to handle in ionic when the backend is offline?
body: <p>I have an ionic app with angular and a backend with spring boot (rest).</p>
  <p>The app needs the backend for all of its features (login, data fetching, ...) so it can not operate without its backend.</p>
  <p>Now I imagine: The app is live and I have to update the backend for some reason. (scheduled or may be unscheduled (emergency updates)... After updating I would like to test the backend <strong>before</strong> enabling it for the users.
  How can I react to thous situations in ionic? Especially when the backend is available but should not be used until I have verified it.</p>
  <p>I thought about the following solution:
  I place a text file on the marketing-website of the app:
  &quot;live.txt&quot;
  An the content of the file is either &quot;true&quot; or &quot;false&quot;... ;-)
  But is this a good solution?</p>
  <p>How would you solve this?</p>