Added #if UNITY_ANDROID && !UNITY_EDITOR where is was missing, it was needed since the feature is not available on ios