multiple conditions not working with ionic js on android

Here is my code:

function getToday(callback) {


      var dataQuery = new Backendless.DataQuery();


      var ts = moment().format('MM/DD/YYYY');
      
      dataQuery.condition = "matchdate >= '" + ts + "'"; // THIS IS WORKING
      dataQuery.condition = "published = true AND matchdate >= '" + ts + "'"; // THIS IS NOT WORKING! ON IOS WORKS.


      dataQuery.options = {pageSize: 100};
      dataQuery.options.relationsDepth = 1;


      Backendless.Persistence.of(fixtures).find(dataQuery,
        new Backendless.Async(function(result){
          callback(result);
        })
      );


    }

Hello, Aleksa!

We’re trying to reproduce your problem. Can you please clarify what do you mean under “not working”? You get any error, or you receive empty collection, or something else?
Thank you!
Alex

Hi Alex,
it took me sometime to figure it out. It was not Backendless problem.

For some reason on older Android phones (4.1) with IONIC(Cordova) app using js sdk code sample from above breaks before making request to Backendless if using multiple conditions in where.

Solution is simple - use better rendering engine with CrossWalk as descibed on IONIC blog: http://blog.ionic.io/crosswalk-comes-to-ionic/

Thanks for help

I hope this solution will help others because Backendless with Ionic rules!