hmdm-android icon indicating copy to clipboard operation
hmdm-android copied to clipboard

PushMessages as type runApp: action not working

Open TempHauns opened this issue 1 year ago • 0 comments

I am unable to start an App with a specific action. Can someone test this on their end to see if it maybe is a launcher problem? The action should start a basic activity displaying a Text. I can switch to it using a button on my MainActivity.

In AndroidManifest.xml this is declared:

    <activity
        android:name="my.test.project.SecondActivity"
        android:exported="true">
        <intent-filter>
            <action android:name="my.test.project.DOACTION" />
            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>
   

When sending a push message from the Web-UI/Control Panel of type runApp with the payload {"pkg": "my.test.project", "action": "my.test.project.DOACTION"} it starts the app, but not the action / second activity.

Headwind MDM Control panel Version: 5.11.3 Agent-Launcher Version: 5.12

TempHauns avatar Nov 10 '22 07:11 TempHauns