Playing around with something on an old Android tablet for fun, and is there seriously nothing like NSUbiqKeyValueStore/CKSyncEngine/CloudKit on Android? Like, you can't cloud sync app preferences between devices? You have to add hidden folders to Google Drive with popups? 😵💫
@layoutSubviews I have no idea what that means but I’m allergic to making users sign into something just for basic preference syncing
@christianselig I was referencing the “everything is a file” philosophy.
But yeah, I didn’t understand what you meant by “pop up”, asking for authorisation every time is quite poor UX indeed.
@layoutSubviews Ohhh gotcha. Yeah I have no problem with it being a file I just want to be able to write basic stuff to it without the terrible UX ;_;
@christianselig no not really, only really have that for Android -> Wear OS. the only exception is games where all that is handled by Google Play Games.
@sladew how do people use this platform
@christianselig funnily enough, i primarily use Android and even i can’t answer that. i think there’s stockholm syndrome involved 😭
@christianselig I think the common way might be Google Firebase
@chucker I don't think you get access to that automatically/without showing the user a pop up?
@christianselig I _think_ you just add it as a dependency, and then you (the app developer) need to supply an API key.
Which does mean hardcoding that API key into code the users see. I’m not sure that part is avoidable without authentication.
@chucker Firebase still requires some form of manual auth to connect multiple devices (eg sign in with google)
@christianselig Yeah, I work on both platforms and Android has a lot of little things like that which one may take for granted on iOS.
One of the bigger surprises for me was that Android has no concept of provider-agnostic system mail, calendars, or contacts… apps generally assume the user has Google apps installed for those things.
@christianselig I wish Apple had full REST API for CloudKit which would enable native SDKs for non-Apple platforms
They can keep requiring Apple account if they want
Currently there is server REST API for CK public database, and JS API for web UIs for full CloudKit, but these are not sufficient
@jaanus @christianselig I thought the REST API let you use a user authentication if you provided the right token… does that not work as described?
@amyworrall @christianselig ah I haven’t actually tried that one, it looks alright
So I guess you can use either the web services API or JS API to access CK in the context of authenticated user
@christianselig one would say this is closer to the Unix philosophy?