Refreshed plugin from github for iOS.