gurisko / cordova-plugin-accountkit

AccountKit Plugin for Apache Cordova which allows you to add passwordless email and SMS authentication to your app
MIT License
34 stars 42 forks source link

onActivityResult returning null intent #26

Open MaximeLassalleHub opened 7 years ago

MaximeLassalleHub commented 7 years ago

Hi, When login with email AND opening my email inside the app (not opening the email outside afer pausing my app), the callback function is never called due to this condition:

  // Sometimes intent is null what crashes the app. This is a workaround rather than a solution.
    if (requestCode != APP_REQUEST_CODE || intent == null) {
      return;
    }

Is the issue on the FB DK side?

Thank you,