added urbanAirshipApiOpt option to get the api object to not crash the app