atsign-foundation / at_widgets

Flutter widgets which aid in building applications using Atsign's technology
https://docs.atsign.com
BSD 3-Clause "New" or "Revised" License
52 stars 33 forks source link

fix: resolve flutter static analysis issues (beta) #852

Closed srieteja closed 1 month ago

srieteja commented 1 month ago

Closes https://github.com/atsign-foundation/at_widgets/issues/847 - What I did

- How to verify it

  1. All github actions should pass
  2. Manual testing completed

- Description for the changelog

fix: resolve flutter static analysis issues (beta)

cpswan commented 1 month ago

@srieteja I've converted this to draft until you can confirm that testing has happened. Do you need help from @CurtlyCritchlow ?

It's good to see the automated tests all green :)

srieteja commented 1 month ago

I would appreciate the help, if @CurtlyCritchlow does have bandwidth available.

CurtlyCritchlow commented 1 month ago

@srieteja Let's check off the packages as we finish manually testing.

srieteja commented 1 month ago

I've tested the example apps of at_chat_flutter, at_contacts_flutter and at_contacts_group_flutter. All of these show only an onboarding_screen. (I was expecting to see chat/contact widgets on the homepage. Actual widgets might be displayed after onboarding)

Issues Observed (on Android)

  1. at_chat_flutter: when I try to onboard/create a new atsign it just gets stuck on a loading screen
  2. at_contacts_flutter, at_contacts_group_flutter: when I try to fetch a new atsign, it shows an error dialogue "Unauthorized" (Possibly a missing API key or an old one).
  3. There are compatibility issues as the current apps are on 'compileSdkVersion 33', but during build, I was prompted to upgrade to 'compileSdkVersion 34'. Without this change, the build process fails (Not sure if this was something related to my Android SDK setup or current Android platform requirement)

Note: Since these are onboarding issues, the root cause might be lying somewhere in at_onboarding_flutter

Since this PR only contains changes to display elements, likely, the changes in this PR do not cause these issues. But we need a separate ticket to address these issues (@CurtlyCritchlow and I will discuss and create a new ticket for this)

srieteja commented 1 month ago

showcaseview has released a new major version '3.0.0' during the weekend. I will go ahead and upgrade this dependency for all the packages

CurtlyCritchlow commented 1 month ago

showcaseview has released a new major version '3.0.0' during the weekend. I will go ahead and upgrade this dependency for all the packages

@srieteja, You have to update it in at_backup_flutter. Once that package is updated and published, the issue will be resolved in all the other packages.

srieteja commented 1 month ago

showcaseview has released a new major version '3.0.0' during the weekend. I will go ahead and upgrade this dependency for all the packages

@srieteja, You have to update it in at_backup_flutter. Once that package is updated and published, the issue will be resolved in all the other packages.

Yes @CurtlyCritchlow. I have upgraded it in at_backup_flutter, I'm testing all the other packages using a dep_override for at_backup_flutter

srieteja commented 1 month ago

I've tested the example apps of at_chat_flutter, at_contacts_flutter and at_contacts_group_flutter. All of these show only an onboarding_screen. (I was expecting to see chat/contact widgets on the homepage. Actual widgets might be displayed after onboarding)

Issues Observed (on Android)

  1. at_chat_flutter: when I try to onboard/create a new atsign it just gets stuck on a loading screen
  2. at_contacts_flutter, at_contacts_group_flutter: when I try to fetch a new atsign, it shows an error dialogue "Unauthorized" (Possibly a missing API key or an old one).
  3. There are compatibility issues as the current apps are on 'compileSdkVersion 33', but during the build, I was prompted to upgrade to 'compileSdkVersion 34'. Without this change, the build process fails (Not sure if this was something related to my Android SDK setup or current Android platform requirement)

Note: Since these are onboarding issues, the root cause might be lying somewhere in at_onboarding_flutter

Since this PR only contains changes to display elements, likely, the changes in this PR do not cause these issues. But we need a separate ticket to address these issues (@CurtlyCritchlow and I will discuss and create a new ticket for this)

Update:

_Problematic Logs while creating a new atsign using at_onboardingflutter:

will be updated

CurtlyCritchlow commented 1 month ago

@srieteja all the apps work for me. It's a green light for me.

cpswan commented 1 month ago

Great work @srieteja and @CurtlyCritchlow

There's a lot going on here, and I think it's 99% good to go. Just one niggle about a(n overlooked?) dependency override.

cpswan commented 1 month ago

@srieteja are you going to take care of publishing these to pub.dev now?

srieteja commented 1 month ago

@cpswan, I will publish at_backupkey_flutter and at_onboarding_flutter later today, as these are key packages. @CurtlyCritchlow and I can coordinate on publishing the rest.