This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Android app crashes when trying to load Deferred Component Crane #926
Comments
hrishikesh-kadam
changed the title
App crashes when trying to load Deferred Component Crane
Android app crashes when trying to load Deferred Component Crane
Apr 8, 2023
Confirmed the issue
I'll disable deferred components for now. |
This was referenced Jun 3, 2023
Merged
guidezpl
added a commit
that referenced
this issue
Jun 7, 2023
## Description ### Maintenance - Remove Firebase files to avoid crash reports from forks and update Android and iOS Firebase app ID - Fix Android crash due to missing crashlytics plugin - Regenerate `android/app/src/main/AndroidManifest.xml` - Update `android/crane/build.gradle` - Update releasing instructions - Remove Fastlane production lane for deploying directly to production (use `beta` and `promote_to_production` instead) - Regenerate Fastlane documentation - Remove macOS from Firebase config - Update `Runner.xcodeproj/project.pbxproj` and `pubspec` files ### Fixes - Disable deferred components (#926) - Respect brightness of web for the background - Adjust the logo transform animation on web - Fix Android splash screen `backgroundColor` (Fixes #930) --- >**Note**: Please find the development and releasing instructions at https://github.com/flutter/gallery#development
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Existing issue?
What happened?
Expected vs actual result:
While testing the Deferred Component feature locally
Expected - After clicking on Crane, it should load.
Actual - After clicking on Crane, the expected
DeferredWidget
is shown but the app crashes roughly after 3 seconds.Steps to reproduce:
git clone [email protected]:flutter/gallery.git
.flutter channel master
.flutter build appbundle
.bundletool build-apks --bundle=./build/app/outputs/bundle/release/app-release.aab --output=app.apks --local-testing
.bundletool install-apks --apks app.apks
.Just to mention, the release app on the Play Store is not the Deferred Component enabled build.
The last app updated on the Play Store was on 26th May 2021.
Any reason why it is not being updated?
Have I missed any updates in the Flutter community regarding Gallery App?
My primary motivation behind doing this was to test the Deferred Component in my private app.
I referred following documentations
But, once I publish the App Bundle, the
DeferredWidget
is shown but stays in that state only.I also tried to make the build
debuggable true
in the release block of bothapp
andcrane
module.But after running
bundletool install-apks --apks app.apks
, the app crashes on the initial load.I would also like to draw attention to the below note mentioned in https://developer.android.com/guide/playcore
Relevant log output
flutter doctor -v
adb logcat -d > log.txt
The text was updated successfully, but these errors were encountered: