Restriced API to 'ios' and 'android'.