preloader
軟體工程 Flutter Android_alarm_manager problem

Exception name: PluginRegistrantException Error message: PluginRegistrantCallback is not set. Did you forget to call AlarmService.setPluginRegistrant? See the README for instructions. Solution: Simply open the android project. Perform a Gradle sync. Next, do a “build -> clean project” and “build -> rebuild project”. Ref. link: https://stackoverflow.com/a/54972225/2704360

read more
軟體工程 Open an App crash because AppBundle change behavior in Android gradle 3.3.1

When an app is put at sdcard, open it then crash because AppBundle change behavior between Android gradle plugin version 3.2 and 3.3. Reference link: https://forum.unity.com/threads/app-bundle-and-external-storage.633082/ , https://issuetracker.google.com/issues/123070510 , https://issuetracker.google.com/issues/127691101 Got an exception: java.lang.unsatisfiedlinkError 我用 AppBundle 方式編譯我的 App,放在手機 internal storage 可以正常執行,但放在 sd card 則無法執行

read more
軟體工程 Pass arguments between Flutter app screens by Navigator.pushName()

Suppose your app, which built by flutter 1.2, has ItemListScreen and ItemDetailScreen, and this app uses named route to manage routing of app. Users can click one of item in ItemListScreen and then ItemDetailScreen will show detail information of the clicked item. You can find following example to decouple between screens by no need importing ItemDetailScreen class to ItemListScreen file. Solution: Use ModalRoute.of(context).settings.arguments in your routes.dart file to pass arguments

read more

About

Howard Lee is a Staff Software Engineer based in Taipei, specializing in frontend architecture, CI/CD, and production-quality engineering for enterprise web applications. With 13+ years of software development experience, Howard has worked across B2B SaaS, IoT energy-management platforms, online travel marketplaces, and Android applications. His work focuses on modernizing large frontend systems, improving delivery quality, and building reliable product workflows with automated testing, observability, and practical cloud/platform integration. Core Expertise Frontend architecture: Angular 5 to 19 modernization, TypeScript, JavaScript, React, Next.

Know More

Tag

Social