def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
def plugins = new Properties()
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
if (pluginsFile.exists()) {
pluginsFile.withInputStream { stream -> plugins.load(stream) }
}
plugins.each { name, path ->
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
include ":$name"
project(":$name").projectDir = pluginDirectory
}
as it is done here:
https://github.com/flutter/flutter/blob/master/examples/platform_channel/android/settings.gradle
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
--
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
This change IS breaking...as it breaks one of my key files:Followed the instruction and after a clean rebuild, it works again.Hope there won't be such drastic changes without a proper notice!
--
Ian Hickson
😸
#import "PathProviderPlugin.h"
#import "UrlLauncherPlugin.h"
are not found. Do you know how to add them to xCode?
Thanks,
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi, under xCode I have the error that#import "PathProviderPlugin.h"
#import "UrlLauncherPlugin.h"
are not found. Do you know how to add them to xCode?
Thanks,
On Wed, May 10, 2017 at 4:15 PM, Ian Hickson <i...@hixie.ch> wrote:
On Wed, May 10, 2017, 3:20 AM Taylor Ren <taylo...@gmail.com> wrote:This change IS breaking...as it breaks one of my key files:Followed the instruction and after a clean rebuild, it works again.Hope there won't be such drastic changes without a proper notice!Our goal is to greatly reduce the number of such changes going forward. We've been making a of changes recently specifically to resolve the issues we know are outstanding.In general going forward you should expect that only features that are relatively new will risk being broken, anything that has existed for a while should be stable.We beg for your indulgence as we adapt to this new regime!----
Ian Hickson😸
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
--
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
I can see the install phase but it doesn't look like the path_provider and url_launcher are in the list of deps?
+1 ms] Creating service definitions manifest at 'ios/ServiceDefinitions.json'
[ +192 ms] Found plugin path_provider at /Users/lefty/.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.0/
[ +74 ms] Found plugin url_launcher at /Users/lefty/.pub-cache/hosted/pub.dartlang.org/url_launcher-0.4.1/
[ +53 ms] pod --version
[ +725 ms] pod --version
[ +433 ms] Exit code 0 from: pod --version
[ ] 1.2.0
[ +5 ms] Running pod install...
[ +1 ms] [ios/] pod install
[+5027 ms] Analyzing dependencies
Downloading dependencies
Using Firebase (3.13.0)
Using FirebaseAnalytics (3.7.0)
Using FirebaseAuth (3.1.1)
Using FirebaseCore (3.5.0)
Using FirebaseDatabase (3.1.2)
Using FirebaseInstanceID (1.0.9)
Using GTMSessionFetcher (1.1.8)
Using GoogleToolboxForMac (2.1.1)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 3 dependencies from the Podfile and 8 total pods installed.
[ +15 ms] Running Xcode build...
Did you open Runner.xcworkspace in Xcode?If you did, could you try running 'flutter -v build ios', and verify that it runs a 'pod install' step? That should get the plugin pods added to the workspace, so the headers are available.If you opened Runner.xcodeproj, then open the workspace instead.
ons. 10. maj 2017 kl. 16.27 skrev Christian Rivasseau <chri...@lefty.io>:
Hi, under xCode I have the error that#import "PathProviderPlugin.h"
#import "UrlLauncherPlugin.h"
are not found. Do you know how to add them to xCode?
Thanks,
On Wed, May 10, 2017 at 4:15 PM, Ian Hickson <i...@hixie.ch> wrote:
On Wed, May 10, 2017, 3:20 AM Taylor Ren <taylo...@gmail.com> wrote:This change IS breaking...as it breaks one of my key files:Followed the instruction and after a clean rebuild, it works again.Hope there won't be such drastic changes without a proper notice!Our goal is to greatly reduce the number of such changes going forward. We've been making a of changes recently specifically to resolve the issues we know are outstanding.In general going forward you should expect that only features that are relatively new will risk being broken, anything that has existed for a while should be stable.We beg for your indulgence as we adapt to this new regime!----
Ian Hickson😸
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
----
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
----
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
----
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Ian Hickson
😸
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
is this on iOS or Android?
I have also added the line (but plugin still not found):
GeneratedPluginRegistrant.registerWith(this);
On Saturday, June 3, 2017 at 11:00:41 PM UTC-5, Joel Trunick wrote:I have this issue as well, did you figure out how to resolve?Joel
// FlutterDartProject* project = [[FlutterDartProject alloc] initFromDefaultSourceForConfiguration];
// self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];