Skip to content

What to use as an alternative to the deprecated onActivityResult method? #1144

Closed
@Code-B1

Description

@Code-B1

New Issue Checklist

Issue Description

I have noticed that when implementing the Facebook login that we are still having to override OnActivityResult() however, this has since been deprecated (it appears as if it still works for now however, I assume not for much longer).

I was wondering if there was a new login method available that we can use ? which avoids overriding this method ? or am I possibly using the incorrect method ? (I am currently using ParseFacebookUtils.logInWithReadPermissionsInBackground as per the documentation)

I wonder if you may be able to assist ? or advise if this method is still safe to use moving forward.

Steps to reproduce

Use ParseFacebookUtils.logInWithReadPermissionsInBackground to log into Facebook and override OnActivityResult()

Actual Outcome

I notice when I override the OnActivityResult() that there is a strikethrough this method (though it does appear to work)

Expected Outcome

To not be using any deprecated methods to log into Facebook

Parse Android SDK

  • SDK version: 2.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions