parse-community / Parse-SDK-Android

The Android SDK for Parse Platform
https://parseplatform.org/
Other
1.88k stars 735 forks source link

fix TypeCastException when unlinking google account #1076

Closed timfreiheit closed 3 years ago

timfreiheit commented 3 years ago

fixes kotlin.TypeCastException: null cannot be cast to non-null type com.parse.ParseException

when trying to unlink the ParseUser from Google.

The Task returns null as the error when the task was completed successfully. This is the same behavior as in the ParseFacebookUtils but was handled incorrectly here.