title: what is the difference between AsyncStorage and OnSaveInstanceState android
body: <p>I am looking for a way to save state between screen transitions and i found OnSaveInstanceState using native Android and AsyncStorage using React Native and im generally wondering what the difference is and the pros and cons to both </p>
  
  <p>OnSaveInstanceState-<a href="https://docs.microsoft.com/en-us/dotnet/api/android.app.activity.onsaveinstancestate?view=xamarin-android-sdk-9" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/api/android.app.activity.onsaveinstancestate?view=xamarin-android-sdk-9</a></p>
  
  <p>AsyncStorage-<a href="https://reactnative.dev/docs/asyncstorage" rel="nofollow noreferrer">https://reactnative.dev/docs/asyncstorage</a></p>