Gaëtan Renaudeau 20e99f5b93 Fix invariant in scrollResponderZoomTo
Summary:
This fixes a cryptic bug to appear when you try to use scrollResponderZoomTo in Android.
before this PR it would break with a `Error: TaskQueue: Error with task : invariant requires an error message argument` because the invariant() was not properly used..

Also, instead of detecting the platform, I think it's better practice to duck type.
Closes https://github.com/facebook/react-native/pull/11186

Differential Revision: D4246674

fbshipit-source-id: 47002a85d8252e5abbd1cd9ecef3d7676fa8615a
2016-11-29 14:43:38 -08:00
..
2016-10-14 08:13:55 -07:00
2016-11-28 10:13:31 -08:00
2016-11-04 05:43:44 -07:00
2016-11-14 20:45:17 -08:00
2016-11-04 05:43:44 -07:00
2016-11-28 03:43:32 -08:00
2016-11-04 05:43:44 -07:00
2016-11-04 05:43:44 -07:00
2016-11-02 12:29:15 -07:00
2016-08-09 06:43:46 -07:00
2016-11-28 10:13:31 -08:00
2016-11-04 05:43:44 -07:00
2016-11-23 11:28:29 -08:00
2016-08-09 06:43:46 -07:00