Update InAppAPHelper.m

some code removed for security reasons