The iOS SDK has been updated with new features and fixes for many issues. Most notably: support for non-json formats (all types supported by Blockstack.js are now supported on iOS), encryption of files, and multiplayer getFile support.
Added
-
Blockstack.getFile
with parameters username, app, and zoneFileLookupURL. Blockstack.lookupProfile
Gaia.getUserAppFileURL
-
Blockstack.promptClearDeviceKeychain
to reset the user’s local storage for auth. - Descriptive comments that work with Xcode Quick Look
Changed
- Non-JSON formats in getFile and putFile, specifically “text/plain” and “application/octet-stream” content types.
-
Profile
object now includes an “apps” property. - Various fixes around sign in/sign out with the sample app.
- The sample app now showcases multiplayer get, along with encrypted putFile and getFile.
-
Blockstack.signOut
now just signs the user out and clears state for the current application.
Give it a whirl! Comment here with feedback, file an issue on github 2, and say hi on Slack! Look out for our next release, v0.4.0, in a couple weeks!