Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Failed to load application information #150

Open
6 tasks done
mattiamanzati opened this issue Apr 19, 2017 · 5 comments
Open
6 tasks done

Failed to load application information #150

mattiamanzati opened this issue Apr 19, 2017 · 5 comments

Comments

@mattiamanzati
Copy link

mattiamanzati commented Apr 19, 2017

Hello everyone!
First of all, thanks for this awesome product!
I have almost done an android application, and in debug mode auth0 works perfectly. Unfortunately, when I try to install and run the release bundle, I get a "Failed to load application information" error, and retry with no luck. Note that the same code works on debug mode. Even disabling all social logins and keep only the database one did'nt solve the problem.
Let me know other logs that may be useful!
Thanks again for your time!

  • Code snippet or sample project that reproduces the bug
var lock = new Auth0Lock({clientId: 'r8xGAj2ff9CTm2Bx5XwVG5434TBfDCq1', domain: 'himy.eu.auth0.com'})


        lock.show({
            closable: true
        }, (err, profile, token) => {
            if (err) {
                console.log(err);
                return;
            }
            console.log(profile);
        })
  • Screenshots when appropriate
    screenshot_2017-04-19-15-41-19

  • Lock version
    0.6.0

  • iOS and/or Android version
    6.0 (2016-07-01)

  • React Native & React version

    "react": "16.0.0-alpha.6",
    "react-native": "0.43.3",
  • NPM version
    3.9.5
@saintedlama
Copy link

Same issue here. Upgraded react-native to 0.43.4 and auth0 lock to 0.6.0 and auth0 lock stopped working with the issue described above

@axxag
Copy link

axxag commented Apr 29, 2017

+1, same issue here.

1 similar comment
@seburgi
Copy link

seburgi commented May 10, 2017

+1, same issue here.

@lbalmaceda
Copy link

If it works on debug mode but it doesn't on release then it must be something related to the proguard obfuscation. Check that you're including the right rules that the android library specifies in its repo and try again.

@techgaun
Copy link

techgaun commented Jul 27, 2017

Any resolution on this? I see the same thing and seems to be same thing as auth0/Lock.Android#306. I've not seen a way to resolve this? We're using the most recent version from npm. Could it be because of connectivity issues so that the JSONP request does not succeed? Is there a way to customize this message for the end users when it happens?

Update: I guess that error comes when the request to https://cdn.auth0.com/client/<client_id>.js fails.. Basically, if the internet connectivity is not there, this message is gonna pop-up. Whenever there's no connectivity, that message is gonna pop-up. Whats a good way to intercept and modify the message(subclass and update LockActivity?)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants