2 native mobile questions

1
Hi all,   Thanks for taking the time to read these questions.   I have 2 questions: Is there a way or a function to delete or reset local app data from within the app? Is there a way or a function to retrieve the current installed version of the app from within the app?   Thanks in advance!   Jan-Willem
asked
1 answers
1
  1. Logging a user out deletes Mendix data from the app, so for this you can use the standard Sign Out action. If you’re using Nanoflow Commons actions like “Set storage item string” then you’ll probably also want to delete those. You can use the “Remove storage item” action for each key you save or make a new JS action to call the clear() function.
  2. Yes, there’s a “Get Device Info” action that you can call from a nanoflow and one of the attributes returned is the app version.
answered