iOS plugin: implementation updated for the options.