Hey guys!
I've managed to partially solve this conflict. I say partially because I
had to download the compiled CN1 project's sources to do so but I've
managed to build the app with both the Facebook login and parse4cn1
included. I'll walk you through my solution and let's see if you can help
me automate the solution.
1. I downloaded your parse4cn1.cn1lib file and opened it with winrar
2. I accessed the nativeand.zip file and removed the
bolts-tasks-1.4.0.jar file
3. I took the parse4cn1.cn1lib file and put it in my lib folder on my
codename one project and hit the refresh libs option.
4. Compiled the app for Android
5. Since I have a Pro account, I downloaded the project's native sources
and opened the project with Android Studio.
6. I added the bolts-tasks-1.4.0.jar back into the libs folder of the
Android Project.
7. I replaced the following dependency:
compile 'com.facebook.android:facebook-android-sdk:4.7.0'
on the build.gradle file with the following:
compile ('com.facebook.android:facebook-android-sdk:4.7.0'){ exclude
module: 'bolts-android' }
8. Clean and Rebuild the project and it's now running on my Android
Device
This solution is working right now but it seems as this process could very
possibly be automated in the build server so on the plugin side would just
be like a build hint or something we could set up or something of that sort.
Please let me know what you think about this solutiong.
Thanks in advance!
On Monday, September 25, 2017 at 11:21:23 PM UTC-5, Shai Almog wrote:
>
> Hi,
> if you would use native facebook login how would you resolve this?
>
> I would just forfeit the builtin facebook login support and try to
> integrate Facebook as a cn1lib in a way that doesn't conflict with parse.
> Moving forward I think implementing support for social networks as cn1libs
> is probably a better direction than the one we took
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/9608fb73-633c-4ddd-ad53-0f5f9a103bfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.