Varun Gupta

Results 31 comments of Varun Gupta

How can I apply this kind of solution https://stackoverflow.com/questions/35531679/react-native-open-links-in-browser/44607394#44607394 here?

One other way of fixing the problem could be to pass the `onDismiss` handler separately to the java code such that even if both the `action` handler and the `onDismiss`...

I can modify the PR as per above idea to pass two callbacks instead of one if you guys are okay with it.

@Noitidart I will update the PR as soon as I get time to work on it. I was not able to test the branch you mentioned since it still contains...

@Noitidart As I mentioned in the PR, I only submitted the PR to share what would be involved in using `Promises` in the native side also as that is a...

I was finally able to figure out the problem here. The abort occurs when we are about to show a dialog and user stops the app by pressing the back...

The exception is thrown while executing this statement `this.mBuilder = new MaterialDialog.Builder(this.getCurrentActivity());`. So moving it inside the `try` and adding the `return` statement fixes the crash. For #2, I think...

I was finally able to find the bug behind this problem. I can't exactly explain the problem but it happens when we dismiss the dialog before showing and user has...

That's what I also tried initially which is to catch the exception in `dismiss` and it fixed the issue and I was not seeing any abort. But since the `mDialog`...

I have not tried with `cancelable` set to `false`. I can try with that also but it is common for dialog box to disappear when tapped outside the dialog box...