A major feature of Outboard, my iOS app
written with ClojureScript on React Native,
is the ability to add places to your lists from a share extension inside
Apple’s Maps, Google Maps, Yelp, or other apps that supply URLs. React Native
ships with
AsyncStorage,
a LocalStorage analog for iOS and Android apps, but on iOS, that data is
sandboxed to the app alone. To share between an app and an extension, you need
to use App Groups,
and roll your own persistence layer to interact with it. In this article, I’ll
explain how to do that. You should first have an App Group set up on the
developer portal and have an entitlement to it added both your app and its
extension; you can follow this guide
to get to that point.
Continue reading
In part one
and part two
of this series, we looked at how to build a ClojureScript environment that
we can deploy to AWS Lambda and the API Gateway that will respond to the outside
world as a web service. With that done, today we’ll see how to go about
deploying it.
Continue reading
One of the common synonyms for “serverless” is “Function as a Service”:
there is a place in the cloud that we upload a function to, and it runs
when some event is triggered. Web services are easily modeled as
functions in Clojure/Script, so that’s how we’re going to set ours up.
Continue reading