Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service Intent must be explicit - Android L Preview #20

Closed
MichaelEvans opened this issue Jul 3, 2014 · 3 comments
Closed

Service Intent must be explicit - Android L Preview #20

MichaelEvans opened this issue Jul 3, 2014 · 3 comments

Comments

@MichaelEvans
Copy link

Getting the following exception when testing your SDK with our app with the Android L preview:

Caused by: java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=com.google.android.c2dm.intent.REGISTER (has extras) }
at android.app.ContextImpl.validateServiceIntent(ContextImpl.java:1603)
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1632)
at android.app.ContextImpl.startService(ContextImpl.java:1616)
at android.content.ContextWrapper.startService(ContextWrapper.java:505)
at bo.app.do.a(SourceFile:56)
at com.appboy.Appboy.(SourceFile:160)
at com.appboy.Appboy.getInstance(SourceFile:108)

@MichaelEvans
Copy link
Author

@billmag
Copy link
Member

billmag commented Jul 7, 2014

Thanks Michael. We're in the middle of testing a release right now, but
we'll look at this for the next one.

On Mon, Jul 7, 2014 at 9:03 AM, Michael Evans notifications@github.com
wrote:

This should be helpful:
http://commonsware.com/blog/2014/06/29/dealing-deprecations-bindservice.html


Reply to this email directly or view it on GitHub
#20 (comment)
.

Bill Magnuson* @billmag* :: Co-Founder & CTO :: Check out Appboy Academy
http://www.appboy.com/academy, our definitive guide to Marketing
Automation for Apps.

@billmag
Copy link
Member

billmag commented Oct 9, 2014

Hey Michael-

I finally got a chance to work on this earlier tonight, sorry for the long delay. The fix was relatively straightforward and appears to be working. We'll be testing and then releasing it soon.

As an aside, most of my issues in getting our build fully moved to L were in getting Mockito to work properly :\ very very annoying. Also, in my testing it appears that apps built to target versions of Android before Android L are totally fine, even if run on a device that is running Android L. Was that your experience as well?

-Bill

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

No branches or pull requests

3 participants