You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library should be available over maven/jcenter repositories
library should be ready for including as a submodule into bigger projects:
no hardcoded version of minsdk or targetsdk, or build tools. all those things should be defined over the variables, that is quite easy to override on root project;
expected lower compatibility API (at least API 14)
If I find a free time I will create a fork and a pull request with those changes...
Why do you need a custom license for a SDK?! if other companies like facebook, mixpanel, etc. is absolutely ok to publish own sdk with available licenses, why flip is so different?!
P.S. how i know you can simply include LICENSE file into project and it will become the "source of truth" for developer (it can be different to the license that maven repository is publishing)
Thanks @OleksandrKucherenko but I'm getting this error when referencing your fork:
Error:Module 'io.flic:sdk:1.0.1.24' depends on one or more Android Libraries but is a jar
Could it be that it references something not needed? (if so I could exclude it if you tell me what it might be). It would also be great if you could update to latest stable Android support versions, targetSdk 25 etc.
@Emill Perhaps it's possible today? What custom license is it that you want to use? It would be very useful for all developers if you could make it available somewhere online so we don't have to reference a lot of files locally as today. Thanks in advance! :)
I use the latest sdk/api/build tools in my "pull request". any way it should not be a problem to change the variables in gradle.properties to "shift" sdk to needed API level or support lib version.
@Emill Isn't there some other way you can solve the problem? I really don't wanna reference source code (via a module) as it is now.
@OleksandrKucherenko I added @aar and gradle sync works but I'm getting runtime errors when trying to access FlicManager. When referencing their source and importing a module everything works fine, but I rather only have a dependency like yours. Isn't there something more than just adding your dependency that is necessary?
@ripern should work without any problems. You just need to confirm that binary attached to a correct configuration in gradle. Than check the dependencies:
Which worked for me (but does not really solve the problem with not having "real" version) was to use jitpack.
Here you would find all information required to add the latest commit on github as a gradle dependency: https://jitpack.io/#50ButtonsEach/fliclib-android
Activity
OleksandrKucherenko commentedon Nov 13, 2016
Please apply two pull requests (in order they placed here):
As result you will get more ready for integration library than ever before. Enjoy!
After that I will be able to finally try SDK as a part of our integration project.
ripern commentedon Dec 25, 2016
Have you gotten any response from Flic outside here or is this already solved? I was looking for a jcenter dependency.
Emill commentedon Dec 25, 2016
The problem we had with bintray was that you couldn't select a custom license...
OleksandrKucherenko commentedon Dec 28, 2016
Why do you need a custom license for a SDK?! if other companies like facebook, mixpanel, etc. is absolutely ok to publish own sdk with available licenses, why flip is so different?!
P.S. how i know you can simply include LICENSE file into project and it will become the "source of truth" for developer (it can be different to the license that maven repository is publishing)
OleksandrKucherenko commentedon Dec 28, 2016
@ripern I publish artifact from my own fork in jcenter repository, so you can use my fork as a temporary solution, until the merge is complete.
OleksandrKucherenko commentedon Dec 28, 2016
@Emill
I hope you saw that you can request a custom license in Web UI ?
ripern commentedon Dec 29, 2016
Thanks @OleksandrKucherenko but I'm getting this error when referencing your fork:
Error:Module 'io.flic:sdk:1.0.1.24' depends on one or more Android Libraries but is a jar
Could it be that it references something not needed? (if so I could exclude it if you tell me what it might be). It would also be great if you could update to latest stable Android support versions, targetSdk 25 etc.
@Emill Perhaps it's possible today? What custom license is it that you want to use? It would be very useful for all developers if you could make it available somewhere online so we don't have to reference a lot of files locally as today. Thanks in advance! :)
Emill commentedon Dec 29, 2016
The license shouldn't be added to bintray's public license list since it's only applicable to us.
This is the license: https://github.com/50ButtonsEach/fliclib-android/blob/master/LICENSE.txt
OleksandrKucherenko commentedon Dec 30, 2016
@ripen
you can try several tricks:
Example:
I use the latest sdk/api/build tools in my "pull request". any way it should not be a problem to change the variables in gradle.properties to "shift" sdk to needed API level or support lib version.
ripern commentedon Jan 9, 2017
@Emill Isn't there some other way you can solve the problem? I really don't wanna reference source code (via a module) as it is now.
@OleksandrKucherenko I added @aar and gradle sync works but I'm getting runtime errors when trying to access FlicManager. When referencing their source and importing a module everything works fine, but I rather only have a dependency like yours. Isn't there something more than just adding your dependency that is necessary?
OleksandrKucherenko commentedon Jan 16, 2017
@ripern should work without any problems. You just need to confirm that binary attached to a correct configuration in gradle. Than check the dependencies:
seanvia commentedon Jan 26, 2017
👍 for this request. Waiting for this before integrating to my production use.
ripern commentedon Feb 6, 2017
@Emill Isn't there some other way you can solve the problem? I really don't wanna reference source code (via a module) as it is now.
Haves1001 commentedon Aug 13, 2017
Which worked for me (but does not really solve the problem with not having "real" version) was to use jitpack.
Here you would find all information required to add the latest commit on github as a gradle dependency: https://jitpack.io/#50ButtonsEach/fliclib-android