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

PushMessages as type runApp: action not working #10

Open
TempHauns opened this issue Nov 10, 2022 · 0 comments
Open

PushMessages as type runApp: action not working #10

TempHauns opened this issue Nov 10, 2022 · 0 comments

Comments

@TempHauns
Copy link

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

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

1 participant