kjda / ReactJs-Phonegap

A boilerplate ReactJS-Phonegap/Cordova App + Flux data flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Object div has no method 'apply' - android

pcostanz opened this issue · comments

I'm a little new to phonegap so let me know if there's something obvious I'm missing here.

I have phonegap 4.1.2-0.22.7 installed, when I follow the readme instructions the app.jsx render function (https://github.com/kjda/ReactJs-Phonegap/blob/master/app/src/app.jsx#L149) tries to return a loading div and throws "Uncaught Type Error: Object div has no method 'apply' ... coming from a createDescriptor method in the bundle.

This is happening when I run the app on my Droid Turbo on the Phonegap Developer App via my local network.

//edit: just tried on an iPhone 6 / iOS 8 and same error. Will try to poke around in the code to see if I can figure out what's going on.

//edit2: updating react to the latest version fixes this, it looks like the createDescriptor method has changed recently. PR opened.

Thanks!

commented

thanks!