{"action":"created","issue":{"url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/387","repository_url":"https://api.github.com/repos/bluelinelabs/Conductor","labels_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/387/comments","events_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/387/events","html_url":"https://github.com/bluelinelabs/Conductor/issues/387","id":276393415,"node_id":"MDU6SXNzdWUyNzYzOTM0MTU=","number":387,"title":"startIntentSenderForResult is marked @TargetApi(Build.VERSION_CODES.N)","user":{"login":"mzgreen","id":6561747,"node_id":"MDQ6VXNlcjY1NjE3NDc=","avatar_url":"https://avatars0.githubusercontent.com/u/6561747?v=4","gravatar_id":"","url":"https://api.github.com/users/mzgreen","html_url":"https://github.com/mzgreen","followers_url":"https://api.github.com/users/mzgreen/followers","following_url":"https://api.github.com/users/mzgreen/following{/other_user}","gists_url":"https://api.github.com/users/mzgreen/gists{/gist_id}","starred_url":"https://api.github.com/users/mzgreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzgreen/subscriptions","organizations_url":"https://api.github.com/users/mzgreen/orgs","repos_url":"https://api.github.com/users/mzgreen/repos","events_url":"https://api.github.com/users/mzgreen/events{/privacy}","received_events_url":"https://api.github.com/users/mzgreen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-11-23T14:24:49Z","updated_at":"2018-06-18T11:03:41Z","closed_at":null,"author_association":"NONE","body":"`startIntentSenderForResult` is marked `@TargetApi(Build.VERSION_CODES.N)` but it was added in API 16. This is a bug.\r\nWhen I try to use `startIntentSenderForResult` on API 21 I get a crash:\r\n```\r\n  Caused by: java.lang.NoSuchMethodError: No virtual method startIntentSenderForResult(Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V in class Lcom/bluelinelabs/conductor/internal/LifecycleHandler; or its super classes (declaration of 'com.bluelinelabs.conductor.internal.LifecycleHandler' appears in /data/app/com.folx.driver.debug-2/base.apk:classes21.dex)\r\n                                                                           at com.bluelinelabs.conductor.internal.LifecycleHandler.startIntentSenderForResult(LifecycleHandler.java:306)\r\n                                                                           at com.bluelinelabs.conductor.ActivityHostedRouter.startIntentSenderForResult(ActivityHostedRouter.java:95)\r\n                                                                           at com.bluelinelabs.conductor.Controller.startIntentSenderForResult(Controller.java:533)\r\n```\r\n\r\nMaybe @PaulWoitaschek will know as he's the one who added this method."},"comment":{"url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/comments/398018630","html_url":"https://github.com/bluelinelabs/Conductor/issues/387#issuecomment-398018630","issue_url":"https://api.github.com/repos/bluelinelabs/Conductor/issues/387","id":398018630,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODAxODYzMA==","user":{"login":"Zhuinden","id":11718392,"node_id":"MDQ6VXNlcjExNzE4Mzky","avatar_url":"https://avatars1.githubusercontent.com/u/11718392?v=4","gravatar_id":"","url":"https://api.github.com/users/Zhuinden","html_url":"https://github.com/Zhuinden","followers_url":"https://api.github.com/users/Zhuinden/followers","following_url":"https://api.github.com/users/Zhuinden/following{/other_user}","gists_url":"https://api.github.com/users/Zhuinden/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhuinden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhuinden/subscriptions","organizations_url":"https://api.github.com/users/Zhuinden/orgs","repos_url":"https://api.github.com/users/Zhuinden/repos","events_url":"https://api.github.com/users/Zhuinden/events{/privacy}","received_events_url":"https://api.github.com/users/Zhuinden/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T11:03:41Z","updated_at":"2018-06-18T11:03:41Z","author_association":"NONE","body":"@mzgreen because dependency on specific version of AppCompat can be more costly (see AndroidX repackaging) than using a retained fragment internally which is proven to work"}}
{"actor":{"display_login":"Zhuinden"}}