Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Widget not updating

    Bug Reports
    20
    40
    18.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Martin ChouinardM
      Martin Chouinard
      last edited by

      The widget doesn't update automatically on my Samsung S20FE.
      I need to refresh the widget manually.
      I think it has something to do with Samsung who only grants authorization when the app is being used.
      But that wasn't the case a few months ago or on my previous Samsung phone.

      MarkNagyM 1 Reply Last reply Reply Quote 1
      • MarkNagyM
        MarkNagy @Martin Chouinard
        last edited by

        @martin-chouinard Hi. Can you try turning battery mode for windy to "Unrestricted"? This should help. Here are the steps to change the battery mode:

        1. long press on the windy icon -> this should bring out a little menu
        2. click on (i) in the circle
        3. click on Battery
        4. set to Unrestricted
        5. go back and update the widget once again manually

        Next time the widget should update automatically.

        sc (7).jpeg

        Z 1 Reply Last reply Reply Quote 1
        • Z
          zgfg @MarkNagy
          last edited by

          Your manifest is totally empty:

          App must request
          ACCESS_BACKGROUND_LOCATION

          Without, widget (working as the app in background) cannot obtain location and cannot update forecast

          It's terrible, every time I have to long press on Widget and take Edit, scroll down and press Install widget

          After that it shows data but it will not update, and will not show new location when I go to the office, back home, etc

          Otherwise, after the boot widget stays empty forever - once I left it and it didn't show data for the whole day

          And notification Widget is updating stays forever.

          Autostart enabled. Battery Optimization disabled, Location access granted

          Your previous version worked fine, this happened few days ago after your update

          I have four other different weather apps and their widgets - all the other work fine, auto update location and show data. Except your Windy after the update

          Please fix

          Android 13

          I

          Z b.sahlbergB K O 6K 3 Replies Last reply Reply Quote 3
          • Z
            zgfg @zgfg
            last edited by zgfg

            See
            https://developer.android.com/training/location/permissions

            Quoting:

            "On Android 10 (API level 29) and higher, you must declare the ACCESS_BACKGROUND_LOCATION permission in your app's manifest in order to request background location access at runtime"

            TeaKaveT 1 Reply Last reply Reply Quote 1
            • TeaKaveT
              TeaKave @zgfg | Premium
              last edited by

              @zgfg Hi. We already implemented background location usage. Version 39 includes this functionality. You can allow background location either from the widget settings or manually in the application permission settings.

              Z 2 Replies Last reply Reply Quote 0
              • Z
                zgfg @TeaKave
                last edited by zgfg

                @TeaKave When I run
                [Code]
                dumpsys package com.windyty.android | grep LOCATION | grep granted
                [/Code]
                I obtainn
                [Code]
                android.permission.ACCESS_FINE_LOCATION: granted=true, flags=[ USER_SENSITIVE_WHEN_GRANTED|USER_SENSITIVE_WHEN_DENIED]
                android.permission.ACCESS_COARSE_LOCATION: granted=true, flags=[ USER_SENSITIVE_WHEN_GRANTED|USER_SENSITIVE_WHEN_DENIED]
                android.permission.ACCESS_BACKGROUND_LOCATION: granted=false, flags=[ USER_SENSITIVE_WHEN_GRANTED|USER_SENSITIVE_WHEN_DENIED|APPLY_RESTRICTION]
                [Code]

                How can I upload you screenshots from my Settings /Apps / Windy to show that I don't have any option to grant Location in the background
                I can only have Location: Always (I granted), Only when using app, Deny

                1 Reply Last reply Reply Quote 1
                • Z
                  zgfg @TeaKave
                  last edited by

                  @TeaKave Screenshots from my Settings, showing that Location (Foreground) is granted but there is no option to grant Background Location

                  And from ADB, showing that FINE and COARSED LOCATION is granted but not BACKGROUND

                  https://mega.nz/folder/hllnSIpA#amAG8moMYW_tG8r731Tzgg

                  MarkNagyM 1 Reply Last reply Reply Quote 1
                  • MarkNagyM
                    MarkNagy @zgfg
                    last edited by

                    @zgfg You have two options.

                    1. Option:
                    • long tap on Windy logo
                    • tap on (i) icon
                    • tap on Permissions
                    • tap on Location
                    • tap on Allow all the time

                    Screenshot_20230722_192534_One UI Home.jpg Screenshot_20230722_192542_Settings.jpg Screenshot_20230722_192548_Permission controller.jpg Screenshot_20230722_192554_Permission controller.jpg

                    1. Option:
                    • add a widget to your home screen (or open widget settings)
                    • click on Update settings
                    • tap on Allow all the time

                    Screenshot_20230722_192627_Windy.jpg

                    Z 1 Reply Last reply Reply Quote 1
                    • Z
                      zgfg @MarkNagy
                      last edited by

                      @MarkNagy Please see on my screenshot - link in the previous answer, I allready had granted ALLOWED ALL TIME Location to Windy

                      Besides, I'm not the only one (I'm on Xiaomi), but you have users from Samsung etc reporting the same issue


                      Btw, I have solved now but by ADB,, specifically granting BACKGROUND LOCATION permission

                      1 Reply Last reply Reply Quote 1
                      • ?
                        A Former User
                        last edited by

                        Same here Samsung S21fe, won't update widget... premium paid, .everything enabled and granted. Stoped working after latest app update. Please fix.

                        SutyS 1 Reply Last reply Reply Quote 2
                        • SutyS
                          Suty Administrator @A Former User
                          last edited by

                          @Pavel-Abraham @zgfg It is possible that you had all of this turned on, but the last update changed a lot in the code and it is necessary to implement this once again, so please check steps from @MarkNagy or you can check this post here.

                          1 Reply Last reply Reply Quote 1
                          • b.sahlbergB
                            b.sahlberg @zgfg | Premium
                            last edited by

                            @zgfg I have the exact same problem on my Google Pixel 7 Pro since the last app update. Running the latest Android 13 which isn't beta. Pls come up with a fix asap.

                            B 1 Reply Last reply Reply Quote 1
                            • B
                              biterope @b.sahlberg | Premium
                              last edited by

                              Same issue on my s20.... I've tried all the "fixes" and nothing works... the only way is to delete the widget and re-add it every time. Every other widget I've tried works just fine so it's clearly a Windy issue.

                              1 Reply Last reply Reply Quote 1
                              • J
                                Jamitt | Premium
                                last edited by Jamitt

                                REVISED: All the permissions were already set properly. Uninstall and reinstall, then redo the widgets made some progress. (Got a few requests for permissions again.) Rebooting seems to show the content of the widget (it was blank before) BUT, the Updating Widget icon in the status bar never goes away and the Widget never updates.

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jamitt @Jamitt | Premium
                                  last edited by

                                  @Jamitt said in Widget not updating:

                                  REVISED: All the permissions were already set properly. Uninstall and reinstall, then redo the widgets made some progress. (Got a few requests for permissions again.) Rebooting seems to show the content of the widget (it was blank before) BUT, the Updating Widget icon in the status bar never goes away and the Widget never updates.

                                  Problem has returned. When the device is started, blank radar widget with spinning icon. The only fixes are either deleting the widget and re-creating it, or clearing cache. Furthermore, the widget does not update. Reverting back to the previous version of Windy until this gets fixed...

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jswindy2 | Premium
                                    last edited by

                                    Google Pixel 6, latest update, all permissions on, widget doesn't update the current temperature (forecast updates fine). Also three dots button on widget is nonfunctional and the previous "refresh" icon is gone. Very poor update.

                                    1 Reply Last reply Reply Quote 1
                                    • K O 6K
                                      K O 6 @zgfg
                                      last edited by

                                      Galaxy S21, Android 13, same story

                                      1 Reply Last reply Reply Quote 0
                                      • Kővágó ZoltánK
                                        Kővágó Zoltán
                                        last edited by

                                        I had the same issue on Samsung A53, tried all the permission grants as written in many comments, but still no success.

                                        What helped me though and seemed to be the missing step was unchecking the "Remove permission if app is unused" checkbox under the app info (long press the widget, then hit "i" to get there). Since I unchecked this, the widget update notification disappeared and the widget is updated regularly.

                                        1 Reply Last reply Reply Quote 1
                                        • SutyS
                                          Suty Administrator
                                          last edited by

                                          Please can you check the last update released at the end of the week? It should solve all issues with bad communication of widgets, more info here.

                                          1 Reply Last reply Reply Quote 0
                                          • Václav PoláčekV
                                            Václav Poláček
                                            last edited by

                                            latest update broke widget on my side, redmi note 9 with android 12

                                            SutyS 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                                            NodeBB & contributors, OSM & contributors, HERE maps
                                            Terms of Use     Privacy Policy