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

Missing IntentFilter on master branch #5

Open
Jhfelectric opened this issue Dec 13, 2024 · 1 comment
Open

Missing IntentFilter on master branch #5

Jhfelectric opened this issue Dec 13, 2024 · 1 comment

Comments

@Jhfelectric
Copy link

Hi,

After much trial-error I found out you are missing the IntentFilter line in the DWIntentReceiver class in your master branch.

namespace datawedge_MAUI_SampleApp.Platforms.Android
{

[BroadcastReceiver(Enabled = true, Exported =true)]
[IntentFilter(new[] {"com.ndzl.DW"})] //<-- missing
    public class DWIntentReceiver : BroadcastReceiver
    {
...etc...

Thanks for your code samples !
JH

@NDZL
Copy link
Collaborator

NDZL commented Dec 16, 2024

Hi Jhfelectric - thanks for reaching out!
I think i came across a similar issue in some other project recently.
But this one still compiles and works fine as I posted it - I cloned my own repo and rebuilt now - so with that line missing.

Note that the DW intent is filtered here

Did you change my code somehow, so it skips the receiver registration?

NDZL

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

2 participants