Skip to main content

Posts

Add flutter to existing app — Challenges

I am using flutter last 2 year & successfully released 2 flutter apps on production before 2–3 month, decide to add flutter in existing android & iOS app(while it was in beta-experimental stage). Flutter team have provide better way to add same in flutter v1.2 —  Good document than beta. Article is not about integrate flutter in existing app but, It’s about challenges which i have faced after adding flutter in existing app. I have integrate flutter module with my existing iOS & Android App (Same Application for both platform), developed 2 new features in flutter module & released successfully. In last week I have to add new feature in flutter module which user is able to pick file from phone & upload it on server. I have decided to use  file_picker: ^1.4.3+2 . Now, what I have is Native Application + Flutter Module < = > Image_picker Plugin in one App. In which I faced below challenges. Same time flutter v1.12 released Add-to-app
Recent posts

ANDROID MATERIAL DESIGN Support 23.2.0 (Bottom Sheets) - 6

Android Support Library 23.2 The  Design Support Library  provides implementations of many patterns of  material design . This release allows developers to easily add  bottom sheets  to their app. its very simple to added bottom sheet in your existing app. by doing some minor changes. Before go ahead update Android Support library to 23.2.0 using Android SDK. and don't forgot to add  compile 'com.android.support:design:23.2.0' as depandancy in your app level build.gradle file.   By attaching a   BottomSheetBehavior   to a child   View   of a   CoordinatorLayout   (i.e., adding app:layout_behavior="android.support.design.widget.BottomSheetBehavior" ), you’ll automatically get the appropriate touch detection to transition between five state: STATE_COLLAPSED: this collapsed state is the default and shows just a portion of the layout along the bottom. The height can be controlled with the app:behavior_peekHeight attribute (defaults to 0) ST

ANDROID MATERIAL DESIGN (Bottom sheets) - 5

this article is deprecated read new  ANDROID MATERIAL DESIGN Support 23.2.0 (Bottom Sheets) - 6  with official Bottom Sheet  implementation from Android Design Support Library(23.2.0) A bottom sheet is a sheet of material that slides up from the bottom edge of the screen. Bottom sheets are displayed only as a result of a user-initiated action, and can be swiped up to reveal additional content. A bottom sheet can be a temporary modal surface or a persistent structural element of an app.   There are two major types of bottom sheets: Modal bottom sheets  are alternatives to menus or simple dialogs. They can also present deep-linked content from other apps. They are primarily for mobile. Persistent bottom sheets  present in-app content. Elevation distinguishes modal from persistent bottom sheets. Modal bottom sheets rest at a higher elevation than the app’s content; whereas persistent bottom sheets rest at the same elevation as the app and integrate with its content. b