pusher / push-notifications-android

Android SDK for Pusher Beams
https://www.pusher.com/beams
MIT License
21 stars 22 forks source link

Fix issue with Tape with Invalid Class Exception #80

Closed daniellevass closed 5 years ago

daniellevass commented 5 years ago

This happened when you wrote one kind of data to the tape file, and tried to read another.

I've moved the suppress warning to be directly above where the warning occurred to make it easier for people to know what's being suppressed.

Also added some warning logs with the following message Failed to read data from tape - happy to take suggestions on better wording for this?

Also working on trying to write a test to reproduce this fix.

julioromano commented 5 years ago

Is this a fix for https://github.com/pusher/push-notifications-android/issues/77 ?