i upgrade react-native 0.28 0.30, , error:
"native module cannot null".
the problem seem line/package:
var pushnotification = require('react-native-push-notification');
the red-box complaints react-native cannot find symbol <unkown>
in pushnotificationios.js line 18
.
this happens when fail link third lib target causing nativemodules find nothing @ attempt.
to solve this, project navigator -> target -> general -> linked frameworks , libraries, make sure somelib.a
there.
in case, please follow ios install guides , react-native doc
Comments
Post a Comment