{"action":"closed","issue":{"url":"https://api.github.com/repos/square/reader-sdk-android-quickstart/issues/6","repository_url":"https://api.github.com/repos/square/reader-sdk-android-quickstart","labels_url":"https://api.github.com/repos/square/reader-sdk-android-quickstart/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/square/reader-sdk-android-quickstart/issues/6/comments","events_url":"https://api.github.com/repos/square/reader-sdk-android-quickstart/issues/6/events","html_url":"https://github.com/square/reader-sdk-android-quickstart/issues/6","id":378168843,"node_id":"MDU6SXNzdWUzNzgxNjg4NDM=","number":6,"title":"Adding firebase crash the sample app","user":{"login":"vuanhnguyen","id":9275368,"node_id":"MDQ6VXNlcjkyNzUzNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/9275368?v=4","gravatar_id":"","url":"https://api.github.com/users/vuanhnguyen","html_url":"https://github.com/vuanhnguyen","followers_url":"https://api.github.com/users/vuanhnguyen/followers","following_url":"https://api.github.com/users/vuanhnguyen/following{/other_user}","gists_url":"https://api.github.com/users/vuanhnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/vuanhnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuanhnguyen/subscriptions","organizations_url":"https://api.github.com/users/vuanhnguyen/orgs","repos_url":"https://api.github.com/users/vuanhnguyen/repos","events_url":"https://api.github.com/users/vuanhnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/vuanhnguyen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-07T07:19:03Z","updated_at":"2018-11-16T15:07:17Z","closed_at":"2018-11-16T15:07:16Z","author_association":"NONE","body":"I want to use reader sdk and firebase for my project. It seems like the Reader SDK library conflicts with firebase. As soon as I added this to the gradle build:\r\n\r\n`implementation 'com.google.firebase:firebase-core:16.0.4'`\r\n\r\nThis example app crash with this error\r\n`2018-11-06 23:12:07.299 8920-8920/com.example.readersdk E/AndroidRuntime: FATAL EXCEPTION: main\r\n    Process: com.example.readersdk, PID: 8920\r\n    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/api/Api$zzf;\r\n        at com.google.android.gms.safetynet.SafetyNet.<clinit>(Unknown Source)\r\n        at com.google.android.gms.safetynet.SafetyNet.getClient(Unknown Source)\r\n        at com.squareup.safetynet.SafetyNetModule.getClient(SafetyNetModule.java:18)\r\n        at com.squareup.safetynet.SafetyNetModule_GetClientFactory.get(SafetyNetModule_GetClientFactory.java:24)\r\n        at com.squareup.safetynet.SafetyNetModule_GetClientFactory.get(SafetyNetModule_GetClientFactory.java:10)\r\n        at com.squareup.safetynet.SafetyNetWrapper_Factory.get(SafetyNetWrapper_Factory.java:38)\r\n        at com.squareup.safetynet.SafetyNetWrapper_Factory.get(SafetyNetWrapper_Factory.java:10)\r\n        at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)\r\n        at com.squareup.safetynet.SafetyNetRunner_Factory.get(SafetyNetRunner_Factory.java:39)\r\n        at com.squareup.safetynet.SafetyNetRunner_Factory.get(SafetyNetRunner_Factory.java:10)\r\n        at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)\r\n        at com.squareup.LoggedInScopeRunner_Factory.get(LoggedInScopeRunner_Factory.java:269)\r\n        at com.squareup.LoggedInScopeRunner_Factory.get(LoggedInScopeRunner_Factory.java:50)\r\n        at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)\r\n        at com.squareup.DaggerReaderSdkReleaseAppComponent$ReaderSdkReleaseLoggedInComponentImpl.loggedInScopeRunner(DaggerReaderSdkReleaseAppComponent.java:8306)\r\n        at com.squareup.RegisterAppDelegate.onAuthenticated(RegisterAppDelegate.java:575)\r\n        at com.squareup.RegisterAppDelegate$2.onLoggedIn(RegisterAppDelegate.java:541)\r\n        at com.squareup.account.FileBackedAuthenticator.load(FileBackedAuthenticator.java:127)\r\n        at com.squareup.RegisterAppDelegate.loadAuthenticator(RegisterAppDelegate.java:530)\r\n        at com.squareup.RegisterAppDelegate.onEnterScope(RegisterAppDelegate.java:493)\r\n        at shadow.mortar.MortarScope.register(MortarScope.java:199)\r\n        at com.squareup.RegisterAppDelegate.createAppScope(RegisterAppDelegate.java:367)\r\n        at com.squareup.RegisterAppDelegate.onCreate(RegisterAppDelegate.java:210)\r\n        at com.squareup.sdk.reader.internal.AppBootstrapHolder.onCreate(AppBootstrapHolder.java:23)\r\n        at com.squareup.sdk.reader.ReaderSdk.initialize(ReaderSdk.java:37)\r\n        at com.example.readersdk.ExampleApplication.onCreate(ExampleApplication.java:14)\r\n        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)\r\n        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5503)\r\n        at android.app.ActivityThread.-wrap2(ActivityThread.java)\r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1595)\r\n        at android.os.Handler.dispatchMessage(Handler.java:110)\r\n        at android.os.Looper.loop(Looper.java:203)\r\n        at android.app.ActivityThread.main(ActivityThread.java:6251)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)\r\n`"}}
{"actor":{"display_login":"pyricau"}}