Unable to init backendless with react native app

I’m trying to initialize Backendless with my react native app, but I get an error “initApp isn’t a function”.

var Backendless = require('./libs/backendless');
.....
module.exports = React.createClass({
  componentWillMount: function(){
    Backendless.initApp(...)

Perhaps it is not imported properly, the function is certainly there:

https://github.com/Backendless/JS-SDK/blob/master/libs/backendless.js#L3824