Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin is not compiling #3

Closed
PiotrWpl opened this issue Oct 1, 2018 · 11 comments
Closed

Plugin is not compiling #3

PiotrWpl opened this issue Oct 1, 2018 · 11 comments

Comments

@PiotrWpl
Copy link
Contributor

PiotrWpl commented Oct 1, 2018

Hi,

I just tried to use yours plugin, but unfortunately I'm getting error every time I'm try to run a project with it.

* Where:
Script '/Users/piotrw/Library/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 210

* What went wrong:
A problem occurred configuring project ':parse_server_sdk'.
> Could not find method debugProvided() for arguments [file collection] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

I'm not sure, but from what I see in workspace with my IDE, and when I download whole archive from https://pub.dartlang.org/packages/parse_server_sdk#-versions-tab- there is lack of /android and /ios directories for this plugin. And You have those directories in your project on github. Maybe this is the reason of this error?

Could You take a look on that? Thanks in advance, and greetings!

@PiotrWpl PiotrWpl changed the title Plugin not compiling Plugin is not compiling Oct 1, 2018
@phillwiggins
Copy link
Member

phillwiggins commented Oct 1, 2018 via email

@PiotrWpl
Copy link
Contributor Author

PiotrWpl commented Oct 1, 2018

Thanks for such a fast response. I'm looking forward for an update!
Cheers

@PiotrWpl
Copy link
Contributor Author

Hi! Sorry for asking, but any progress on that? Thanks!

@phillwiggins
Copy link
Member

phillwiggins commented Oct 10, 2018 via email

@PiotrWpl
Copy link
Contributor Author

Thanks for answer 👍But to be honest, are more interested in this compile issue, because in my project I'm using only email authentication from Parse.
Thanks!

@phillwiggins
Copy link
Member

phillwiggins commented Oct 10, 2018 via email

@PiotrWpl
Copy link
Contributor Author

PiotrWpl commented Oct 11, 2018

I have simply copied the library files to a package within my project and all
is working.

Ok, I used this method. But I was also needed to do some changes in files to make Users functionality works. And maybe I have other possible solution for this compile issue. Will check that later (probably tomorrow), and then I will create proper pull request for this one issue, and others I had found.

Cheers

@phillwiggins
Copy link
Member

phillwiggins commented Oct 11, 2018 via email

PiotrWpl added a commit to PiotrWpl/FlutterParseSDK that referenced this issue Oct 12, 2018
@PiotrWpl
Copy link
Contributor Author

I did some tests today, and removing
flutter: plugin: androidPackage: com.purewowstudio.parse_server_sdk pluginClass: ParseServerPlugin

is fixing compiling issue from this task.
And this make sense, because Yours sdk is 100% based on http requests to Parse, so we don't need to have those native SDKs. I also removed dart "path" dependency, because (from what I see) You are not using it in this project.

@phillwiggins
Copy link
Member

phillwiggins commented Oct 12, 2018 via email

@phillwiggins
Copy link
Member

Okay, so I've moved my current work back onto master. There's a lot of changes, and I have included your work.

Let me know if this causes any issues. The query builder is a mess at the moment but it's just me working through the logic. I'm guessing QueryBuilder will be moved up a futher level of abstraction so that uses can query multiple fields. It's a work in progress at the moment

phillwiggins pushed a commit that referenced this issue Jan 31, 2019
@pastordee pastordee mentioned this issue Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants