adding fallback on ios and unsupported platform