File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
android/src/main/java/com/hoxfon/react/RNTwilioVoice Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ public class MainActivity extends ReactActivity {
119119 protected Bundle getLaunchOptions() {
120120 Bundle initialProperties = new Bundle();
121121 Intent intent = this.getPlainActivity().getIntent();
122- if (intent == null) {
122+ if (intent == null || intent.getAction() == null ) {
123123 return initialProperties;
124124 }
125125 switch (intent.getAction()) {
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ public void onHostResume() {
147147 registerReceiver ();
148148
149149 Intent intent = getCurrentActivity ().getIntent ();
150- if (intent == null ) {
150+ if (intent == null || intent . getAction () == null ) {
151151 return ;
152152 }
153153 int currentCallInviteIntent = intent .hashCode ();
You can’t perform that action at this time.
0 commit comments