Fix bug iOS bug where if the user declines push notifications for the app and GetIdsAvailable is run after the app would freeze.
* Removed dependency on AFNetworking to increase compatibility with other plugins.