phonegap / phonegap-roadmap

Upcoming milestones and projects for PhoneGap
4 stars 6 forks source link

Research CSDK Web SDK #178

Closed macdonst closed 7 years ago

macdonst commented 7 years ago

The CSDK team has recently released a web sdk that can do client auth, user auth, image editor and asset browser. The question is can the web sdk replace the plugin work we've already done.

purplecabbage commented 7 years ago

I played with this, but I was not able to get it to work inside of a phonegap app. The documentation claims that any site embedding their components needs to use ssl, which is not possible within phonegap, although I do not know for certain that this is what blocked me as all I saw was an error that stated 'Check you configuration'

macdonst commented 7 years ago

I talked to Ari Fuchs the PM for the web portion of the CSDK and indeed as the docs say only https is supported at this time. I mentioned how important it is to be able to test locally and sited the ServiceWorkers API as having an exception where http will work on localhost. He added a task to their Trello board to discuss being able test locally for a future release (localhost and file://).

So besides not being able to use the web CSDK in PhoneGap apps for the above reason the UI is also not optimized for mobile. For the time being the best way for hybrid apps to use the CSDK will continue to be the plugins we developed.