Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    moljac
    @moljac
    It is on master of AndroidX. Build it and you will get nugets.
    And BTW if you are using GooglePlayServices and Firebase - those are showstopper for AndroidX. Namely artifacts with AndroidX dependencies are bound but not tested yet.
    Thekart
    @Thekart
    Create Single sign-on (SSO) for Mobile App (Android) using LDAP?
    Tomasz Cielecki
    @Cheesebaron
    Why is there a difference between how resources are generated in an Android Library and an Android App? In a Library the fields are marked public static in an App they are marked public const
    Dean Ellis
    @dellis1972
    Because when we build the final app the Id’s compiled into the libraries you are using are incorrect. So they need to be updated from the values the app has. Hence they are static not const
    IoTFier
    @IoTFier
    HI @moljac , @jonpryor - here is the error details from the android studio logcat - 2019-12-19 18:32:10.236 9402-9402/IoTFier.MedGPS E/FragmentManager: No field with the name mListener is found in Animation class
    java.lang.NoSuchFieldException: No field mListener in class Landroid/view/animation/Animation; (declaration of 'android.view.animation.Animation' appears in /system/framework/framework.jar!classes3.dex)
    at java.lang.Class.getDeclaredField(Native Method)
    at android.support.v4.app.FragmentManagerImpl.getAnimationListener(FragmentManager.java:1301)
    I hope it is same was you are addressing in your fix
    It is on master of AndroidX. Build it and you will get nugets.
    Thank you. Will do. When will this be pushed in VS?
    moljac
    @moljac
    @IoTFier
    This 2nd error has very little to do with AndroidX. Be carefull not to mix old/legacy Android.Support and AndroidX and (FOR NOW) GooglePlaySerives with Firebase.
    IoTFier
    @IoTFier
    I m not using GooglePlayServices with Firebase (yet)
    But do have Android.support libraries as a part of migraing to AndroidX
    will remove those when the compilation is error free
    moljac
    @moljac

    Thank you. Will do. When will this be pushed in VS?

    Previews are already out. The difference is less than minimal. For rc1 and stable we just do numerous tests.

    Jonathan Dick
    @Redth
    This is fixed in upcoming rc1
    I had the media route listener thing too. We fixed it in master just waiting for a release. Hopefully today
    IoTFier
    @IoTFier
    awesome ! thank you @Redth
    Martz
    @Martz2804_twitter
    hello. Do you have a timeline for a fix for xamarin/xamarin-android#3852 If you don't, I'd like to know so I can't revert and unblock my users. Thanks!
    Jonathan Pryor
    @jonpryor
    @radekdoulik is looking into it
    I don't think it will be "soon". "Weeks" best case for a release to stable, months worst.
    Martz
    @Martz2804_twitter
    Ok, I'll revert then. Thanks
    Gekidoku
    @Gekidoku

    @jonathanpeppers Thought you would want an update, In the end it was a combination of the conditions my users were in, and me apparently scuffing up.
    Part 1. Apparently my users were often times in an area where they only barely had a 3G connection, Thus the default timeout time of the http client was too short for requests to complete, Solution, make the timeout a bit longer.

    Part 2, Me scuffing up,
    Apparently i had some debug code in the server on certain requets, IE the ones that are called in onresume and onstart, that in certain edge cases, (No/wrong permissions on database/tables,) it would return an empty string, Now i allowed the Json parsing to go through if the result was not null and it was not "offline", So the deserializer got passed an empty string, the model it had to deserialize to had only nullable values so it passed, but then if i tried to get an element of the model it would nullref. Fixed by not being dumb and returning null instead. This was also the case in my async GET manager. that would return an empty string instead of null.

    Lessons learned,
    Use the custom error tracing that appcenter provides,
    Call the clients that its crashing for.

    IoTFier
    @IoTFier
    Hi @jonpryor , @Redth , @dalexsoto and @jonathanpeppers - any guidance on detecting the issue behind an error - android.util.AndroidRuntimeException: Animators may only be run on Looper threads
    at android.animation.AnimatorSet.start(AnimatorSet.java:705)
    at android.animation.AnimatorSet.start(AnimatorSet.java:684) ? I don't know which of my new nuget package updates may have caused this. The same XF App on iOS works just fine. Your thoughts will be appreciated.
    Shane Neuville
    @PureWeen

    That exception is basically saying that piece of code needs to run on the ui thread. That's what the looper thread is.

    So something in your code is triggering off the ui thread that needs to be marshaled to the ui thread

    IoTFier
    @IoTFier
    Hi @PureWeen - thank you. There was no change on my code. I located the issue. It is due to the latest update of the Syncfusion SfTabView control to the latest version 17.4.0.40 , and as a result it is throwing that error randomly on selecting SfTabItems (tab item 3 onward). Downgrading that version to 17.4.0.39 removed that error. An incident report on Syncfusion support is created. Anyone here from syncfusion or @syncsiva to look into this ?
    Tomasz Cielecki
    @Cheesebaron
    Uhm. Would be really nice if xamarin/xamarin-android#4062 got fixed. It is only 1 out of maybe 10 builds that succeed because R.java in some lib is used by some other process, for MvvmCross. It is a waste of time and resources triggering build after build to get something through...
    Jonathan Peppers
    @jonathanpeppers
    @Cheesebaron
    We have a PR for this if you think it is the same: xamarin/xamarin-android#4043
    a workaround is to downgrade to Xamarin.Build.Download 0.4.11
    the latest XBD is someone getting duplicate AndroidResource folders and causes this
    but we are fixing both sides
    Tomasz Cielecki
    @Cheesebaron
    Yeah I just searched a bit and found your issue
    Seems similar
    Will try your workaround
    Thanks!
    Tomasz Cielecki
    @Cheesebaron
    I've triggered a new build with the downgrade, hopefully this works 🤞
    Tomasz Cielecki
    @Cheesebaron
    @jonathanpeppers thank you so much. It worked!
    Jonathan Peppers
    @jonathanpeppers
    :thumbsup: we should hopefully have a fix soon as everyone gets back from the holidays
    Jonathan Dick
    @Redth
    yeah we have a PR for XBD already, just needs to be reviewed/merged/published xamarin/XamarinComponents#774
    IoTFier
    @IoTFier
    Hi @Redth - is the Xamarin component - https://github.com/xamarin/XamarinComponents/tree/master/Util/Xamarin.Build.Download - designed only for native or can it be also used in the Xamarin Forms solution a/c all platform projects including UWP ?
    Jonathan Dick
    @Redth
    i'm not entirely sure what you mean? what's the use case?
    IoTFier
    @IoTFier
    I meant can this component be referred in android, ios and UWP projects withing XF solution ? I'm trying to get familiar with the capability provided by this component.
    Daniel Cazzulino
    @kzu
    seems like our templates should do that by default so things "just work" when developing locally (maybe inside an #if DEBUG?)
    Jon Douglas
    @JonDouglas
    we can definitely add the cleartext addition in our templates. Let me add an issue there.
    Daniel Cazzulino
    @kzu
    there is already one
    Jon Douglas
    @JonDouglas
    i added a github issue and will refer these items over
    Jonathan Peppers
    @jonathanpeppers
    @kzu make sure you just enable SSL - don't do anything to turn if off in the app
    we shouldn't be pushing anyone to use http
    Daniel Cazzulino
    @kzu
    nono, the problem isn't that. It's that the dev cert from asp.net isn't trusted
    it is SSL
    Jonathan Peppers
    @jonathanpeppers
    there still might need to be a clear comment that says "don't do this in production"