Skip to content

Cannot use coroutines extension function save  #1016

@LopsemPyier

Description

@LopsemPyier

Hello,
I've import parse sdk and parse coroutines with

//Parse SDK
implementation "com.github.parse-community.Parse-SDK-Android:parse:1.23.1"
//Parse coroutines
implementation "com.github.parse-community.Parse-SDK-Android:coroutines:1.23.1"

And when I try to save a ParseObject with a coroutine, it use the parse method save and not the extension one. This is because they have the same name so the method win over the extension.

If I made a mistake when add dependency in my android project, I apologize but I tried with the README.md which isn't clear enought.

Thank you.

P.S: In the README.md it says for signUp :

launch { // Coroutine builder
    user = ParseUser().apply {
        setUsername("my name")
        setPassword("my pass")
        setEmail("[email protected]")
    }.also {
        signUp()
    }
}

but in fact the function is singUp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions