Closed ghost closed 8 years ago
This should help to solve #4 in a correct way, making it work with npm3 as well.
Thanks. So modify codes below?
var Map = require('Map');
Howard Yang wrote:
Thanks. So modify codes below?
var Map = require('Map');
just remove it. Map
is global and you can just use it.
— Reply to this email directly or view it on GitHub https://github.com/oney/react-native-gcm-android/issues/6#issuecomment-160330325.
OK. I see.
We can get it on version 0.0.6 with npm now. Thanks for searching solution!
It helps me as well ;-)
Howard Yang wrote:
We can get it on version 0.0.6 with npm now. Thanks for searching solution!
— Reply to this email directly or view it on GitHub https://github.com/oney/react-native-gcm-android/issues/6#issuecomment-160330753.
Fixed by b3c773b1c4ac99301872079ec26622461baeafe0
Do not
require
it from internal structure ofreact-native
, as explained in facebook/react-native#4396.