Skip to content

Android: Signup issue while using Kotlin #10

@uditunpluged

Description

@uditunpluged

I tried to signup a user using java your sdk in my kotlin based android project like this

fun signUpSocialUser(email: String, phoneNumber: String, fullname: String) {
        var session = mySocialApp.createAccount(email, phoneNumber + fullname, fullname)
        session.observeOn(Schedulers.io()).subscribeOn(Schedulers.io()).subscribe({
            Log.e("SOCIAL DATA", it.authenticationToken.toString())
        },
            {
                Log.e("SOCIAL ERROR", it.message)
            }, {
                Log.e("SOCIAL COMPLETE", "")
            })


    }

I am getting the exception and hence unable to proceed further.
SOCIAL ERROR: Reflection on built-in Kotlin types is not yet fully supported. No metadata found for public open val cause: kotlin.Throwable? defined in kotlin.Throwable[DeserializedPropertyDescriptor@4bb15c9]

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