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 @@ -120,7 +120,7 @@ public class MainActivity extends ReactActivity {
120120 protected Bundle getLaunchOptions () {
121121 Bundle initialProperties = new Bundle ();
122122 Intent intent = this . getPlainActivity(). getIntent();
123- if (intent == null ) {
123+ if (intent == null || intent . getAction() == null ) {
124124 return initialProperties;
125125 }
126126 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