jeff-zucker / solid-file-client

A Javascript library for creating and managing files and folders in Solid data stores
MIT License
55 stars 18 forks source link

solid-file-client SDK for Android #96

Open Leoudayan opened 4 years ago

Leoudayan commented 4 years ago

Hi Jeff,

Thank you for your excellent work on solid-file-client. Is it possible for you to create a SDK version of solid-file-client for Andorid? It will be really cool if you could have a mobile version of it. This will open doors for countless number of mobile applications that making use of solid. Sorry for highlighting this as an issue, i dont know how to communicate with you differently. Please close this issue once you read it.

Thanks

Mano

Otto-AA commented 4 years ago

solid-file-client is basically a wrapper for solid-auth-client which makes working with files on pods easier. It doesn't handle authentication (login, sending authentication headers, etc) itself, but forwards this to solid-auth-client. So to have a SDK version of solid-file-client a SDK version of solid-auth-client (or similar) seems necessary to me.

It will be really cool if you could have a mobile version of it. This will open doors for countless number of mobile applications that making use of solid.

I know it may be limiting, but have you tried websites on mobile (ie PWA) and/or using Apache Cordova where you can use js and native functions? To me this seems like a good bridge in the meantime, but I'm unfamiliar with mobile apps.

Leoudayan commented 4 years ago

Thank you for your reply. I tried chrome custom tabs but unable to access the cookies of solid login (quite complex authentication they have in place). For now i am forwarding login details to a server based web app which uses the solid auth client to login and store data into a SOLID pod from the mobile phone. If a SDK version of solid-auth-client is provided, then it will remove need for a web app.

scenaristeur commented 4 years ago

@Leoudayan why don't you use webapp instead of native Android ? They can also be installed as app & provide a lot of native functions, like GPS, camera... See https://scenaristeur.github.io/agora/ for example...