|
@@ -1,5 +1,6 @@
|
1
|
1
|
package com.reactnativenavigation;
|
2
|
2
|
|
|
3
|
+import android.content.Intent;
|
3
|
4
|
import android.os.Bundle;
|
4
|
5
|
import android.support.annotation.Nullable;
|
5
|
6
|
import android.support.v7.app.AppCompatActivity;
|
|
@@ -50,6 +51,12 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
|
50
|
51
|
}
|
51
|
52
|
}
|
52
|
53
|
|
|
54
|
+ @Override
|
|
55
|
+ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
|
56
|
+ super.onActivityResult(requestCode, resultCode, data);
|
|
57
|
+ getReactGateway().onActivityResult(this, requestCode, resultCode, data);
|
|
58
|
+ }
|
|
59
|
+
|
53
|
60
|
@Override
|
54
|
61
|
public void onBackPressed() {
|
55
|
62
|
getReactGateway().onBackPressed();
|