check point before phonegap