brodysoft/Cordova-SQLitePlugin — pull request #87 by nolanlawson (2014-07-09 22:53:57+00:00)
Title: Android 2.x no longer binds strings, allow building in SDK < 16

This fixes two things:

1. (https://github.com/brodysoft/Cordova-SQLitePlugin/issues/27) The project can now be built all the way back to API level 8 (although Cordova currently only supports 10+, so it's kind of moot). The fix here was just to add the annotation `@SuppressLint("NewApi")` so that Eclipse/Android Studio stop complaining.
2. (https://github.com/pouchdb/pouchdb/issues/2434) Android 2.x no longer binds everything to a string. The unit tests verify that the correct types are being bound and returned for doubles, ints, blobs, and null.

With this change, the only tests that are failing in Android 2.3 are related to the "rows affected" not being properly returned. (See screenshots, tested on Android 2.3.3 on a Nexus One.)

I also tested in Android 4.4 and verified that this introduced no regressions.