This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Changes manifest setting from singleInstance => singleTask #1286
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: andrew <[email protected]>
andrewxhill
force-pushed
the
andrew/multiple-image-picker-intent-bug
branch
from
August 7, 2019 20:17
86e1912
to
e64d9af
Compare
…flipping to "standard" Signed-off-by: andrew <[email protected]>
asutula
previously approved these changes
Aug 7, 2019
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.
Cool, good find. Let's be sure to pay attention to how this affects things like deep linking from group invites.
Signed-off-by: andrew <[email protected]>
…out of apps like Slack when links are shared Signed-off-by: andrew <[email protected]>
yep, did pretty thorough QA this afternoon and found some things.
only odd thing left i found, is that the react-navigation params set during componentDidMount sometimes lag behind the screen. meaning if a user clicked them immediately it would error. i fixed this by disabling them until they are |
Signed-off-by: andrew <[email protected]>
Signed-off-by: andrew <[email protected]>
Signed-off-by: andrew <[email protected]>
Signed-off-by: andrew <[email protected]>
Signed-off-by: andrew <[email protected]>
Signed-off-by: andrew <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fixes #1041
fixes #1141
fixes #1287
Not going to lie, I don't fully understand this one.
Recreating the bug
I used the final clue in the ticket above and installed another gallery app that would take over the intent (Simple Gallery). Then when selecting an image, I'm offered selecting from Photos or Simple Gallery. If I select one and then select an image to share,
ImagePicker.launchImageLibrary
callback will return with auser cancelled
value.Solution
After looking for other people with similar issues, I found an issue I was reading through (not really related react-native-image-picker/react-native-image-picker#164) and noticed that there are problems if you use
android:launchMode="singleInstance"
in your manifest. I changed it and voila, it works.My guess is this is also the cause of the store reviewer they likely just got through onboarding fine because they took a new avatar from their camera (no intent mess up) and then just couldn't post an image because of this bug.
Anyway, fixed.