Comments (8)
For now - yes.
from flutter.
I suspect it means Working As Intended.
I'd like to understand will declarative style be supported by modules later?
It will be when someone contributes it.
from flutter.
After Migrating flutter module to use declarative plugin style.
@sahilsmartq Can you provide the same files details before migrating ?
You can also try to create a new flutter app and then compare the respective files with the one you migrated in, to compare if anything is missing or need to be updated in your current setup.
from flutter.
These instructions do not work for add-to-app projects.
from flutter.
This was the file before migration. It is working in flutter app but once we add it to existing app it is not letting me to run the android or iOS build.
settings.gradle
include ':app'
include ':GraphyView'
build gradle (project)
buildscript {
ext.kotlin_version = '1.7.21'
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
classpath 'com.google.gms:google-services:4.3.14'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenCentral()
google()
}
}
build.gradle (app)
plugins {
id 'com.google.secrets_gradle_plugin' version '0.6'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'kotlin-kapt'
android {
bundle {
language {
enableSplit = false
}
}
packagingOptions {
resources {
excludes += ['META-INF/DEPENDENCIES', 'META-INF/INDEX.LIST', '/META-INF/{AL2.0,LGPL2.1}']
}
}
signingConfigs {
.....
}
flavorDimensions = ["default"]
compileSdk 34
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId 'com.workable.graphy'
minSdkVersion 22
targetSdkVersion 33
versionCode 3
versionName '1.0'
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
}
buildTypes {
.....
}
productFlavors {
...
}
buildFeatures {
dataBinding true
}
compileOptions {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
kotlinOptions {
jvmTarget = "1.8"
}
lint {
checkReleaseBuilds false
}
namespace 'com.workable.graphy'
}
dependencies {
implementation project(":GraphyView")
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':flutter')
.....
}
repositories {
mavenCentral()
}
from flutter.
These instructions do not work for add-to-app projects.
Then For addToApp do we need to follow older imperative style only?
from flutter.
Closing as this is not an issue, but WAI.
from flutter.
@darshankawar Hi, sorry for a stupid question, but what does WAI mean?) I have the similar problem and I can't add flutter module to my native android project, because my native app doesn't support imperative style modules. I'd like to understand will declarative style be supported by modules later?
from flutter.
Related Issues (20)
- the modal dialog or sheet is not centering properly when called from within a ShellRoute in a Flutter app HOT 2
- Webview does not take the keyboard focus HOT 3
- Flutter is developed in modules, and each module can run independently HOT 27
- go_router is catching app links twice on Android HOT 13
- "Black screen of death" when resuming Flutter app on Android after several minutes in background HOT 32
- Is it possible to render a Fragment Shader asynchronously? HOT 4
- Config autovalidateMode: AutovalidateMode.onUserInteraction not work when focus textformfield HOT 2
- [tool_crash] FileSystemException: Creation failed, OS Error: The system cannot find the file specified., errno = 2 HOT 2
- Flutter Web engine removes query parameter encoding HOT 2
- InkWell highlight not working HOT 1
- Navigator without transitions not working HOT 7
- [tool_crash] ProcessException: Process exited abnormally with exit code 72:xcrun: error: unable to find utility "xcodebuild", no
- mac-23 & mac-26 lost external connection phone device. HOT 2
- linux-58 is dead. HOT 2
- mac-8 lost external connection phone device. HOT 2
- mac-2 is low on disk space. HOT 2
- mac-7 & mac-37 lost external connection phone device. HOT 2
- mac-6 is low on disk space. HOT 2
- linux-51 is dead. HOT 1
- [cocoon] Broken builds navigate to builders, not the broken build HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.