You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this plugin to authenticate my Android app with Azure AD. I have set up an app on the Azure side, as needed. On login, though, I'm getting this error: Error Logging in! Error: java.lang.NoSuchMethodError: No static method addCallback(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback;)V in class Lcom/google/common/util/concurrent/Futures; or its super classes (declaration of 'com.google.common.util.concurrent.Futures' appears in /data/app/<app info>==/base.apk)
In terms of behaviour: when I click the button that should send me to Azure AD Auth, a pop-up comes up with nothing on it, then disappears.
As background: I have been unable to add the ALLOWED EXTERNAL REDIRECT URLS, since I can't find that specific setting in my Azure AD portal. The screen-shot that the README.md links to just does not exist in my login. There IS a way to add a Redirect URL for an Android app, but that URL is generated automatically by the portal (App name > Authentication > Android > Add URI). There, I add my package name and it generates a signature hash and a URL of the format msauth://<package-name>/<encoded signature hash>.
I have tried this with both formats of the redirect URLs, as implied above (with the msauth and the easyauth options) and both cause the same error.
I have tried the proplugins version of this plugin, too, and that gives me a whole different error (Error Logging in! Error: java.lang.ClassCastException: com.tns.NativeScriptApplication cannot be cast to android.app.Activity). I don't know where to report that error and look for help.
I am using Nativescript 7.2.1, tns-android 6.5.3.
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
I'm using this plugin to authenticate my Android app with Azure AD. I have set up an app on the Azure side, as needed. On login, though, I'm getting this error:
Error Logging in! Error: java.lang.NoSuchMethodError: No static method addCallback(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback;)V in class Lcom/google/common/util/concurrent/Futures; or its super classes (declaration of 'com.google.common.util.concurrent.Futures' appears in /data/app/<app info>==/base.apk)
In terms of behaviour: when I click the button that should send me to Azure AD Auth, a pop-up comes up with nothing on it, then disappears.
As background: I have been unable to add the ALLOWED EXTERNAL REDIRECT URLS, since I can't find that specific setting in my Azure AD portal. The screen-shot that the README.md links to just does not exist in my login. There IS a way to add a Redirect URL for an Android app, but that URL is generated automatically by the portal (App name > Authentication > Android > Add URI). There, I add my package name and it generates a signature hash and a URL of the format
msauth://<package-name>/<encoded signature hash>
.My code looks somewhat like this:
I have tried this with both formats of the redirect URLs, as implied above (with the msauth and the easyauth options) and both cause the same error.
I have tried the proplugins version of this plugin, too, and that gives me a whole different error (
Error Logging in! Error: java.lang.ClassCastException: com.tns.NativeScriptApplication cannot be cast to android.app.Activity
). I don't know where to report that error and look for help.I am using Nativescript 7.2.1, tns-android 6.5.3.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: