Closed PimDeWitte closed 7 years ago
When removing the .build() function, it works fine, except obviously the EStyleSheets don't work, but the rest of the app functions fine. Should I call it at some other location in the app?
Fixed it by adding a length check to the process(obj) function. Put this under function process(obj)
if(obj === undefined || obj.length <= 0) { return null; }
Fixed in #15. Please merge.
Reopned because issue is not fixed. I'm not sure why - but the error has returned even with the null checks.
hi @PimDeWitte
could you show the object that you pass to EStyleSheet.create()
?
So the library works great on iOS, but when I try to run the same library on Android, I receive the following error on startup.
It's on this line:
const res = Object.keys(obj).reduce((res, key) => {
I've read up on the other issues and it looks like Android is not setting these properties correctly. Can you please advise?
My code: