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

Now using standard request code for PHOTO_EDITOR_REQUEST #22

Merged
merged 1 commit into from
Oct 26, 2018

Conversation

mathieumg
Copy link
Contributor

The current request code simply seems to be the timestamp of when it was done, but it needs to be a 16 bit integer. See #21 and https://developer.android.com/training/basics/intents/result

The integer argument is a "request code" that identifies your request. When you receive the result Intent, the callback provides the same request code so that your app can properly identify the result and determine how to handle it.

It doesn't have to be unique across apps, it's just to validate that the results comes from that request. It could be any other 16 bit number if desired.

Fixes #21

The current request code simply seems to be the timestamp when it was done, but it needs to be a 16 bit int. See prscX#21 and https://developer.android.com/training/basics/intents/result

It doesn't have to be unique across apps, it's just to validate that the results comes from that request. It could be any other 16 bit number if desired.

Fixes prscX#21
@prscX
Copy link
Owner

prscX commented Oct 26, 2018

Thanks @mathieumg for the PR and Effort.

I have merged the same.

Thanks
</ Pranav >

@prscX prscX merged commit 09522d4 into prscX:master Oct 26, 2018
@mathieumg mathieumg deleted the patch-1 branch October 26, 2018 21:57
@dozoisch
Copy link

@prscX would you mind cutting a release (0.0.6) with this fix :) ? Much appreciated!

@prscX
Copy link
Owner

prscX commented Oct 28, 2018

Sure @dozoisch. Today I am planning to take a cut for 0.0.6. Will keep you posted.

Thanks
</ Pranav >

@dozoisch
Copy link

@prscX thank you 🙌

@prscX
Copy link
Owner

prscX commented Oct 28, 2018

Hi @dozoisch: I have pushed the release with fix. Can you please install and verify the same.

Please let me know in case you face any issues.

Thanks
</ Pranav >

@dozoisch
Copy link

dozoisch commented Oct 28, 2018

@prscX thank you very much! Will do immediately :)


Edit:
Everything works perfectly!

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.

None yet

3 participants