Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Add intent.setPackage method #17

Merged
merged 3 commits into from May 12, 2020
Merged

Add intent.setPackage method #17

merged 3 commits into from May 12, 2020

Conversation

togiberlin
Copy link
Contributor

Hello Anjan,
hello community

I added the package attribute to the intent object.
This should give us a setPackage method.

setPackage(String packageName) is used to suppress a chooser menu and open the intent with given app directly: https://developer.android.com/reference/kotlin/android/content/Intent#setpackage

See also the README for a concrete use case.

Could you please incorporate this change into your next release soon-ish? We need this feature for a go-live..

Thanks!

  • Togi

@itzmeanjan
Copy link
Owner

Hello @togiberlin , thanks for the PR. I appreciate your contribution towards making intent a better dart package.

But there's a little problem, you didn't add required dart implementation for setting package param, which I'm adding

This will be resolved soon 😊

@itzmeanjan itzmeanjan merged commit 29db080 into itzmeanjan:master May 12, 2020
@itzmeanjan
Copy link
Owner

This PR has been merged to master. I've also added required Dart specific implementation for setting package param for handling Intent, using specific package ( given it's present on system ).

Thanks 👍 ☺️

@itzmeanjan
Copy link
Owner

I've pushed v1.3.0 of intent on pub.dev. It must be ready for use now :)

@itzmeanjan
Copy link
Owner

intent v1.3.0 is available for use now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants