Skip to content

Commit

Permalink
fix ios background foreground
Browse files Browse the repository at this point in the history
  • Loading branch information
LeowWH committed Oct 23, 2017
1 parent 823edff commit fd3f20c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ios/MOLPayReactManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ @implementation MOLPayReactManager
mpvc.PaymentDetails = paymentDetailsMutable;
UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:mpvc];
mpvc.didDismiss = ^(NSDictionary *data) {
[[[[UIApplication sharedApplication] windows] firstObject] makeKeyAndVisible];
callback(@[data]);
};
dispatch_sync(dispatch_get_main_queue(), ^{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "molpay-mobile-xdk-reactnative-beta",
"version": "0.16.1",
"version": "0.16.2",
"description": "MOLPay mobile payment for React Native (BETA)",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit fd3f20c

Please sign in to comment.