以下是我使用 Flutter 開發 Android app 中遇到的疑惑 問題:請問有人成功用 flutter 製作的 android app 分享檔案(例如,副檔名.tar)到其他 app(Dropbox, GoogleDrive) 我在 android 8 測試我的 app 分享檔案(xx
read moreException 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 moreWhen 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 moreTwo articles about Flutter bloc, rxdart and stream Concept and tutorial: https://www.didierboelens.com/2018/08/reactive-programming—streams—bloc/ Practice and scenario example: https://www.didierboelens.com/2018/12/reactive-programming—streams—bloc—practical-use-cases/
read moreSuppose 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 moreO-Bank 王道銀行我的新人開戶推薦連結,歡迎使用我的推薦連結。 現在正在進行 新人開戶推薦活動: 期間新戶限定新台幣高利活動 v.s. 消費累積滿2000元送500
read more