question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android platform specific changes not working.

See original GitHub issue

Android specific changes are not able to implement in the mainactivity.cs as the Microsoft.Identity.Client doesnt have the classes. Look like its working fine, Sample targeting different monversion where as mine is 60. Is the library specific to a target ? In my VS 2017 Preview version its automatically targeting to the below monoversions.

<?xml version="1.0" encoding="utf-8"?> <packages> <package id="Microsoft.CSharp" version="4.3.0" targetFramework="monoandroid60" /> <package id="Microsoft.Identity.Client" version="1.1.0-preview" targetFramework="monoandroid60" /> <package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="monoandroid60" /> <package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="monoandroid60" /> <package id="NETStandard.Library" version="1.6.1" targetFramework="monoandroid60" /> <package id="Newtonsoft.Json" version="10.0.3" targetFramework="monoandroid60" /> <package id="System.AppContext" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Collections" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Collections.Concurrent" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.ComponentModel.TypeConverter" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Console" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Globalization" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Globalization.Calendars" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.IO" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.IO.Compression" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.IO.FileSystem" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.IO.FileSystem.Primitives" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Linq" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Linq.Expressions" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Net.Http" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Net.Primitives" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Net.Sockets" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.ObjectModel" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Reflection" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Reflection.Extensions" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Reflection.Primitives" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Runtime" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Runtime.Extensions" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Runtime.Handles" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Runtime.Numerics" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Runtime.Serialization.Formatters" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Runtime.Serialization.Json" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Runtime.Serialization.Primitives" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Text.Encoding" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Threading" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Threading.Tasks" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Threading.Timer" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Xml.XDocument" version="4.3.0" targetFramework="monoandroid60" /> <package id="System.Xml.XmlDocument" version="4.3.0" targetFramework="monoandroid60" /> <package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" /> <package id="Xamarin.Android.Support.Design" version="23.3.0" targetFramework="monoandroid60" /> <package id="Xamarin.Android.Support.v4" version="23.3.0" targetFramework="monoandroid60" /> <package id="Xamarin.Android.Support.v7.AppCompat" version="23.3.0" targetFramework="monoandroid60" /> <package id="Xamarin.Android.Support.v7.CardView" version="23.3.0" targetFramework="monoandroid60" /> <package id="Xamarin.Android.Support.v7.MediaRouter" version="23.3.0" targetFramework="monoandroid60" /> <package id="Xamarin.Android.Support.v7.RecyclerView" version="23.3.0" targetFramework="monoandroid60" /> <package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" /> <package id="Xamarin.Forms" version="2.3.4.247" targetFramework="monoandroid60" /> </packages>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:26 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
himadrinathcommented, Apr 26, 2018

@jennyf19 any update?

1reaction
himadrinathcommented, Apr 24, 2018

@jennyf19 i used

<data android:scheme="msal{appid}" android:host="auth" />

and i also gave those permission

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio not deploying changes to app
Just go to "File -> Settings -> Build, Execution, Deployement -> Instant Run" and just disable it. With this Android Studio builds from...
Read more >
Known issues with Android Studio and Android Gradle Plugin
To fix this, click Run > Edit Configurations and remove the incorrectly-created configurations.
Read more >
Compatibility framework tools
Use the compatibility framework to help isolate changes while testing and debugging your apps.
Read more >
Handle configuration changes
Some device configurations can change while the app is running. These include, but aren't limited to: App display size; Screen orientation ...
Read more >
Migrate apps to Android 12
Some platform changes can affect the way your app behaves, ... Make only the code changes required to adapt to behavior changes or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found