I’ve been working with PhoneGap/Cordova and Meteor JS lately to develop an e-commerce site/app hybrid. Here are some tips I’ve discovered about testing on Android
- You need as many variation of Android devices as possible. Right now looking at the current market, I would recommend at least one of each for Android 4, 5 and 6 (Ice Cream sandwich, Jelly Bean and Kit Kat) Tablets are fine, but best to use actual phones to check out for screen size issues (specially when it comes to scrolling)
- Check if the phone is plugged in on both side by checking if it is charging
- Command for loading Meteor JS + Cordova app on Android devices is:
$ Meteor run android-device
- Don’t forget to connect to database before running Meteor (MONGO_URL=mongodb://yourdb.com:2222) or include settings (–settings settings.json)
- Even if you have no use for it, you should still install Android File Transfer on your computer, it will instantly tell you if your device is plugged in and if the cable is still functioning correctly!
- Bear in mind, there is no chrome device inspector for devices running Android 4 “Ice Cream sandwich” or lower. For CSS issues, making a lot of colourful borders to help you see what’s going on.