Incorrect Code Example in Android TwitterKit

android
fabric

#1

Not entirely sure how else I could get this fixed-- there’s a really small error in the documentation for Android TwitterKit. At the bottom:

public class MyResultReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if (TweetUploadService.UPLOAD_COMPLETE.equals(intent.getAction())) {

UPLOAD_COMPLETE should instead be UPLOAD_SUCCESS

You guys should really consider putting the documentation on GitHub so people could fix these errors for you and submit PRs.

Thanks!


#2

Thank you for the feedback. The docs should be updated shortly.