[DF-291] Fix problem with require method on android