pock / weather-widget

Stay updated with the latest weather forecast for your current location.
5 stars 5 forks source link

Issue: Unknown Information #7

Open appleshoops opened 2 years ago

appleshoops commented 2 years ago

Hi! Love the app btw. Its so helpful. I have an issue with the weather widget though. It won't actually tell me the weather... It just says unknown information? Is there something I can do to fix it?

cshariq commented 1 year ago

I have pushed a pull request to fix this issue.

if you'd like to try it out right now you can download it by clicking download on the menubar and open it, it will automatically install and replace the existing weather widget in pock: https://1drv.ms/f/s!Avh9vuHTyquQgdEJkt0NEVijldRXzQ?e=wtfRRY

Make sure you give pock location permissions because the weather widget now dynamically updates your location using the bing maps api instead of a preset.

turannul commented 1 year ago

https://1drv.ms/f/s!Avh9vuHTyquQgdEJkt0NEVijldRXzQ?e=wtfRRY Download link is dead can you share again, upload in your fork?

cshariq commented 1 year ago

Here the link has been fixed, i've also added a release in my fork: Download link: https://1drv.ms/f/s!Avh9vuHTyquQgdEJuAyeGYjErKJ1uQ?e=3yEonL Fork Release link: https://github.com/cshariq/weather-widget-1/releases/tag/%23release3.0

turannul commented 1 year ago

Here the link has been fixed, i've also added a release in my fork: Download link: https://1drv.ms/f/s!Avh9vuHTyquQgdEJzsEQxWpHsNEnWQ?e=b3YnbQ Fork Release link: https://github.com/cshariq/weather-widget-1/releases/tag/%23release

Thanks!

turannul commented 1 year ago

Make sure you give pock location permissions

Pock app doesn't asks for, and I can't add manually. Widget got stuck at Fetching Data

cshariq commented 1 year ago

Pock app doesn't asks for, and I can't add manually. Widget got stuck at Fetching Data

Seems like a recent issue with mac os where the + and - icons are gone disabling users to manually give apps location permissions. Even i can't add or remove permissions via settings now. I'll test the fix i have on another device and update the fork and releases by tomorrow so that it will show mac os's location permission dialogue.

cshariq commented 1 year ago

Pock app doesn't asks for, and I can't add manually. Widget got stuck at Fetching Data

After some digging i found out that pock will show up in privacy and security > location services in ventura 13.4 and below if you're running version 13.5 of mac os ventura than no app will show up in the list, not even the stock weather app, so as of right now on the latest version of mac os it's impossible to grant pock location permissions. I also noticed that on some devices it might show an invalid bundle error, i've published a new release to fix this issue. As of right now it will take me some more time to figure out how to ask for location permission on pock's behalf as it is undocumented.

If you're running mac os ventura 13.4 or below install the widget and relaunch pock, afterwards navigate to settings and find pock in the following list and allow it to access your location:

Screenshot 2023-08-04 at 10 31 02 PM

Then relaunch pock or tap on the weather widget, to get the weather.

If you're on ventura 13.5 as you can see nothing shows up so you won't be able to enable location services for pock, you'll have to wait for the next bug fix update.

Screenshot 2023-08-04 at 10 36 01 PM

Sorry for the inconvenience!

turannul commented 1 year ago

Pock app doesn't asks for, and I can't add manually. Widget got stuck at Fetching Data

After some digging i found out that pock will show up in privacy and security > location services in ventura 13.4 and below if you're running version 13.5 of mac os ventura than no app will show up in the list, not even the stock weather app, so as of right now on the latest version of mac os it's impossible to grant pock location permissions. I also noticed that on some devices it might show an invalid bundle error, i've published a new release to fix this issue. As of right now it will take me some more time to figure out how to ask for location permission on pock's behalf as it is undocumented.

If you're running mac os ventura 13.4 or below install the widget and relaunch pock, afterwards navigate to settings and find pock in the following list and allow it to access your location: Screenshot 2023-08-04 at 10 31 02 PM Then relaunch pock or tap on the weather widget, to get the weather.

If you're on ventura 13.5 as you can see nothing shows up so you won't be able to enable location services for pock, you'll have to wait for the next bug fix update. Screenshot 2023-08-04 at 10 36 01 PM

Sorry for the inconvenience!

I just retried with latest Release it doesn't show prompt (missing implementation or OS bug not sure) Pock app placed in Location Services menu, allowed and it working now.

cshariq commented 1 year ago

I just retried with latest Release it doesn't show prompt (missing implementation or OS bug not sure) Pock app placed in Location Services menu, allowed and it working now.

  • Edit Icon + Temperature would be awesome, If you can make it real. Thanks again

If you provide me the icons I can make a new release with an additional option for your icon pack. Unfortunately because of the implementation, it would make the settings menu quite cluttered if I add a way to manually add custom icons. Also not sure what you mean by adding temperature as it is already displayed, if you can expand on it I can possibly implement it.

turannul commented 1 year ago

I just retried with latest Release it doesn't show prompt (missing implementation or OS bug not sure) Pock app placed in Location Services menu, allowed and it working now.

  • Edit Icon + Temperature would be awesome, If you can make it real. Thanks again

If you provide me the icons I can make a new release with an additional option for your icon pack. Unfortunately because of the implementation, it would make the settings menu quite cluttered if I add a way to manually add custom icons. Also not sure what you mean by adding temperature as it is already displayed, if you can expand on it I can possibly implement it.

Icon + Tempature, i mean ability to show/hide the location information

lw404-ai commented 1 year ago

macOS 13.5.1 has resolved the issue with location software. Now you can grant pock location permission and then restart to resolve it.

image
cshariq commented 1 year ago

Icon + Tempature, i mean ability to show/hide the location information

I have added a new release which have some new features and allows you to show the icon and temp only.