I assume You are upgrading from Android 9 to Android 10. If this is really the case, your application or device won’t crash if the Android 10 is Properly installed.
That reveals one good thing about Stock Android.
If your device is already driven by Stock Android then you don’t need to worry about your application or your device too.
Stock Android, vanilla or pure Android, as most people call it, is the most basic version of the OS designed and developed by Google.
It is not a modified version of Android, meaning that the device manufacturers have installed it as it is. Simply put, it is the base version of the OS used by Android’s owner and primary developer, Google. It is always assumed as the most basic version of Android available, and it represents the base layer of Android, produced with Google’s standard apps,
hence the strong demand for it.