{"action":"created","issue":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/676","repository_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase","labels_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/676/labels{/name}","comments_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/676/comments","events_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/676/events","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/676","id":320327678,"number":676,"title":"Constructor Builder in class Builder cannot be applied to given types","user":{"login":"avalloneandrea","id":9071642,"avatar_url":"https://avatars1.githubusercontent.com/u/9071642?v=4","gravatar_id":"","url":"https://api.github.com/users/avalloneandrea","html_url":"https://github.com/avalloneandrea","followers_url":"https://api.github.com/users/avalloneandrea/followers","following_url":"https://api.github.com/users/avalloneandrea/following{/other_user}","gists_url":"https://api.github.com/users/avalloneandrea/gists{/gist_id}","starred_url":"https://api.github.com/users/avalloneandrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avalloneandrea/subscriptions","organizations_url":"https://api.github.com/users/avalloneandrea/orgs","repos_url":"https://api.github.com/users/avalloneandrea/repos","events_url":"https://api.github.com/users/avalloneandrea/events{/privacy}","received_events_url":"https://api.github.com/users/avalloneandrea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-04T15:52:32Z","updated_at":"2018-05-04T18:10:06Z","closed_at":null,"author_association":"NONE","body":"I'm using `cordova-plugin-firebase` to manage push notifications in my Ionic 2+ app.\r\nI was able to configure and receive notifications on iOS, but I have the following error on Android.\r\n\r\n> /Users/Andrea/Progetti/ionic-app/platforms/android/app/src/main/java/org/apache/cordova/firebase/FirebasePluginMessagingService.java:120: error: constructor Builder in class Builder cannot be applied to given types;\r\n>             NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this, channelId)\r\n>                                                              ^\r\n>   required: Context\r\n>   found: FirebasePluginMessagingService,String\r\n>   reason: actual and formal argument lists differ in length\r\n> Note: Some input files use or override a deprecated API.\r\n> Note: Recompile with -Xlint:deprecation for details.\r\n> Note: Some input files use unchecked or unsafe operations.\r\n> Note: Recompile with -Xlint:unchecked for details.\r\n> 1 error\r\n> \r\n> FAILURE: Build failed with an exception.\r\n> \r\n> * What went wrong:\r\n> Execution failed for task ':app:compileDebugJavaWithJavac'.\r\n> > Compilation failed; see the compiler error output for details.\r\n> \r\n> * Try:\r\n> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n> \r\n> * Get more help at https://help.gradle.org\r\n\r\nI'm using version 1.0.4 of `cordova-plugin-firebase` and version 7.0.0 of `cordova-android`.\r\nIt's worth noting that I was able to build the app with version 6.4.0 of `cordova-android`: the error arose when I had to update it to version 7.0.0.\r\nAny help would be really appreciated."},"comment":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/comments/386688220","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/676#issuecomment-386688220","issue_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/676","id":386688220,"user":{"login":"soumak77","id":10901035,"avatar_url":"https://avatars1.githubusercontent.com/u/10901035?v=4","gravatar_id":"","url":"https://api.github.com/users/soumak77","html_url":"https://github.com/soumak77","followers_url":"https://api.github.com/users/soumak77/followers","following_url":"https://api.github.com/users/soumak77/following{/other_user}","gists_url":"https://api.github.com/users/soumak77/gists{/gist_id}","starred_url":"https://api.github.com/users/soumak77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumak77/subscriptions","organizations_url":"https://api.github.com/users/soumak77/orgs","repos_url":"https://api.github.com/users/soumak77/repos","events_url":"https://api.github.com/users/soumak77/events{/privacy}","received_events_url":"https://api.github.com/users/soumak77/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T18:10:06Z","updated_at":"2018-05-04T18:10:06Z","author_association":"COLLABORATOR","body":"@avalloneandrea have you tested with `cordova-android 7.1.0`?"}}
{"actor":{"display_login":"soumak77"}}