Skip to content

Fix Intent Extras in app.service.send#455

Merged
cyberMilosz merged 3 commits into
ReversecLabs:developfrom
Yogehi:develop
Jun 11, 2024
Merged

Fix Intent Extras in app.service.send#455
cyberMilosz merged 3 commits into
ReversecLabs:developfrom
Yogehi:develop

Conversation

@Yogehi

@Yogehi Yogehi commented Jun 5, 2024

Copy link
Copy Markdown
Collaborator

Add Intent Extras to the Intent which binds a service via bind()

Add Intent Extras to the Intent which binds a service via `bind()`

@cyberMilosz cyberMilosz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we just

i.putExtras(message.getData())

instead of extracting all Extras from a Bundle, typecasting them, and handling them one by one?

See:

Assuming you have a test setup for this already - if you don't, shout and I'll try it out.

@cyberMilosz cyberMilosz changed the title YAY Fix Intent Extras in app.service.send Jun 8, 2024
Yogehi added 2 commits June 10, 2024 22:23
Milosz gave much better code to replace my shit code
@Yogehi

Yogehi commented Jun 11, 2024

Copy link
Copy Markdown
Collaborator Author

confirmed that your code works and already committed your code to my fork

80ca00d

go ahead and merge it

@cyberMilosz cyberMilosz merged commit b3a1251 into ReversecLabs:develop Jun 11, 2024
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

Successfully merging this pull request may close these issues.

app.service.send does not include intent extras when binding a service Add support for adding byte array to extra in app.service.send

2 participants