AutoShare Intents for PowerAMP not working anymore

Discussion in 'AutoApps' started by The_Fonz, Sep 21, 2016.

  1. The_Fonz

    The_Fonz Member

    Joined:
    Sep 21, 2016
    Messages:
    37
    Likes Received:
    0
    The Play intent for PowerAMP is no longer working, giving the following error:

    com.joaomgcd.autoshare version 2.0.31

    java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=com.maxmpz.audioplayer.API_COMMAND (has extras) }
    at android.app.ContextImpl.validateServiceIntent(ContextImpl.java:1209)
    at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1238)
    at android.app.ContextImpl.startService(ContextImpl.java:1222)
    at android.content.ContextWrapper.startService(ContextWrapper.java:581)
    at com.joaomgcd.autoshare.intent.IntentShare.j(SourceFile:326)
    at com.joaomgcd.autoshare.intent.IntentShare.fire(SourceFile:569)
    at com.joaomgcd.common.tasker.IntentTaskerActionPlugin.fireBase(SourceFile:109)
    at com.joaomgcd.common.tasker.bp.a(SourceFile:111)
    at com.joaomgcd.common.tasker.bq.run(SourceFile:33)

    From what I can tell it started happening after AutoShare was recently updated.

    Any idea what's happened?

    Cheers!
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Sorry about that.

    With the update I had to make the build target of the app Android 6.0. When I do that, Google mandates that a service intent needs to call the service explicitly (calling the service by name, instead of just specifying an intent action like that intent does).

    I've now updated the intents here so please import them again and let me know if they work. Thanks!
     
    The_Fonz likes this.
  3. The_Fonz

    The_Fonz Member

    Joined:
    Sep 21, 2016
    Messages:
    37
    Likes Received:
    0
    Awesome, thanks for the quick update. I thought it was something simple but I couldn't work it out. Appreciate it. Keep up the dev-ing!
     
: intent

Share This Page