{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/quickstart-unity/issues/229","repository_url":"https://api.github.com/repos/firebase/quickstart-unity","labels_url":"https://api.github.com/repos/firebase/quickstart-unity/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/firebase/quickstart-unity/issues/229/comments","events_url":"https://api.github.com/repos/firebase/quickstart-unity/issues/229/events","html_url":"https://github.com/firebase/quickstart-unity/issues/229","id":373162923,"node_id":"MDU6SXNzdWUzNzMxNjI5MjM=","number":229,"title":"App crashes after FirebaseAuth.DefaultInstance","user":{"login":"shlighter","id":25622557,"node_id":"MDQ6VXNlcjI1NjIyNTU3","avatar_url":"https://avatars1.githubusercontent.com/u/25622557?v=4","gravatar_id":"","url":"https://api.github.com/users/shlighter","html_url":"https://github.com/shlighter","followers_url":"https://api.github.com/users/shlighter/followers","following_url":"https://api.github.com/users/shlighter/following{/other_user}","gists_url":"https://api.github.com/users/shlighter/gists{/gist_id}","starred_url":"https://api.github.com/users/shlighter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlighter/subscriptions","organizations_url":"https://api.github.com/users/shlighter/orgs","repos_url":"https://api.github.com/users/shlighter/repos","events_url":"https://api.github.com/users/shlighter/events{/privacy}","received_events_url":"https://api.github.com/users/shlighter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T19:26:47Z","updated_at":"2018-10-23T20:08:44Z","closed_at":null,"author_association":"NONE","body":"I use FireBase authentication with a simple function that signs up a new user, it works great on the Unity Editor, but when I build it on my Android, it crashes the second it tries to read this line- `FirebaseAuth auth = FirebaseAuth.DefaultInstance`\r\n\r\nThis is the error I get before it crashes- \r\n\r\n> Java class com/google/firebase/auth/FirebaseAuthWebException not found. Please verify the AAR which contains the com/google/firebase/auth/FirebaseAuthWebException class is included in your app.\r\n\r\nWhy do I even get the Firebase-AuthWeb-Exception ?\r\nWhy can't it find that exception? (I tried to resolve jar files, and to re-import auth SDK but it didn't solve the issue\r\nMy app is simple- there's a SignUp button that calls this function-\r\n\r\n`public void SignUp()\r\n {\r\n    FirebaseAuth auth = FirebaseAuth.DefaultInstance;  //The error is after this line\r\n\r\n    auth.CreateUserWithEmailAndPasswordAsync(email.text, password.text).ContinueWith(task =>\r\n    {\r\n        if (task.IsCanceled)\r\n        {\r\n            Debug.LogError(\"CreateUserWithEmailAndPasswordAsync was canceled.\");\r\n            return;\r\n        }\r\n        if (task.IsFaulted)\r\n        {\r\n            Debug.LogError(\"CreateUserWithEmailAndPasswordAsync encountered an error: \" + task.Exception);\r\n            return;\r\n        }\r\n\r\n        // Firebase user has been created.\r\n        Firebase.Auth.FirebaseUser newUser = task.Result;\r\n\r\n\r\n        Debug.LogFormat(\"Firebase user created successfully: {0} ({1})\",\r\n            newUser.DisplayName, newUser.UserId);\r\n       // SignInWithVerification();\r\n    });\r\n\r\n\r\n}`"},"comment":{"url":"https://api.github.com/repos/firebase/quickstart-unity/issues/comments/432399852","html_url":"https://github.com/firebase/quickstart-unity/issues/229#issuecomment-432399852","issue_url":"https://api.github.com/repos/firebase/quickstart-unity/issues/229","id":432399852,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjM5OTg1Mg==","user":{"login":"stewartmiles","id":6042948,"node_id":"MDQ6VXNlcjYwNDI5NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/6042948?v=4","gravatar_id":"","url":"https://api.github.com/users/stewartmiles","html_url":"https://github.com/stewartmiles","followers_url":"https://api.github.com/users/stewartmiles/followers","following_url":"https://api.github.com/users/stewartmiles/following{/other_user}","gists_url":"https://api.github.com/users/stewartmiles/gists{/gist_id}","starred_url":"https://api.github.com/users/stewartmiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewartmiles/subscriptions","organizations_url":"https://api.github.com/users/stewartmiles/orgs","repos_url":"https://api.github.com/users/stewartmiles/repos","events_url":"https://api.github.com/users/stewartmiles/events{/privacy}","received_events_url":"https://api.github.com/users/stewartmiles/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T20:08:44Z","updated_at":"2018-10-23T20:08:44Z","author_association":"CONTRIBUTOR","body":"The `FirebaseAuthWebException` error message is non-fatal and unfortunately expected behavior see  https://github.com/firebase/quickstart-unity/issues/224#issuecomment-432287386 .\r\n\r\nCould you post the stack trace from the crash?\r\n\r\nAre you sure you've run the [Android Resolver](https://github.com/googlesamples/unity-jar-resolver#android-resolver-usage) to install the Android libraries required?"}}
{"actor":{"display_login":"stewartmiles"}}