added ios prestitial functionality
added prestitial functionality to Android
fixed merge conflicts