Closed ghost closed 8 years ago
This should help to solve #4 in a correct way, making it work with npm3 as well.
I will remove invariant
If you want to enforce it somehow, you can still if (...check wrong condition...) throw new Error("Invariant not true.");
or something...
Howard Yang wrote:
I will remove |invariant|
— Reply to this email directly or view it on GitHub https://github.com/oney/react-native-gcm-android/issues/7#issuecomment-160330354.
Will verify arguments in the future.
Removed in b3c773b1c4ac99301872079ec26622461baeafe0, may be closed, maybe?
@herby It should be closed!
It is purely internal to
react-native
and should not be used by outside code, as explained in facebook/react-native#4397.