added iPhone support
alert if the cilentKey is not set