by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    TonyLugg
    @TonyLugg
    I'd rather not use FIrebase for iOS.
    Gekidoku
    @Gekidoku
    I dont use azure myself, i just use fcm
    TonyLugg
    @TonyLugg
    The Azure part works well for me. I'll dig more into interactive notifications for Android. Perhaps the links you provided will help.
    Gekidoku
    @Gekidoku
    Or you could at least look how they do it in the android source and copy the parts you could use
    TonyLugg
    @TonyLugg
    Exactly! Thanks.
    TonyLugg
    @TonyLugg
    @Gekidoku Looks like there is a Notification.Action.Builder for Android notification buttons.
    Gekidoku
    @Gekidoku
    @jonathanpeppers Update,
    Its not the license its crashing on.
    It crashes on the line thats Line 21 in the pastebin https://pastebin.com/TkRkavGd
    with the last build we did yesterday i generated symbols as well. and symbolicated
    Gekidoku
    @Gekidoku
    going to check for Crossfirebaseyadiyada.current == null
    and if so call the register method that should fill it.
    Jonathan Peppers
    @jonathanpeppers
    :thumbsup: yeah I’m not sure what sets that value, how it would become null
    Gekidoku
    @Gekidoku
    Its from another package so havent looked at it
    Grace Fleming
    @flemingg_gitlab
    Question for the masses...I'm working on trying to put my xamarin-android project into a docker image so I can run it in gitlab pipelines. So far I've gotten to errors similar to what @tstivers1990 had when this issue was last discussed using a base mono image (taken from https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Mono.gitlab-ci.yml), around June 4th 2016. Do you know if there's been any development into creating a working docker image? I've also checked out https://github.com/nathansamson/xamarin-android-docker/blob/master/Dockerfile but I ran into errors similar to the ones using the mono image.
    (disclaimer: I'm new on here, sorry if this isn't the correct way to go about addressing this question)
    IoTFier
    @IoTFier
    Hi @jonpryor - trying to migrate my XF Android project to AndroidX .. getting error - error: OnDynamicRoutesChangedListener is not public in DynamicGroupRouteController; cannot be accessed from outside package androidx.mediarouter.media.MediaRouteProvider.DynamicGroupRouteController.OnDynamicRoutesChangedListener ... any clue ?
    IoTFier
    @IoTFier
    And the build is running forever... after it showed the Time Elapsed of 00:05:47:43
    IoTFier
    @IoTFier
    moljac
    @moljac
    MediaRouteProvider.DynamicGroupRouteController.OnDynamicRoutesChangedListenerissue has been fixed this week. Not yet in preview, rc1 nor stable yet
    @IoTFier ^
    IoTFier
    @IoTFier
    thank you @moljac. I am using VS 16.4.2 ... stopped my build, cleaned solution and started the rebuild... it seems to be building this time very well...
    no ... it failed again for the same error.
    is there a nuget that you can pass it to me .. would test it for you before your release go out ...
    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