-
Notifications
You must be signed in to change notification settings - Fork 402
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
modal show on iOS only one time #57
Comments
@alinz please help me! |
@qinqing3761 can you push your code into a repo and I will look into it. It could be a lot of things. |
@qinqing3761 I am just guessing but it seems like the Modal is not showing properly. I had a similar issue.
The Modal gets this showModal bool as visible parameter and it is true as default. Closing the Modal via a TouchableHighlight calls this _onClosePress function. Maybe this helps. |
I'm having this problem too. First time, everything works fine. But then if I try to launch the share extension again, all that happens is that the overlay is shown. It seems that neither the constructor nor I've tried intentionally crashing the extension as mentioned in #64, but that doesn't help. I'm just using the code in @FMaulwurf I don't see any difference between your use of I'm seeing a lot of the following error in the XCode console:
Maybe that has something to do with it? Or is it possible that the share extension is silently crashing due to memory usage? I'm currently not using separate bundles, so that could well be happening, but I'm not seeing any errors in XCode. |
@qinqing3761 @adamvert - I am having the same issue, did you find a solution? |
The solution for me was to make the share extension crash intentionally, as suggested here: #64 (comment) |
Thanks - I did the same and used this lib in order to do it: react-native-exit-app. componentWillUnmount(){ |
Hello, I set up according to your steps, and then there was a very strange phenomenon,the modal box on ios can only show one time, the first time is normal, but after I call "
ShareExtension.close()
" function,evoke ShareExtension once again,only MyShareEx.m’s view appears the modal box no longer appears,I have set “
rootView.backgroundColor = [UIColor redColor];
”,this is screenshots,the first time, and the second time
Very strange, do you know why?
my english is poor, I do not know if you have understand what I mean。
The text was updated successfully, but these errors were encountered: