Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] type 'Null' is not a subtype of type 'Map<String, dynamic>' #2

Closed
Daenges opened this issue Mar 19, 2024 · 4 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Daenges
Copy link

Daenges commented Mar 19, 2024

In the last few days I got this error message by opening the Home or Short Links tab.

Works fine in browser.

Screenshot_20240319-152021.png

@rainloreley rainloreley added the bug Something isn't working label Mar 19, 2024
@rainloreley rainloreley self-assigned this Mar 19, 2024
@rainloreley
Copy link
Owner

rainloreley commented Mar 19, 2024

Hi, thanks for reporting the issue! As far as I can tell, this bug is caused by the new dynamic redirects feature in Shlink v4.0.0, more specifically the restructuring of device specific redirects (shlinkio/shlink#1914). Previously they had their own entry in the data, but they seemingly removed that and moved it to dynamic redirects. This means the app currently can't detect these device specific URLs and fails.

I'll try to fix the issue in the next few days and push an update. Sadly they changed the spec of the v3 API (which Shlink Manager uses), instead of publishing a new API version (which I kinda expect when the response data format gets changed, so I did not consider this during development), so the app will be broken until I can fix this :/

@arpanghosh8453
Copy link

Sorry to hear this. Do you have any update on this yet?

Thanks again for all the hard work ❤️

@rainloreley
Copy link
Owner

I temporarily fixed the issue by removing device specific URLs for now, the update should be available soon (i'll upload it in a few minutes). Sorry for the delay, I've been quite busy the last few weeks

@arpanghosh8453
Copy link

No worries. Thank you for the hard work! Appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants