Releases: pixlee/android-sdk
More error callbacks
More error callbacks when getting photos
Migration Guide
A migration guide to the latest version for 1.0.6 or older SDK versions.
Add Moshi and unit tests
This update is to make testing easier and add new functions with fewer dependencies.
-
Removed all JSONObject based parsing codes. Instead, I added a JSON library, called Moshi (https://github.com/square/moshi). This lets the network library, Retrofit, parse the response data into java objects such as PXLPhoto.
-
Removed Circular dependencies
-
Removed Context from Data classes such as PXLPhoto, PXLAlbum, PXLPdpAlbum. In Android unit tests, using non-Android classes can speed up the testing runtime.
-
Added More unit tests for network error cases
Check HTTP-codes
Fixed a bug of crashing due to lack of a http-code checker
Check secretKey when needed
Move secretKey-checker to a place where secretKey is used
Hotfix of a crashing issue due to decoding '%'
This hotfix fixes the problem of https://pixlee.atlassian.net/browse/BUGZ-5527.
Since our server decodes texts before sending response data, there is no need for the SDK to decode texts. So I removed all decoding things from this SDK.
Replace Volley with Retrofit
-
Removed Volley not to cache APIs and avoid caching APIs when caching is disabled (Volley issue: mcxiaoke/android-volley#134) Because of this change,
-
Volley's ImageLoader is also removed
-
Added Retrofit to SDK (Retrofit github: https://github.com/square/retrofit)
-
Added Glide to the demo app to show how images can be displayed. (Glide github: https://github.com/bumptech/glide)
Uploader function
Adds an uploader function the the SDK + example, based on the Pixlee API (https://developers.pixlee.com/reference#create-new-content-from-url)
Remove Automatic Events
More analytics/kb (#11) * filter parity with iOS * sort type consitency * add analytics class supporting ATC and Conversion methods, update readme, update example app * PR changes * ints * update examples * pdp albums set album_id * add action link clicked and load more anlaytics * pr changes and update readme * update readme text for action click * make private * remove auto analytics
Action Clicked and Load More analytics
More analytics/kb (#10) * filter parity with iOS * sort type consitency * add analytics class supporting ATC and Conversion methods, update readme, update example app * PR changes * ints * update examples * pdp albums set album_id * add action link clicked and load more anlaytics * pr changes and update readme * update readme text for action click * make private