Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: **Problem** Using push notifications in IOS 8 will throw this error: `registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later.` The problem is that the check is running on compile instead of runtime. **Solution** If have changed the compile if statement to a runtime if statement. The fix is tested on: IOS 7.1 and 8.* and everything is working now. This solution is also discussed in: facebook#1613 and it was part of facebook#1979. (is being separated to keep things moving) Please let me know what you think.Closes facebook#2332 Reviewed By: @svcscm Differential Revision: D2490987 Pulled By: @ericvicenti
- Loading branch information