-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(android_intent_plus): support for intent as URI #2970
Conversation
Please follow the contribution guidelines.
This also looks suspicious, why include an intent to a payments' app with some obscure code. |
Sorry I read it too fast and miss the NOT in
I just took the one I had for my use case, it come from safer pay payment provider we uses. This code is internal to TWINT Swiss app usage, they use this code to verify a payment. I don't have other example to put in the example app, I can remove it completely if this is necessary but I needed that to test that it was actually working. Why closing the PR instead of asking for changes? Should I bother make another one or just not use this package? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep it in this PR.
I did a quick overview and marked some stuff to be changed and improved.
I will have to do an actual test on my device before approving.
...lus/android/src/main/java/dev/fluttercommunity/plus/androidintent/MethodCallHandlerImpl.java
Outdated
Show resolved
Hide resolved
This reverts commit fd0c19e.
I have reverted pub spec of example project but now the CI is broken saying the method I added doesn't exist. I don't have that issue locally using Melos bootstrap command... not sure what happen |
No worries, this is another issue that should be solved on the CI side. I pushed some changes. The happy path works, but I am unable to get a parsing exception no matter what strings I send. I want to take a look at the native tests, I am not even sure if these run on CI or not, in case we want to add a test here. |
@miquelbeltran to test the error case I used 'intent:#Intent;;end', with this I was able to see the error in the logs |
Thanks, that worked!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks good now, but I need to fix first the build scripts on main
branch, so I will come back to merge this once that is fixed.
No problem thanks for your help @miquelbeltran ! |
Thanks to you! |
Thanks again @jaumard for the contribution! Merged this, it will probably take a while until we release this, but you can use |
Thanks for looking at it quickly, I'll use the git dep until it's on pub. What is the strategy for your release? |
I think we should prepare a release batch sometime soon, but I need to talk with the other maintainers if there are any blockers |
Description
add support for parsing URI intent into android_intent_plus
Related Issues
Fix #2164
Checklist
CHANGELOG.md
nor the plugin version inpubspec.yaml
files.flutter analyze
) does not report any problems on my PR.Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?
!
in the title as explained in Conventional Commits).