Updated to 5.0 (breaking changes). Not sure if sample is set up correctl...

Not sure if you purposely left out the update to 5.0 (it breaks compatibility), or if you never got around to it. In any case, I was doing this for a project and thought I'd send it by. Didn't really test the sample to see if everything worked, but I'm using the library in my app and everything seems to run fine.