Skip to content

cannot read property 'configureProvider' of undefined #37

@SamMatthewsIsACommonName

Description

Hi, as I made reference to here #14
I'm having an issue with the oath on Android. Do I need to configure the manager differently based on platform? At present my code looks like this

const manager = new OAuthManager('MyAPp');
const config = {
  facebook: {
    client_id: 'MY_CLIENT_ID',
    client_secret: 'MY_CLIENT_SECRET',
  },
};
manager.configure(config);

It works amazingly (Thanks @auser !!) on ios, but in android everything about the manager is then coming up as undefined. I removed all my promises handling etc to just strip it back to console logging the manager variable but I was getting 'cannot read property 'configureProvider' of undefined and it wouldn't go any further.

Is this a bug or is this just user error? I (think) I;ve read the docs quite extensively and everything seems as it's supposed to be? Cheers

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